Question Locked

Copy XP setup files to USB from DOS prompt

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a HP laptop with no CDROM, no Floppy drive. I can boot with the USB stick but the notebook HDD appears as a slave drive (D:drive instead of C:\drive). I tried installing winxp but doesn't boot with the laptop's own HDD, it shows "missing file" error messages. How do I copy the installation files from my flash to the laptop's HDD on DOS?

13 replies

by thevirtualone

YOU can't.

How did you get the installation files from cd to your usb? If you have access to a working tower and have just a little patience, yeah

I BEEN WALKIN' THE STREETS AT NIGHT
JUST TRYIN' TO GET IT RIGHT
HARD TO SEE WITH SO MANY AROUND
YOU KNOW I DON'T LIKE
BEING STUCK IN THE CROWD
AND THE STREETS DON'T CHANGE
BUT BABY THE NAME
I AIN'T GOT TIME FOR THE GAME
'CAUSE I NEED YOU
YEAH, YEAH, BUT I NEED YOU
OO, I NEED YOU
WHOA, I NEED YOU
OO, ALL THIS TIME **

"Guns and Roses"... sorry, got distracted. its also a little "thing" that I have going with some other members here at TR.... you'll see what I mean when the post get's more attention.

OK.. The easiest way for you to move data to this hd is to take it out and connect it to another machine.

here's the adapter that you'll need if you want to install it internally http://url.ie/6p2 it cost's around $13USD. you can also get it on ebay from China for $1USD + 3 weeks shipping....

the other way is to put it inside a usb2 enclosure, you can get those onebay for $3 plus shipping.

after this is done you can copy all the files to it that you want.

This will not solve your problem but it will accomplish the question that you asked.

the problem that you are going to have is that it still won't boot even with the installation files on the drive unless you format and designate the system as a system disk in fat32 and install DOS as well as the system files.

by rob miners

A couple of Q's.
What OS "Operating System" was on the Notebook to start with?
What OS is on the USB stick?

by gorenjc

First of all reed the post on TechRepublic boot from usb, which has a link to HP format tool, mybe you have this kind of problem.
I think tat must be FAT16 mybe fat32.

Werify the bios settings of your notebook (booting from usb)

and retry.

by tomburden

Try a search for '"motto hairu" DOS Driver'. This document has full instructions and it worked for me!

by snehal50samarpit

1) get a cd drive from ur freind & install it
in ur laptop.
2) Steal a cd drive from any cafe
3) sell ur laptop...to me in 1$. (best solution)
4) BreAK UR HEAD by striking it to a wall.
5) concentrate on your work to earn more money so that you could buy a new laptop

- yours faithfull
xxxxxxxxx

by thevirtualone

But we need to give you a nickname....

hal50
sam
armpit

Hal is already taken so you choose.

by rkuhn040172

Booting from the USB stick but instead of with XP try booting from the stick with something like BartPE or a Linux LiveCD. That should preserve your C: drive as the C: drive.

If the stick is big enough to hold both the LiveCD and an iso image of XP, you could mount the iso image and run the setup from there.

It would probably be painfully slow and the stick would have to be fairly large, but it could be done.

Really, you should just spend the cash for an external CD-Rom drive. You'll probably want or need one someday anyways. $50 maybe.

by rasbastas

1: Delete all partitions from your laptops hard drive using a Windows 98 boot disk.
2: Create two new partitions on the laptops hard drive.
3: Format the new partitions to Fat32
4: Copy your setup files to the last partition.
5: Disconnect the USB drive and reboot to the floppy disk you used to partition and format.
6: Using the dos prompt, go to the partition that you loaded the setup files on and start the setup.

by rob miners

If you are booting from DOS on the USB stick you will need to add a couple of files.

FDISK.EXE
FORMAT.COM
SYS.COM

Here it is your choice.

1. You can use Fdisk to blow away the Partition and recreate it. Recommended if it is NTFS.
2. Format the drive and add the System. EG: format d:/s Which will free up all space on the Drive.
3. You can use the Dos boot USB stick to transfer the 98 system files to D:
EG: sys d:

When you have made your choice.

Make a dir named I386 on the USB stick and copy the contents from your XP CD's I386 dir to it.

Boot the stick remembering that if you Repartition or Format you will have to re-boot before you can use the drive.

Copy the entire I386 directory from the USB stick to D:\I386

Re-boot the Notebook

All going well you should have a DOS Prompt.

Change directory to I386 and type in "winnt"

Follow the prompts.

You are going to have to find out what Chipset drivers, Graphics and whatever else you are going to need.

by rob miners

when you boot from a USB device it is automatically allocated c: drive. That is why your drive is showing up as D:

by merlin the wiz

Before I did anything else I would check the BIOS settings to verify the wiring to your hard drive. If your hard drive appears as drive "D" (HD1), what happened to drive "C" (HD0)? If it is in fact a slave drive, there is a jumper in the wrong place on the drive itself. With some laptop drives the jumper is a solder bridge. Either that or the internal cable to the hard drive is actually the cable for the CD drive. This should be checked. It has been my experience that since Windows 3.0 Microsoft Operating Systems prefer (require) the boot partition to be on the primary drive. You can install a multiple OS boot loader that will allow you to run Windows from ANY drive, ANY partition, but that is another subject. If as I suspect, the cable to the drive is incorrect, you should correct the cables. Before you open the case remove ALL power from the PC. Depending on the model of the laptop, there should be TWO batteries, the main power source and a CMOS battery.

Post # 11 has the proper steps to follow, if you can put a Windows 98 recovery floppy on your USB stick. IF you cannot get the required files for Windows 98, go to:
http://www.nu2.nu/pebuilder/ and download the latest version. Then go to the FAQ and follow the discussion to put it on a USB drive. Good luck.

This discussion is closed to new replies.