Thursday, November 29, 2007

Install Windows XP on the Asus Eee PC

Installing Windows XP on the Asus EEE pc using a single USB flash drive.


Please note this tutorial works on all computers not just the Asus EEE PC.
To complete this tutorial you need a 32bit version of Windows XP or Windows Vista installed on your home PC.

What you'll need:
USB_PREP8 (alternative download)
PeToUSB (alternative download)

Bootsect.exe (alternative download)
Special Note: If you use the program Nlite be sure to keep the manual installation files as the USB_prep8 script relies on these files.

Extract the files in Bootsect.zip
The next step is to extract USB_prep8 and PeToUSB.
Next copy the PeToUSB executable into the USB_prep8 folder.
Inside of the USB_prep8 folder double click the executable named usb_prep8.cmd.

The window that opens will look like this:



Press any key to continue

You next window will look like this:
These settings are preconfigured for you all you need to do now is click start.
Once the format is complete DO NOT close the window just leave everything as it is and open a command prompt from your start menu (type cmd in the search bar or run box depending on your version of windows.).

Inside of the command windows go to the directory you have bootsect.exe saved.
(use the cd directoryname command to switch folders)

Now type "bootsect.exe /nt52 R:" NOTE R: is the drive letter for my USB stick if yours is different you need to change it accordingly. What this part does is write the correct boot sector to your USB stick, this allows your PC to boot from the USB stick without it nothing works.
Please note: When running the bootsect.exe command you cannot have any windows open displaying the content of your USB stick, if you have a window open bootsect.exe will be unable to lock the drive and write the bootsector correctly.

If all went well you should see "Bootcode was successfully updated on all targeted volumes."

Now you can close this command prompt (don't close the usbprep8 one by mistake) and the petousb window.

You window you see now should look like this:

If it doesn't try pressing enter.

Now you need to enter the correct information for numbers 1-3.
Press 1 and then enter. A folder browse window will open for you to browse to the location of you XP setup files (aka your cdrom drive with xp cd in)
Press 2 and enter a letter not currently assigned to a drive on your PC
Press 3 and enter the drive letter of your USB stick
Press 4 to start the process.

The script will ask you if its ok to format drive T:. This is just a temp drive the program creates to cache the windows installation files. Press Y then enter.

Once it's done formating press enter to continue again, you can now see the program copying files to the temp drive it created. Once this is done press enter to continue again.

Next you will see a box pop up asking you to copy the files to USB drive yes/no you want to click yes.

Once the script has completed copy files a popup window asking if you would like to USB drive to be preferred boot drive U: select YES on this window.

Now select yes to unmount the virtual drive.

Ok we are done the hard part, close the usbprep8 window.

Now make sure your EEE pc is configured with USB as the primary boot device.
Insert your USB drive and boot up the EEE.

On the startup menu you have two options, select option number 2 for text mode setup.

From this point on it is just like any other windows XP installation delete/recreate the primary partition on your EEE pc and format it using NTFS. Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message.

Once the text mode portion of setup is complete it will boot into the GUI mode (you can press enter after the reboot if your too excited to wait the 30 seconds)

Once the GUI portion of setup is complete you will again have to boot into GUI mode this will complete the XP installation and you will end up at you XP desktop. It is very important that you DO NOT REMOVE THE USB STICK before this point. Once you can see your start menu it is safe to remove the usb stick and reboot your pc to make sure everything worked.

This method has advantages over all current no cdrom methods of installing XP to the EEE. You do not have to copy setup files in DOS to the SSD and install from there. It gives you access to the recovery console by booting into text mode setup, and it gives you the ability to run repair installations of XP if you have problems later on.

I hope this worked out for you and please post feedback to the comments section.
Please note due to the amount of comments this article has received you must now click on "Post a Comment" below the existing comments to view the most recent feedback in a popup window.

1361 comments:

Anonymous said...

Thanks !

THEREX said...

Multumesc!

means Thanks! :)

Anonymous said...

Really works for me ...

Anonymous said...

Sounds great!!!, but need more pics plz :)

Titi said...

Foarte misto, util si bun tutorialul. M-am chinuit 3 zile sa invat cum sa pun XP pe EeePC si singur nu am reusit sa ii dau de cap.

Multumesc mult pentru acest tutorial; Merge brici si eee simplu.

gbpdem said...

Hi there, tried it but when attempting to boot into GUI, keeps getting "missing or corrupt hal.dll" error message.
Tried many times still getting into that same loop.
Followed steps here also futile http://pcsupport.about.com/od/fixtheproblem/ht/restorehaldll.htm


In the end I had to pull the usb stick out and got new error message "ntldr missing" and could not boot so had to do a reset.

Even tried to use cdrom plugged into EEE usb port to install but the ntldr refuses to go away and it basically hung.

Any ideas please?

Fahad said...

I have the same problem as gbpdem..
the file hal.dll is missing and even after formatting the drive and to begin copying installation files, it prompts to restart.

Any idea?!

Nick said...

Yes you need to make sure the USB device is set as the first boot device in your bios under the hard drive section. that should fix the problem you two are having.

Fahad said...

Thanks Nick for the quick reply,,
It is set to boot first,, but still encountering this issue many times!!

Nick said...

Fahad: recreate your USB stick and make sure bootsect.exe writes the correct boot sector to the USB drive with no errors. A failed bootsector write is the only instance I've experienced the problem you're describing.

Fahad said...

Nick,
I dont have any issue booting from the my USB flash,,

The only problem i face every time is:

After my laptop boots from the USB and displays the options, i choose 2nd (TXT) and then it displays the blue installation screen, i choose the fresh windows installation option, check the right partition, and then it prompts for formatting, after format is complete, it should copy the installation files right now,, THIS IS THE ISSUE, it doesnt know where are the files and dislplays can't find installation files retry or restart,,

So i dont know what to do, any idea?!
I dont have usb cdrom, and i need to get my laptop up & running,,


Thanks Nick

Nick said...

Yes Fahad I do understand the problem you are having. What I told you to do last time is still the solution. The boot sector currently written to your USB device does allow you to boot to text mode setup which is basically DOS but you do not have the correct boot sector written to boot into NT which is the second portion of setup, windows setup does not write this boot sector because it is already supposed to exist. Recreate your usb stick like I said in my previous post.

Fahad said...

You know Nick, i did what you said exactly all over again and the process is correct coz it displays "Bootcode was successfully updated on all targeted volumes"

Again, it boots but ends up with the same issue again displaying the following
"Setup cannot access the CD containing the windows XP installation files.
To retry, press ENTER, if you are not successful after serveral tries, quit setup....ect"

Now, it might not have the boot sector for NT!!
I was check screen after format is done, after that at the bottom of the screen it displays "Checking C: drive" and i think the USB that has the files been granted the letter U:


is there any way to check this out?! i am really confused :((

Nick said...

Fahad, when you last ran bootsect did it display this message above the one you sent me? "Updated FAT filesystem bootcode. The update may be unreliable since the
volume could not be locked during the update:
Access is denied." because if that message displayed it means it was not written correctly. This is the only time I've had the problem you're discribing. Sorry I can't be of more help but there is no reason why you should be having this problem.

Fahad said...

No, it didnt display what you mentioned,,

it was successful,
"Bootcode was successfully updated on all targeted volumes"

I guess to solve this issue, after format is accomplished, we need to point system to copy the files from the flash which is set to U:\,, instead of looking for C:\ which has no installation files on it.

if you can help, otherwise, i really appreciate your prev. answers

Thanks

Nick said...

Fahad: try this method you may have more success http://forum.eeeuser.com/viewtopic.php?id=1888
be sure to read through all the posts it is much simpler to do than the first entry indicates.

gbpdem said...

"Fahad: I guess to solve this issue, after format is accomplished, we need to point system to copy the files from the flash which is set to U:\,, instead of looking for C:\ which has no installation files on it."
Fahad you may be right there

Nick, I copied my hal.dll and NTLDR files from a working XP into the \windows\system32\ on the eee, as well as trying bootcfg /rebuild, fixboot etc

Nothing works.

By the way, is there any difference between setting the installation to start or finished in the bios?

I tried both with the same result.

Anonymous said...

Excellent advice. It worked for me first time.

The initial 'cmd' selection of drives didn't seem to want to work for 10 minutes, but then suddenly did as was expected after I'd selected options 1-3 quite a few times.

I've got 1.91Gb of space left too!

Thank a lot as I need this to use at work and openoffice impress doesn't show the slides in the same way as PP.

Anonymous said...

Do you need a multiple-license copy of XP do do this, or does it work with a regular home edition and 1 product/activation key?

Nick said...

You do not need a Volume License Key to use this tutorial.

Anonymous said...

After 3 day's of testing I finally managed to make it work.

I used the Windows XP SP 1 and (King Max 1 GB Memory Stick ) then I've made an update to windows and got SP2 and all the updates, it works much faster with SP 1 but less security :(

I've tried to use XP with SP2 but I received many of the problems mentioned above so I've got an XP SP1 and all went well.

Nice Post!

PyturcaVL

Anonymous said...

Your guide worked great! I installed it on my new 8G and I have room to spare! The only problem is that I can't get my sound to work. I've tried all the drivers on the ASUS DVD, but Windows XP still can't find it. :(

Anonymous said...

Done exactly as said, get this message after booting from USB

"...biosinfo.inf could not be loaded. The error code is 14
Setup cannot continue. Press any key to exit"

DuKe_GR said...

I think that, all you have problems booting after install having a message about the hal.dll file, you have earlier bios than 0401.
Please upgrade bios and retry.
I had problems with 8804 bios as the setup was writing the mbr of win at the sd card and i couldn't boot after removing the card having the hal.dll message...

Ben said...

I keep getting to this section

"If all went well you should see "Bootcode was successfully updated on all targeted volumes."

But the window doesn't change even after pressing enter. The numbered options are not there.

Please help.

ZBozicevic said...

I had the same problem as Fahad and I solved it - there were 4 partitions on th eeePC hard drive. I've deleted all of them and created only one. Setup worked fine after that.

Thanks for a great tutorial!

ZBozicevic said...

Ben, I think that that you have this problem because you haven't closed PeToUSB - you need to clese it, but leave the command window open.

erick61405 said...

After typing 4 then enter. it begins the gives me an error "Falied to open file 'tempimage.img' Please input path:" and then im stuck dont know what to do next

Ben said...

Mine says "File creation error - Error performing inpage operation." For loads of the files. I let it finish and do the other steps but it doesn't work.

Alex BANH said...
This comment has been removed by a blog administrator.
Cell said...

Anonymous said...

Done exactly as said, get this message after booting from USB

"...biosinfo.inf could not be loaded. The error code is 14
Setup cannot continue. Press any key to exit"


i have the same problem
i solved it by copying the biosinfo.inf from my CD to the usb stick
i reached the blue XP Setup screen, but there are other files missing (after copying some i can't get on because of the file ntkrnlmp.exe - i don't know where to copy it (can someone tell me the root directory for the setup process?) )
i think i and the other guy are having this problems because we are usign a XP version modified with nLite, but i can't check it out atm because i have only a 512mb USB stick
it would be great if someone else could try to use this methode with a modified XP version

Nick said...

This tutorial is not for nlited installations. I will post another tutorial for nlited installations later.

Anonymous said...

Hi can you upload the file to another site. unable to download bootsect.zip thx

Cell said...

thank you, nick

i have uploaded the 3 files:
http://rapidshare.com/files/77140824/WinXPUSB.rar.html
just klick [Free] and enter the code in the box

Nick said...

Thanks cell

I checked the downloads and both the primary and alternative downloads still work for me.

Cell said...

i found out that the real problem isn't nLite, but that i was using a HP_OS_RESTORE - version of Windows
Maybe you cold mention that your methode works only with a "real" XP CD, nick

renwklo said...
This comment has been removed by the author.
renwklo said...

Those who got hal.dll problem is because you boot from the harddrive after you finish the partition and copy files procedure.
You should boot into the usbstick again and select option 2, boot to GUI install.

Anonymous said...

I have the same problem as gdpdem & fahad - i.e. "missing or corrupt hal.dll". I am trying an install on a regular PC with PATA drives.

... renwklo, this problem is not because we're booting off the HDD.
Booting off the USB thumb drive, doing 1. text mode, everything OK, then rebooting, selecting 2. gui mode, and up pops the hal.dll thang.

Any progress?

Nick said...

This is from the usb_prep help file:
b. Mixed Config of SATA / PATA Harddisks
In this case you have to change the computer SATA / PATA configuration (unplugging) such that
the C-drive is recognised as belonging to the Harddisk on which you want to Install XP
If during TEXT MODE your usb Drive is listed first when SETUP searches for disks ,
above SATA/SCSI disks, disable in BIOS IDE channels including the ones with CDROM/DVD attached
or disconnect them, this should fix the order.
Do not continue install if USB-Drive is listed first, this will corrupt files and MBR on it.

I don't have a pata drive so I can't test this for you, good luck.

Anonymous said...

the method works for me after 3 times!!.
- after plugin your USB, start and go to BIOS. Put the USB as the first device for boot: it should be made in two different BIOS options: boot order and HD order.
- be sure to delete ALL partitions to get only one partition in NTFS format.

Before that I have received failures of hall.dll and other missing files.
Hope it helps,

Gergely said...

Hi,

I have Vista 64-bit and the usb_prep8 crashes with 'failed to create virtual drive - driver blocked from loading'. Any solution for 64-bit systems?

Gergely

Nick said...

Gergely: the virtual drive portion of usb_prep is not compatible with 64bit operating systems, you'll have to use a 32bit system to do it, perhaps install 32 bit XP on a virtual machine and use that.

Gergely said...

OK, I managed to create the image using a colleague's PC. Thanks for the tutorial!

Gergely

Zach said...

After I follow the first several steps and get to the window where I select 1 to choose the Windows XP source path, I always get the same error message: "The path xxx does not contain Windows XP Source Files."

This is always after I follow your nLite instructions with an XP SP2 cd. I don't get the error when I use the cd without doing nLite first, but I don't want to have to go with such a bloated install.

Is this a problem specific to SP2?

Thanks.

Nick said...

Zach: This tutorial is for a full installation of XP it doesn't work for nlited installations because files the script is expecting to be there aren't anymore.

Robert said...

Hi,

I have followed all the instructions and it seems to be working fine. However, I cannot boot my computer without having the usb in the usb slot. I have changed the boot order in the bios and when I try to run it from the hard disc, it says: Failed to startup. Press Ctrl+Alt+Del to restart.
Anyone has an idea why this is happening and how it can be fixed? Thank you.
Best regards,
Robert
PS:I hope it is not related to the MBR

Anonymous said...

Robert, be aware there are two options in the BIOS. 1: Boot Device Priority, 2: Hard Disk Drives.

If the second option is in the wrong order startup is not possible. Fix two options, save, remove USB and reboot. If it fails, then maybe you must apply fixboot.

Hope it helps,

subc said...

I just thought about this.. maybe

fdisk /mbr

is needed?

Robert said...

@Anonymous, I should have mentioned that I have used this method on my Thinkpad as it does not have a CD/DVD drive...
In the BIOS of the Thinkpad, I have only changed the order of the devices in the "Startup" menu of the BIOS.

@subc, Mhhh... fdisk /mbr, I have to read about that again to find out what exactly it does..

Thank you for your suggestions so far. If anyone has another idea, please keep them coming as I will look into the above.

Thanks.

Robert

Nick said...

Robert: If your thinkpad has a factory recovery partition on it you need to get rid of that from within windows setup. The boot.ini file on the root of your C: drive (hidden file) is automatically configured to boot to disk 0 partition 1, so if you have a pre existing partition it won't boot properly from the HD. Check the boot.ini file on your usb stick and make corrections to the one on your hard drive.

MJ said...

Just to let you know I used this method with an nLite version of XP SP2 and it worked perfectly.

Robert said...

@Nick:
I have put a complete new hard drive into my Thinkpad with no partitions at all. I created one partition of 25GB for Windows XP and left the rest for later.
I have tried to change the boot.ini in C: and changed it accordingly to what it was on the memory stick.
That did not work.
I then ran the text based system again and this time I tried chose to repair the existing Windows. When in command prompt, I tried fdisk /mbr, but the command was not available. Therefore I used fixmbr as a command. Now the system does not boot at all. I have to start all over again. :-(

Nick said...

try this in the command prompt instead: BOOTCFG /rebuild

Robert said...

@Nick: Just recreated the USB stick and I can boot into my old Windows again. Strange....
Ok, will try your command now...Thank you.

Robert said...

@Nick:
I have done the BOOTCFG /rebuild command. It detected one Windows installation in C:/Windows as expected. It asked me whether I would like to add it to the choices that I see during bootup and I said "yes". I put the correct loaders (e.g. fastdetect) in it and called it "WINXP".
When I restarted (USB Stick out and booting from hard drive), it did not work. Then, when booting again from the USB stick, I looked at the boot.ini file and there was my entry "WINXP". All the numbers in () where the same as the other entries.
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS=" WINXP"
But it is still not working. I have looked at the error message again when booting. It says: "A disk read error occured. Press Ctrl+Alt+Del to restart".
I am starting to believe that the problem is not with the boot.ini, but something that is happening before. Any ideas, please?
Thanks. Robert

Anonymous said...

MJ, how did you get nlite XP to work? Everytime I point to the directory, it says Windows source file not found.

Nick said...

Yes MJ I would like to hear the settings you used also, I've spoken with an nlite developer before and he seems to think it should work as long as you don't remove the manual installation files and other command line related items.

Nick said...

Robert I don't know what else could be causing your problems. Are you sure that you followed the instructions exactly as they are laid out in the tutorial? The only thing I can think of is that you may have removed the USB stick once the graphical part of setup was complete instead of letting it boot into windows then removing the USB stick.

Robert said...

@Nick:
I have got it to work now. Yes, it might have been that I have removed the USB Stick to early or have booted into the GUI based one too early. I should not have done that, but cannot be sure...
Anyway, I figured it had something to do with the partition table since the boot.ini was correct.
For some reason the boot.ini on the USB stick was configured like that:
Default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
I downloaded "Partition Table Doctor 3.5" and when I started the program it said that the partition has some errors. I fixed those errors with the program, changed the boot.ini to:
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
and voila, the thing is up and running.
Thank you for your efforts and this great tutorial.
Robert

MJ said...

In response to those that have asked:

I started with a full image of XPSP2 with the latest updates as of last week.

I then used nLite following a guide on eeeuser forums with what they suggested you remove, however I did not select to remove the manual install (winnt.exe etc)

I then used nLite to make an image which I mounted with Daemon tools.

When promoted I just pointed usb_prep8.cmd to the root of the mounted image.

Nick said...

Thanks MJ, I suspected it would work but never tried myself.

MJ said...

As a sidenote the image ended up as 250mb and XP took 611mb once installed with pagefile removed.

btw, thanks nick for taking the time to write this guide up, it saved me alot of hassle.

Jep said...

@Nick

I also got the "missing or corrupt hal.dll"-message and as a total beginner I was affraid to delete all 4 partitions (since I thought that would make it impossible to restore the computer if the XP-installation failed). But that proved necessary and the install worked like a charm immidiately after I had merged the partitions into one. So don't hesitate to delete all partitions and create one big partition if you get the "missing or corrupt hal.dll"-message.

I cannot thank you enough for the tutotorial, Nick. It really helped me a lot and it is great that you have explained the steps in detail. That is the key to helping us beginners. So thanks a lot for the great work!

Best,

Jep

brad said...

Thanks for the write up, it works...

But on boot i have two choices:
1)Start Windows XP
2)USB Repair NOT to Start Windows XP

obviously I have to select 1. 2 gives me an error and reboots to the menu. Any idea how I can fix this and make #1 the default choice?????

MJ said...

@Brad

Simply edit your c:\boot.ini file and remove the line for the USB boot, or you can change the timeout from 30s to something quicker.

rvrvtvr said...

I have the same problem as rick61405

After typing 4 then enter. it begins the gives me an error "Falied to open file 'tempimage.img' Please input path:"

Seems that the virtual drive cannot be created or written to.

Can anybody help ?

Thanks

Nick said...

rvrvtvr: You need to be using windows vista or windows XP 32bit not 64bit.

rvrvtvr said...

Nick: Thanks for your answer. However, I am actually using Windows XP 32bit.

rvrvtvr said...

I apologize. The problem I mentioned occurs when there is not enough space on your hard-drive. You should have at least 1GB.

Dman said...

Nick you are the man!
Thanks for posting this one it helps me understand my options.

I am in Australia and will be purchasing a new EEE PC soon.
Just waiting for the order to arrive.

I will try the steps above including some of the post that everyone contributed.

Wish me luck!
Dennis aka "Dman" or "Pogi"

DaF said...

@Nick

Thanks for this nice guide.Tried it and amazingly it worked!!!It's godsend for newbie like me.Keep up the good work. =)

Mouse said...

Had most of the problems listed above. My fault entirely as i removed the USB drive 2 early. If you follow the guide then it will install. I have installed XP with SP1 no probs now. My hall errors and boot errors all stemmed from the fact that i removed the USB stick too early. I had to restart the guide from the beginning to get this installed as instructed.
Many Thanks for this guide..

rvrvtvr said...

"missing or corrupt hal.dll"

Maybe this could help some: This error also occurs when you do not delete ALL present partitions.

jcondon said...

Hi,

I tried the above tutorial and ran into a problem. I have WinXP Pro without service pack and a cruzer micro 4.0 gb

When I boot the first time (txt) I can partition the HD and format it. When it gets to the point where it is to start copying files I get an error. Actually it DOES copy some files but, very few.

The error I get is...

"The following value in the .sif file used by setup is corrupted or missing: Value 0 on the line in the section [SourceDisksFiles] with key 'binifix.cmd.' Setup cannot continue. To quit setup, Press F3.


Here is part of TXTSETUP.SIF I think the errror is refering to but, I have no clue.

[SourceDisksFiles]
binifix4.cmd = 100,,,,,,_x,2,0,0
undoren.cmd = 100,,,,,,_x,2,0,0
ren_fold.cmd = 100,,,,,,_x,2,0,0
bootvid.dll = 1,,,,,,3_,2,0,0,,1,2
kdcom.dll = 1,,,,,,3_,2,0,0,,1,2
c_1252.nls = 1,,,,,,3_,2,0,0,,1,2
c_437.nls = 1,,,,,,3_,2,0,0,,1,2
l_intl.nls = 1,,,,,,3_,2,0,0,,1,2
vgaoem.fon = 1,,,,,,3_,22,0,0,,1,2
acpi.sys = 1,,,,,,3_,4,1,,,1,4
wmilib.sys = 1,,,,,,3_,4,0,0,,1,4
atapi.sys = 1,,,,,,4_,4,0,0,,1,4
disk.sys = 1,,,,,,5_,4,0,0,,1,4
classpnp.sys = 1,,,,,,5_,4,0,0,,1,4
dmio.sys = 1,,,,,,4_,4,0,0,,1,4
dmload.sys = 1,,,,,,4_,4,0,0,,1,4
ftdisk.sys = 1,,,,,,3_,4,0,0,,1,4
intelide.sys = 1,,,,,,3_,4,1,,,1,4
pciidex.sys = 1,,,,,,3_,4,0,0,,1,4
isapnp.sys = 1,,,,,,3_,4,1,,,1,4


Thanks,
Jim

Nick said...

You may be running into this error because you are using an OEM disk that came with another PC. Examples of these disks are HP restore cd, gateway restore cd etc. This guide works with retail disks or some OEM disks that aren't altered in any major way such as dell disks.

Anonymous said...

Works great baby I love you!!! I used nlite got it down to a 250mb thumb drive and it is cruzin. I had the hal problem as well but fixed that with fast fingers because I got it once but hit the pause button before it came up the second time and low and behold I was sitting at text mode and from there on smooth sailing. THANKS!!!

Verena said...

First of all: great guide and thank you so much for this.
But could you please explain further what you mean with: "Special Note: If you use the program Nlite be sure to keep the manual installation files as the USB_prep8 script relies on these files."?
Which manual installation files do I have to keep?
Thanks in advance!

Anonymous said...

hey verena
That part got me on my first two tries as well. When you are using nlite, under operating system do not check manual installation files. If you go on this website and use the guide here for using nlite that gentleman or woman has it checked but you can look at his or her snapshot and see it is checked, just be aware of it and when you get to the operating system section leave it unchecked. Also keep in mind that you must continue to go thru the steps of loading from the thumb drive 3 times. 1>to use GUI 2>Continue install 3>Windows first start. Also to get my jump drive to work I had to press Esc at the BIOS splash screen and then select my jump drive. Hope this helps everyone out. I am now having issues with windows update. It doesn't work

Verena said...

Thanks, that helped me a lot!

Anonymous said...

thanks. i got it working.

first i get the ha11 error as well, after that i delete all the partition and even the bios partition and everytime it reboot, i press esc and choose the usb. I'm not sure which fixed which, but at the end it solved the problem. thanks again.

modsoul said...

i'd just like to add that i too had the hal problem. messing around in the bios with the boot settings fixed it. its installing in the gui portion now. lets hope it works.

also this is on a 2G surf.

THANK you so much for this guide.

DataSurfer said...

Most Helpful. Thanks a bunch.

Matt said...

Yea i would like confirm what Jep said. you have to delete all the partitions for it to work.
Thanks For the great tutorial Nick!

Elmo said...

Hi im having the "cant find source files" when trying to do it with a media center 2005 edition....

do you have any ideas why this might be??

aquarius said...

i had the problem with hal.dll too and then i deleted all the partitions . But the installation still does not work after going into the TXT setup screen, it says it detected a problem and stopped it. Now when I take away the usb and boot it up normally, it cant even go into Linux. It just says error 22. What should I do??

31stfreak said...

is it still possible to do an F9 recovery option from this installation technique? if i only delete the primary partition and leave the other partitions, will that do it or that isn't advisable?

Nick said...

aquarius: recreate your usb flash drive from scratch

31stfreak: no it isn't and you need to delete all partitions for this to work.

Anonymous said...

I have also a problem of Hal.dll i dont understand what i can do well

So somebody can have enough courage to resume because many people have the same problem and if i have understood it s not too much hard to solve... thanks for your help

fke said...

I have the following issue:
I have "Bootcode was successfully updated on all targeted volumes."
But when I return to the usb_prep8.cmd window nothing happens even if i press any key when the window is active...

any ideas?

RadiX said...

You just have to close the window then usb_prep8.cmd will do the rest, works perfectly!! thx man! very usefull !!

dookie said...

Followed the steps and it worked like a champ! Thanks very much for the guide!

KCheese said...

Just wanted to post a Thanks!

You saved me a lot of time.

Props to you buddy!

Thanks a bunch!

Anonymous said...

I have problem! get error

PROCESS1_INITILIZATION_FAILED.

how do i delete the partition with my Nlite Bootable USB stick?

Aproposnix said...

Though the installation says you need a 2GB USB Stick, if you used nlite to make the iso smaller you can easily use a 1GB stick :)

Nice tutorial. Very easy to follow.

Anonymous said...

Hi all,

I've followed the tutorial exactly to the book but when I get to "Bootcode was successfully updated on all targeted volumes" I close the command window to get back to the usb_prep8cmd window and it states 'Press any key to continue' but every time I press a key, nothing happens. I have tried every single key on the keyboard without luck. The only way to get it to work is to close the PeToUSB window but as the tutorial states, this window must be left open. If I do close the PeToUSB window and continue with the tutorial the system doesn't recocgnise my USB thumb as having been formatted as bootable even though it has. Any ideas would be much appreciated as I am trying to set this up for my girlfriend and have been trying to do it for the last 10 hours!! Thanks

aiinas said...

Do i need to erase the partition that contains the BIOS?

Anonymous said...

Hi again!

Please ignore my last post about nothing happens when I press a key in the usb_prep8cmd window, I didn't realise I could close the PeToUSB window!

The problem I am having now is that when I choose option 3 to "Change USB-Drive Letter" it states "D: is not a valid drive" I have formatted the USB thumb without problems, everything works until this point.

My USB stick is definitely drive D but it just keeps saying not a valid drive. I have tried time and time again from the very beginning but still with the same error.

I am using a Lexar 2GB stick. Can anyone help me?

Starscream said...

Just wanted to say BIG Thank You. I'm on XP now. Cheers and best for 2008!

Arvin Borla said...

Hi,

Sir Nick, I am using Windows XP Sp2 CD, and i have problems like Fahad, first i got NTLDR Missing then after i reboot i got the hal.dll missing...

what does it mean?

can u e-mail me the solution?

arvz_18@yahoo.com

thnx and more power..

Arvin Borla said...

Sir ive already installed Windows XP on my top,but when i started windows after the installation i ended up on a black screen with the mouse pointer...ive waited long for about 30 minutes but still no sign of windows start menu or any window GUI...what happened?

ill wait for your reply sir thanks!

Anonymous said...

First, thank you for the incredible work so far.

Second...
Ok, I'm trying to combine this with:
http://www.ngine.de/index.jsp?pageid=4176

Which includes editing dosnet.inf (very slightly).

When I get to the stage of "creating localsource on temporary drive", I get the following errors:



The system cannot find the file specified.
File not found - ntdetect.co*
0 File(s) copied
File not found - ntkrnlmp.ex*
0 File(s) copied
File not found - setupldr.bi*
0 File(s) copied
File not found - txtsetup.si*
0 File(s) copied
File not found - biosinfo.in*
0 File(s) copied
The system cannot find the file specified.
File not found - hal.dl*
0 File(s) copied
File not found - halacpi.dl*
0 File(s) copied
File not found - halapic.dl*
0 File(s) copied
File not found - halaacpi.dl*
0 File(s) copied
File not found - drvmain.sd*
0 File(s) copied
File not found - setupreg.hi*
0 File(s) copied
File not found - setupdd.sy*
File not found - spddlang.sy*
0 File(s) copied
File not found - bootvid.dl*
0 File(s) copied
File not found - kdcom.dl*
0 File(s) copied
File not found - kd1394.dl*
0 File(s) copied
File not found - vga.sy*
0 File(s) copied
File not found - videoprt.sy*
0 File(s) copied
File not found - wmilib.sy*
0 File(s) copied
File not found - i8042prt.sy*
0 File(s) copied
File not found - kbdclass.sy*
0 File(s) copied
File not found - pci.sy*
0 File(s) copied
File not found - acpi.sy*
0 File(s) copied
File not found - isapnp.sy*
0 File(s) copied
File not found - acpiec.sy*
0 File(s) copied
File not found - oprghdlr.sy*
0 File(s) copied
File not found - ohci1394.sy*
0 File(s) copied
File not found - 1394bus.sy*
0 File(s) copied
File not found - pcmcia.sy*
0 File(s) copied
File not found - intelide.sy*
0 File(s) copied
File not found - pciide.sy*
0 File(s) copied
File not found - cmdide.sy*
0 File(s) copied
File not found - toside.sy*
0 File(s) copied
File not found - viaide.sy*
0 File(s) copied
File not found - aliide.sy*
0 File(s) copied
File not found - pciidex.sy*
0 File(s) copied
File not found - mountmgr.sy*
0 File(s) copied
File not found - ftdisk.sy*
0 File(s) copied
File not found - partmgr.sy*
0 File(s) copied
File not found - fdc.sy*
0 File(s) copied
File not found - dmload.sy*
0 File(s) copied
File not found - dmio.sy*
0 File(s) copied
File not found - sbp2port.sy*
0 File(s) copied
File not found - lbrtfdc.sy*
0 File(s) copied
File not found - hidclass.sy*
0 File(s) copied
File not found - hidparse.sy*
0 File(s) copied
File not found - usbd.sy*
0 File(s) copied
File not found - usbport.sy*
0 File(s) copied
File not found - usbehci.sy*
0 File(s) copied
File not found - usbohci.sy*
0 File(s) copied
File not found - usbuhci.sy*
0 File(s) copied
File not found - usbhub.sy*
0 File(s) copied
File not found - hidusb.sy*
0 File(s) copied
File not found - kbdhid.sy*
0 File(s) copied
File not found - serenum.sy*
0 File(s) copied
File not found - serial.sy*
0 File(s) copied
File not found - usbstor.sy*
0 File(s) copied
File not found - scsiport.sy*
0 File(s) copied
File not found - usbccgp.sy*
0 File(s) copied
The system cannot find the file specified.
File not found - cpqarray.sy*
0 File(s) copied
File not found - aha154x.sy*
0 File(s) copied
File not found - sparrow.sy*
0 File(s) copied
File not found - atapi.sy*
0 File(s) copied
File not found - symc810.sy*
0 File(s) copied
File not found - aic78xx.sy*
0 File(s) copied
File not found - dac960nt.sy*
0 File(s) copied
File not found - ql10wnt.sy*
0 File(s) copied
File not found - amsint.sy*
0 File(s) copied
File not found - asc.sy*
0 File(s) copied
File not found - asc3550.sy*
0 File(s) copied
File not found - mraid35x.sy*
0 File(s) copied
File not found - ini910u.sy*
0 File(s) copied
File not found - ql1240.sy*
0 File(s) copied
File not found - tffsport.sy*
0 File(s) copied
File not found - aic78u2.sy*
0 File(s) copied
File not found - symc8xx.sy*
0 File(s) copied
File not found - sym_hi.sy*
0 File(s) copied
File not found - sym_u3.sy*
0 File(s) copied
File not found - ql1280.sy*
0 File(s) copied
File not found - ql12160.sy*
0 File(s) copied
File not found - abp480n5.sy*
0 File(s) copied
File not found - asc3350p.sy*
0 File(s) copied
File not found - cd20xrnt.sy*
0 File(s) copied
File not found - ultra.sy*
0 File(s) copied
File not found - adpu160m.sy*
0 File(s) copied
File not found - ql1080.sy*
0 File(s) copied
File not found - i2omp.sy*
0 File(s) copied
File not found - perc2.sy*
0 File(s) copied
File not found - perc2hib.sy*
0 File(s) copied
File not found - hpn.sy*
0 File(s) copied
File not found - dpti2o.sy*
0 File(s) copied
File not found - dac2w2k.sy*
0 File(s) copied
File not found - cbidf2k.sy*
0 File(s) copied
File not found - dmboot.sy*
0 File(s) copied
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
File not found - flpydisk.sy*
0 File(s) copied
File not found - classpnp.sy*
0 File(s) copied
File not found - disk.sy*
0 File(s) copied
File not found - ramdisk.sy*
0 File(s) copied
File not found - cdrom.sy*
0 File(s) copied
File not found - sfloppy.sy*
0 File(s) copied
File not found - i2omgmt.sy*
0 File(s) copied
File not found - fastfat.sy*
0 File(s) copied
File not found - ntfs.sy*
0 File(s) copied
File not found - ksecdd.sy*
0 File(s) copied
File not found - cdfs.sy*
0 File(s) copied
File not found - spcmdcon.sy*
0 File(s) copied
File not found - c_1252.nl*
0 File(s) copied
File not found - c_437.nl*
0 File(s) copied
File not found - kbdus.dl*
0 File(s) copied
File not found - vgaoem.fo*
0 File(s) copied
File not found - l_intl.nl*
0 File(s) copied



At the press a key to continue, 6601 files have been copied.

In the $WIN_NT$.~LS\I386 directory, these files certainly appear to exist.

The $WIN_NT$.~BT\system32 directory is empty.

The $WIN_NT$.~BT directory was what I copied every file listed into, and now I get past that error and am at the
*** STOP: 0x0000007B error just after the status bar says it's starting Windows for the first time.

There is, of course, no surprise that it fails when attempting to boot with a biosinfo.inf not found error.

Benji said...

Great install! I have been trying to get XP to install from USB for the last 3 Months! The long nights of staying up till 1:00AM and getting up at 5:00AM can now finally end. Yet I do have one woe as the install seems to not like Dell computers. I think there is some sort of proprietary chipset the company must be using since this install works on everything else. The dell computers give me a nice big BSOD on the txt-based setup. I was wondering if anyone else encountered this issue?

Anonymous said...

Just a comment when using VISTA: the usb_prep8.cmd script had permissions problems for me when started from the GUI. In order for all associated scripts and programs to work I had to first start a command window with "Run as Administrator" and then start the script from that command prompt window. After that all steps went as described in the tut...

Benji said...

OK I have a conclusion!

This build will work on;

D600
D610
D620
D630
(All Dell Laptops as far as I know!)

It will not work on;

GX260
GX270
GX280
GX620
SFF GX260
SFF GX270
SFF GX280
Optiplex 745
Precision 450
Precision 490

I have actually tested it on all of these machines and only the desktops are giving me a BSOD I am going to do some further investigation to see if I am missing a BIOS setting. If anyone has a fix please let me know!

tabular said...

Need help! I followed the steps exactly and created a 2 GB thumb drive. But after choosing text mode, I get a BSOD with the "pci.sys" error message. I am having a 8GB EEE pc and SSD is formatted with dos. Thanks

Anonymous said...

RE: biosinfo.inf missing error: There appears to be a version of USB_Prep8 that has a broken usb_prep8.cmd. After some time debugging, I found the line with the problem. Change this line:

SET __xpdir.!dtel!=%%H

to:

SET __xpdir.!dtel!=!xpdir!\%%H

The problem is that the script is overwriting the xpdir environment variable (which starts out as '\i386') later in the script, so the biosinfo.inf, ntkrnlmp.exe, and other boot files from the source disk do not get copied. This results in the following errors in the script execution (noted in a previous post):

The system cannot find the file specified.
File not found - ntdetect.co*
0 File(s) copied
File not found - ntkrnlmp.ex*
0 File(s) copied
File not found - setupldr.bi*
0 File(s) copied
...

After fixing the script as above, I am finally getting past the boot errors in text mode setup.

Enjoy!

Erik

Edd said...

If you're having trouble with the usb_prep8.cmd part of the tutorial under vista, completely disable UAC. This will allow the process run without any permissions issues and you can always just re-enable UAC afterwards if you wish. I initially tried just setting everything to run as admin but it wasn't enough, you need to kill UAC first.

Anonymous said...

Awesome.... thanks
Works perfect using "HP_OS_RESTORE - version of Windows" all updates etc done with no issues...

Anonymous said...

I got tired of Linux - longed for Windows..ha ha Thank you so much!!! That worked a treat :-)

4D said...

ok, spent all day on this. not going too well.

Go to the xp initial setup screen and get the biosinfo.xxx missing errors etc. I tried :-

SET __xpdir.!dtel!=%%H

to:

SET __xpdir.!dtel!=!xpdir!\%%H

to fix usbprep, didnt work. tried copying the whole i386 directory to the BT directory, didnt work.

completely out of options and considering buying a USB dvd drive just for this.

using XP home sp2 oem disc, any suggestions?

Anonymous said...

Has the same problem as fahad. Tried everything mentioned here, but still couldn't get out of the hal.dll stage with the gui option.

Anonymous said...

Thanks anyway, the other other method from the other worked.

sectoid said...

First of all thanks for all this!! I've been trying to install xp for hours now without success, though. I read every commentary here, and have a question: do I 'HAVE TO' delete all four SSD partitions(thus losing linux) to install XP? That was what I understood from some comments above. If true, can I install xandros back after xp installation? The problem I have is that the installation program cannot write to the HD(I did everything step by step correctly, got C: for the usb HD, etc). It doesn't matter if it's previously formatted as NTFS and has boot files in it. In this case, it says it cannot create windows folder. I'm using a seagate 120gb sata hd with an enclosure that uses 2 usb ports. Thanks for any help!

Nick said...

sectoid: Yes you must delete all partitions on the SSD and create a single new one. If you decide you want to reinstall linux later you can do so with the cd asus provided, deleting the partitions does not take away your ability to reinstall linux later.

sectoid said...

many thanks for the fast answer nick, I'm getting bald with 26 years and this problem was making me balder by my own hands :P
I'll get some sleep and try it tomorrow, it's 5 AM here (Brazil). Thanks again!!!

Max said...

Thank you so much. Worked wonderfully : )

sectoid said...

I deleted all SSD partitions and created one NTFS, but I still get the same error :(
I'm using xp pro SP2, I don't think this is the problem because some people reported success with SP2... any ideas?

sectoid said...

I forgot to say that at windows setup my drives are as follows (they show in this order):
D:\ - SSD (one NTFS partition)
E:\ - the USB key with windows setup files (one FAT partition)
C:\ - the external sata hdd connected through usb (one NTFS partition)

There also appears a strange "unknown disk" below them all but it doesn't have any space nor partitions.

Thanks again!

Nick said...

Sorry sectoid, I should have said yesterday that you can't have an external drive connected to the EEE while your using this method it screws up the drive letter order and the install won't work. Glad you got it working that other way.

Anonymous said...

i've put xp on the usb key using the software and then started the eee pc booting from the usb and selecting txt mode it starts the installation and then comes up with an error:
stop: 0x0000007e (0xc0000005,0xf85490bf,0xf8995208,0xf8994f08)
I dont get the option to delete the partitions on the drive and it says one problem could be the drive doesnt have enough space.
What do i do?

yumkie said...

Thank you so much for this site! I've finally installed a nlite version on my asus EEE 4G!

One question, when I turn on my EEE theres two options, 1. boot into xp and 2. fix usb etc...

when I press 1, xp starts up perfect

What can I do... so my EEE just starts up into XP without me having to press anything??

Anonymous said...

Thank you so much, man. I have been dreaming for a simple solution for weeks, and you finally made my dream come true!

Anonymous said...

Hi,

I am using Staples Relay 512MB. I follow you guidelines, however, after I succesfully run bootsect.ext the other window that is now supposed to contain options 1 to 5 does not change even if I press enter or any other key. Any idea?? thank you.

Anonymous said...

Dear Other Anonymous,

I have exactly the same setup. Windows XP Home OEM SP2, ran the scripts to the letter with the new SET __xpdir.!dtel!=!xpdir!\%%H line and it still doesn't work.

It can't be this hard surely..

"4D said...
ok, spent all day on this. not going too well.

Go to the xp initial setup screen and get the biosinfo.xxx missing errors etc. I tried :-

SET __xpdir.!dtel!=%%H

to:

SET __xpdir.!dtel!=!xpdir!\%%H

to fix usbprep, didnt work. tried copying the whole i386 directory to the BT directory, didnt work.

completely out of options and considering buying a USB dvd drive just for this.

using XP home sp2 oem disc, any suggestions?

Nick's the Man said...

Nick. Thanks, bud. This was very helful. I also got the "missing or corrupt hal.dll"-message and the fix was to delete all partions. Suggest you update you intial instructions to save many of us an hour or so of reading the threads and reaching this conclusion. Thnaks again!

Anonymous said...

Same problem as 4D and two other anonymous users are having. Get a load of

"File not found - *.*
0 File(s) copied"

when setup tries to creat the ~BT directory on the temporary drive. Tried the "SET __xpdir.!dtel!=!xpdir!\%%H" fix.....no difference. I'm going to try moving all the files there manually (incl. the biosinfo.inf file) and see how that goes. Any other ideas?

Thanks...can't wait to get this working.

Mike said...

Same poster from previous post. Copied all files over manually and it got through the text portion of the install fine. On first boot into the GUI setup, I got an error. Before any text/visuals appear on the screen (it's just a solid green screen), a box pops up saying "insufficient space" and quickly terminates the whole setup. Then gets stuck in rebooting loop. I'm using a 2 GB USB drive, and there should be plenty of space. Unless there are some clear ideas, I'm going to go back to my old method until this method has the kinks worked out.

Thanks

Nick said...

Mike: did you delete and create all the partitions inside of the text mode setup?

JibJab99 said...

I am having the same problems where a ton of files are not copied
The system cannot find the file specified.
File not found - ntdetect.co*
0 File(s) copied
File not found - ntkrnlmp.ex*
0 File(s) copied
File not found - setupldr.bi*
0 File(s) copied
File not found - txtsetup.si*
0 File(s) copied
File not found - biosinfo.in*
0 File(s) copied

ETC, ETC


I tried the modified script as mentioned above, but not working...If I want to manually copy the files over, where do I put them on the usb drive?

Anonymous said...

an endiaferete kapios

3 bimata apo to
http://www.bay-wolf.com/usbmemstick.htm

antigrafeis olo to cd ton xp
mesa sto stik se ena fakelo.

Boutaris, fdisk an xriazete,kai
mesa apo
stik:\dir\i386
trexeis winnt

Anonymous said...

The system refuses to boot of USB even when I do set it as the 1st boot device under BIOS. This feels olmost as if the system does not detecting my USB drive. However, when xandros is done booting, it does show that a USB drive as been connected which means that it is able to detect the USB drive. Anyone?

Seneschal said...

Nick,
Thanks for all the hard work. I am having the same problem as several other folks (see Jan 6 post for long list of files). Long list of files are not copied into image and therefore don't make it to the jump drive. After my drive boots in the Eee PC, and I select Text install, I get message saying File \$Win_NT$.~BT\biosinfo.inf could not be loaded. Of course, it couldn't because it was never copied into the ...~BT directory. I have followed the directions to the letter. I am using a standard (not manfacturer specific) OEM XP disk. The files are on the disk in the I386 directory. Help? Thanks.

Anonymous said...

Even using an xp pro iso mounted on a virtual drive this worked first time.

Thanks you are a guru!!!

Avi said...

Wow, spent three days trying to find a solution to this and here it is! Still grappling with the .hal problem but my question is:

Is anyone encountering a BSOD when trying to install from USB CD/DVD? I am using a olderish controller that plugs into internal drives with a USB out. This happens after it has finished loading all the nessisary files/drivers before installation.

Seneschal said...

P.S. When I read my earlier post it sounded like I was complaining about my hard work--actually I was thanking you for all the work you have put into this.

Aamer said...

Hey guys, i really need to install the windows on my Asus eee simply to have textpad, java and other normal programm's running on this mashine.

However reading on all the comments above actually makes me very scared to actually do even the first step.

Does this mean that you lot are all proffestionals and therefore i should not attempt any of this due to my lack of asus skills?

Any reply would be very much appreciatded!

JibJab99 said...

GOT IT.
If you are having the problem where a lot of files are not being copied, then you must also MANUALLY copy all the files (dont worry about the folders) from the I386 directory on your Windows XP install CD to the folder $WIN_NT$.~BS

After I did this, mine worked flawlessly! I am using a 4GB USB flash drive.

Seneschal said...

Nick,
I used the method suggested by JibJab99 and got all the files on the jumpdrive, it booted, and loaded files but I never got any options relative to partitions and/or formatting so of course I got an error later. What do you suggest? Thanks.

be_fair said...

Nick,
It seems you forgot to mention where all this came from :)
http://www.msfn.org/board/index.php?showtopic=61384

There are also some unneeded steps, as well as misunderstanding why and when "hal.dll is missing" occurs.
All that is covered in the help file, also in the mentioned thread in msfn.org.

react said...

Having the same trouble as [tabular].
After selecting text mode I get a BSOD with the "pci.sys" error message. I went through all the steps twice w. no luck :(

Updated BIOS to 0703 w. same results

Doc said...

This was a great tutorial, I have the EXACT same usb drive (U3 4gb). I have a couple questions I need help on. This all works on the computer I built this usb instaler on, but on my other pc it makes it all the way to where it runs the windows setup exe and BSOD's. Also I would like to know if anyone can link m to info on how to add a couple more boot options such as including Ultimate Boot CD http://www.ultimatebootcd.com/ in the boot options. Maybe the Acronis boot ISO I have as well. Thanks for the Help!!
~Doc

Glenn said...

Hi,
I almost had it. I got to the point where you choose to install by choosing text, then suddenly I get this error messg.

Line 1 of the INF file \$WIN_NT$.~BT\winnt.sif is invalid
Setup cannot continue. Press any key to exit

gggrrr...

Thanks

react said...

Ok, so i finally got it all setup and the reason the BSOD with pci.sys came up was because I was NOT using WinXP ***SP2***. I should have RTFM :)

curtis said...

After selecting the Text interface, it proceeds to copy files and stops at the same point stating the "UlSata.sys file is missing". I've never seen this error before in an XP install. Any suggestions?

Anonymous said...

Hello, on some PCs I am able to intall from the USB stick, but on others, I proper select first boot device as being the USB stick, am when it boots it just jols on the black screen with the letter "j_" in front of the cursor and the led from the stick doesn-t blinks as it does in normal case, it's like it doesn' reads it...any ideeas on that? please help

rajiv said...

HI all,

It all went great for me untill after i delected all 4 partitions, formatted the one single drive to ntfs (not the quick one). Right after it checks (the bottom status bar says Checking C: drive)and then says that IT CANT FIND THE WINDOWS XP INSTALLATION FILES and that I should press enter and if that fails press f3 to reboot and copy installation files to the hard disk. WHAT AM I DOING WRONG HERE?

I have used nlite, kept the manual instalation files, burnt the iso to disk, made the usb stick (4GB) as per the instructions here and it all seemed to go very smooth.

If i reboot and go to GUI install it gives me a hal file missing screen, if i do a text install then it gives me a message that it cant find my windows xp install files after partition format.

I am pretty sure that i dont have to delete the partiton on the U: drive which I am sure is the usb stick that it shows in the partition files. Right. Just have to delete the 4 partitions on the C drive?????


STUCK STUCK STUCK
HELP HELP HELP

gaspump said...

Was looking for instructions on how to do this for awhile and came across this really by accident.

Followed the instructions carefully - all went smoothly and I'm just installing the Asus drivers as I type this. Thanks!

Ludus said...

thank you for the great guide. but i have a problem.

what is the meaning of "If you use the program Nlite be sure to keep the manual installation files as the USB_prep8 script relies on these files" because i think that is my problem.
after use PeToUSB e added bootsect in to pen drive with cmd, i come back to cmd view of usb_prep8 e press 1 e it ask me where is cd of windows. i select and it says that is no windows cd and some file miss! for do xp i use nlite as the guide in this site. if i use original xp's cd, usb_prep8 works fine.

thank you

Cross said...

okay this worked for me after hal.dll and error messages. (Realized the installation didn't work with a 20gig usb harddrive use 2 or 4 gig usbstick)

start as described. use as XP source the XP-CD!
before moving over to the eee pc copy all files and folders form the I386 folder to $WIN_NT$.~LS\I386 folder on the usb.

now the eee pc.

Set the usb as master drive AND master boot. Then boot and first delete the old partitions of the c: drive. Then make one new NTFS partition.

follow the installation, do not remove usb.
worked fine for me after

superb!!! said...

There are some people who dont like to share and stay as they are and there are some other who share and are respected by others, for sure this guy is the latter one so million thanx!!!

Kramer said...

I have a problem.I've got a Corsair Flash Voyager 8 GB and when I try to format it with PeToUSB,at 50% it sais that FormatEx Error [11].Can anyone help me?

fede said...

hi
i have an asus eepc
everything in this tutorial works fine for me but when i'm get into the blue screen xp installation,
blue screen crash "pci.sys"
Can anyone help me?

JCollum said...

I'm getting the 07B BSOD error as well. I can get everything going, I get to "Setup is configuring..." screen, but right after that I get the BSOD. Anyone have any ideas? I suspect that the windows install is forgetting the location of the install disk. Don't know how to fix it though.

Chris said...

Thanks! I have set up my USB stick and am awaiting the arrival of my EEE. Thanks for the info.

emu said...

IT SEEMS TO WORK WITH A SD CARD TOO. YEEEEHAAAAA
(at the moment I'm at the end of the installprozess on the eee - so at least it might work if i did no mistake :)

Anonymous said...

well, it worked!
only difference might be that you HAVE TO press esc everyboot and then first select the second item, than the 1th (GUI) and then the 1th again, after you are in windows finally you can take the SC card out and be happy :--)

daniel said...

WORKED.
Some small TROUBLESHOOTING:

Sometimes files failed to copy correctly, reasons are 2.
1) Using a virtual drive to mount iso sometimes has problems, specially in vista, try burning the image to a CD.
2.) CD is scratched etx, if this is the case get this IMAGE.
http://thepiratebay.org/tor/3811122/Windows_XP_Professional_Service_Pack_2

Other than that everything work. You can use virtual cd rom drive to later mount an image of the ASUS dvd with the drivers and install them.

GOOD LUCK

tesla120 said...

Kramer said...

I have a problem.I've got a Corsair Flash Voyager 8 GB and when I try to format it with PeToUSB,at 50% it sais that FormatEx Error [11].Can anyone help me?




In the readme it says the USB drive has to be 2 gigs or less.

brauni said...

Hey there,
at least it worked in the 3. try, so i want to say a big THANK YOU from Germany!

Anonymous said...

Hey,

recommending "Windows TinyXP Platinum Edition 2 - eXPerience" for the asus eee.
quicker and better then doing it yourself with nlite.
it will take ~680mb of hdd & ~250mb of ram.

search it on the net (torrent,etc..) to read the nfo for the full features.

Thanks

Anonymous said...

Hi there!
I have the same isue that somebody mentioned before, but didn't find an answeat for that either: When typing 3 enter, and I enter my usb drive letter (D), it says D: is not a valid drive. Can1t go any further, keeps doind this, and D: is certainly my drive...
Thanks in advance, mate!
Doing a great job!

Anonymous said...

I tried doing the install over and over. Each time I would recopy the files onto the USB thumb drive, each time explicitly following these very detailed instructions. Each time I would get to the initial "copying files" part of the install and would get a blue screen error that ended with "pci.sys - address f8542000 base at f8542000". I read over and over that this was fairly common. I searched for this error and someone suggested that it might be a corrupted XP install CD. Duh! So I tried another copy I happened to have (XP Pro Version 2002). ANd I'll be damned if it didn't work perfectly. Something so damned simple. Anyway if you can't get this to work for whatever reason, a cheaper version of installing directly from a CD instead of buying an entirely new external CD drive is to buy a "USB to SATA/IDE" cable that will make an internal drive you already have work as an installation option. For what it's worth.

Anonymous said...

eepisin USB nyo dapat para maging bootable

Anonymous said...

I JUST went through your great tutorial.. but i must admit after reaqding the comments and the few small issues that people created by themself,, i realised when the files were being copied i forgot to close my windows for pe that you mentioned... hehe my EEE PC will be here in the morning.. i'm getting ready... and i'm excited.

Thanks i appreciate you providing such good advice.

Julle said...

For people encountering a BSOD during install (between copying the files for setup and the partition window) I may have a solution.

When I used NLite to reduce the size of my XP-Installation I tried to use the reduced XP-folder with USB_prep8 after processing.

Copying seemed fine, but I also encountered a BSOD :-/ .

The final turn was the following:

I created an ISO with nlite, mounted this ISO with daemontools (you can of course use another virtual image tool) an then I set this "CD" as source for setupfiles in USB_prep8 .

Afterwards no bluescreen came up and I was very happy :). I guess the reason is that USB_prep8 tries to copy the boot-sector from CD to the SD card or the USB-Stick but if there isn't any - because you set the Nlited folder as source - it won't work.

Hope this hint can make some people happy :).

Good luck!

Anonymous said...

I keep getting a 'windows delayed write error' message when i get to the usb stick writng stage. Any ideas
Thanks

Brolaxer said...

guys, if ur installing an nlited version of xp u need to make an iso of the nlited version, which nlite gives u the option to do and then mount the iso using something like magiciso, or wutever mounting program u wanna use. then back at the command prompt where u press one and select the xp files, select the emulated drive, so it thinks its a disc. otherwise, if u select a folder of the nlited files itll have a problem reading it and wont consider it xp

JonW said...

Can someone plz type out the dos commands for me.

I need to place the bootsect.exe on my stick but get lost in the commnds.

My thumb drive is M and i can place the other files anywhere. just plz help ( :

Dex said...

This is a great idea, I have a PC witout a CD-rom drive and this makes things way too easy :D
expect that I've deleted all partitions, formatted using NTFS but still got the hal.dll file missing
oh well, gonna get the cdrom from my neighbour then :D
thanks for the guide Nick :D

David said...

Make sure everytime that you hit escape when booting your computer. You have to physically select each time to boot from usb stick, as it defaults back to hd after every reboot. Do that and you won't get the hall errors anymore.

Anonymous said...

You also need to make a note that your source Windows files can't be any more than one subdirectory deep.

(e.g., Winnt32.exe can be in C:\WinLite\I386, but -not- in C:\XPSource\Winlite\I386.)

Any deeper than this and USB_PREP8.CMD can't recognize it, and the script will crash out.


It only took me, what, about 3 hours or so to figure this one out ....

mcasao said...

Followed your instructions using a 2 GB SD card plugged into my PC's printer card slot. Worked great and was able to install XP on my eeepc with ease. Thanks!

Anonymous said...

For Benji -

It worked just fine on my Dell Latitude D610! However, I used the Dell Windows XP Pro "Reinstallation CD" as the base for my USB installation. Take for what it's worth, your mileage may vary, etc.

nk said...

I'm having a problem creating a temp drive.

Here is my logfile: http://pastebin.com/f1fc56b56

Here is my command prompt output for usb_prep8.exe: http://pastebin.com/m32dadf25

I'd appreciate any help and insight.

generositus said...

I just wanted to a big fuckin thanks! The install went off with out a hitch for the most part, just had to disable UAC in vista to get the various command prompts to work right. Now I've got XP zipping around on my Eee and it's running beautifully. Tribes 2 runs flawlessly even with all the detail settings maxed up. It ran like shite in linux, just a few fps with everything at low.

Anonymous said...

Thanks Alot, you just save me a $100 for a CD drive that I'll use once, and i don't know if some one already post this but there is some one on eBay that is trying to sell this idea. once again THANKS.

r3sil3 said...

Ok, I got it to come up to choose GUI or TXT. So I Choose text, goes to load, and gets Biosinf.inf is missing or corrupt.

Im copying the XP Install right off the CD, So I Dont know why its doing this.

If anyone knows whats going on, Id appreciate some help.

Also, I'd like to thank the person who wrote this becuase I work in IT and being able to reload XP off thumb drives would make life much easier.

Anonymous said...

Hi guys,,,

I got this new eee pc and right after I downloaded the following:

What you'll need:
USB_PREP8 (alternative download)
PeToUSB (alternative download)
Bootsect.exe (alternative download)

I clicked on usb_prep8.cmd it opened in text editor.

Can you please help me with this one.

Thanks a lot....

Noslig

Anonymous said...

please advise how can i possibly make a usb contaning win xp?

highly appreciated.

Noslig,,,,

AndrewR said...

Same issue with XP Home sp2 OEM.
Followed instructions perfectly,
setup cannot find biosinfo.inf
.
Shit.
...
The first time I legitimately buy Windows, and I get this.
All I can say is "Yar."

Tim O'Leary said...

Noslig, try and run usb_prep8 from command prompt. Start > run > type 'cmd' and press ok.

Anonymous said...

tenx Tim, but eeepc came with its original os, where can I able to find command prompt?

Thanks a lot...

Anonymous said...

Another solution for the hal.dll problem.

Just boot from USB key again after installing, choose GUI option. Windows will start up and it will build a boot.ini that allows the EEE to boot into XP. This worked for me.

Anonymous said...

Can anyone tell me why after formatting and bootsect.exe /nt52 R:" (K in my case) the screen of the first command prompt doesn't change so i can't even choose the options 1 to 3?

Anonymous said...

Hi there,

I got a tipp for those who have the problem with the "D: not a valid drive"-message. This tip is not a very cool and geeky one, but it worked for me: Just try the USB Stick preparation procedere as described in the tutorial above on another Laptop/PC (hope you have the possibity to do so).

Another tip: For the directory with the WinXP setup files to be copied to the USB Stick choose a simple path (e.x. "D:\winxp"). Otherwise, usbpreb might just stop and one point an not go on with the procedure.

Hope I could help some you!

Greetz from germany

Noren said...

Hi,

I solved the "biosinfo" as well at the missing file at the copy on the virtual disk.

2 solutions :

Do-it-by-yourself and modify usb_prep8.cmd.


Line 519 replace :
xcopy %xpsource%!xpdir!\!btfile! %tmpdrive%\%btdir% /i /k /y /h
par
xcopy %xpsource%\%xpdir%\!btfile! %tmpdrive%\%btdir% /i /k /y /h

Line 521, replace :
xcopy %xpsource%!xpdir!\!btfile! %tmpdrive%\%btdir% /i /k /y /h | tee.bat -a usb_prep.log
par
xcopy %xpsource%\%xpdir%\!btfile! %tmpdrive%\%btdir% /i /k /y /h | tee.bat -a usb_prep.log


Lige 525, replace :
copy /y %xpsource%!xpdir!\%%H %tmpdrive%\%btdir%\%%I
par
copy /y %xpsource%\%xpdir%\%%H %tmpdrive%\%btdir%\%%I

Line 527, rmplace :
copy /y %xpsource%!xpdir!\%%H %tmpdrive%\%btdir%\%%I | tee.bat -a usb_prep.log
par
copy /y %xpsource%\%xpdir%\%%H %tmpdrive%\%btdir%\%%I | tee.bat -a usb_prep.log

Or use this patched script :
http://ewandor1.free.fr/usb_prep8_fixed_by_noren.zip

Enjoy !

Noren said...

oops,

Sorry

par = by

in my above post.

Christian said...

When i got the hal.dll problem i just rebooted from the usb and selected 1 (GUI boot option). I had to do this 2 or 3 times, but then xp installed perfectly and it is also very fast.

Thanks!

eepcuser said...

With my 4GB usb flash Corsair i've had the hal.dll problem but when i've put the xp setup files on my 2 Gb sd card everything worked very well.

Anonymous said...

Works a treat i used a 1gb usb cruzer and a dell setup disk.

Cheers for that!!!

Anonymous said...

do i need to have XP on a cd to be able to do this - i.e. cannot just take the XP files from my existing laptop?

also, what capacity USB drive will i need?


thank you

Julian said...

thanks a ton for this. just got XP installed on my eee with only a few small hickups. special thanks to noren with the updated script as this solved my problems.

Anonymous said...

really need help with this keep on getting the hall dll error that others are getting what can i do to fix i am using an sd card to do installation on a 2g eee pc

gaz said...

sed a cd drive evntually and got the install done putting office on now (just word excel and powerpoint) should still have 500mb left on the drive. Thanks for all the help with the guide anyway as it was intresting to try and do this (if not very fustrating).

Noren said...

Hi,

I patched this better :

http://ewandor1.free.fr/usb_prep8_fixed_by_noren.zip

The manual patch described above still works but it can cause some problems ;)

If you used the previous patch, don't worry, if the install was successful there is no problem !

I'll explain this better tomorrow when I'll have time ;)

Anonymous said...

hello to all

I just want to help

I also experienced the hal.dll error.

What i did was to re-install the windows and deleted all the partitions on my asus eee pc.

then it worked.

Brian

Anonymous said...

Hello, I'm triing to format my USB drive to put XP install on it. Nox, it's ok, but ... with the guide, I can't do that ...

I'm explaining.
When I try to set the location of my XP setup files, usb_prep do not reconize my files...
I've also follow your nLite guide for XP, but the created image doesn't contain XP Source Files.
In which way can I go?

Thanks.
Regards.

Anonymous said...

Hi!

Please help me. I can try install xp to my eeepc 4g and I following the instructions "Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message." But I'm afraid when I delete C: partition "BIOS FAT" my BIOS is crashed. the picture: http://haji.tvn.hu/DSC00658.JPG

thank you in advance

Anonymous said...

no... you MUST delete all partitions including named BIOS or you will be not able to install XP.