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.

527 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 post 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 post 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 her