A friend of mine liked my Eee PC netbook so much, he bought one of his own. Only he bought a 901 instead of a 900, which means he has an Atom processor as opposed to a Celeron and a high-gloss finish that attracts fingerprints. He also went with 12GB of storage, comprised of a 4GB and 8GB SSD's, and Windows XP.
Well, Asus had this crazy idea to install XP on the 4GB SSD leaving the 8GB wide open. I'm sure they have their reasons for this, but the fact of the matter is no matter how much registry hacking you do to move Program Files, move the swap file, move My Documents and try to remember to always save programs to D:, the C: drive still fills up pretty fast. So he gave the netbook to me for the weekend to see if I could get XP installed on the 8GB.
First and foremost, you MUST have a PC already running Windows in order to do ANY kind of recovery on an Asus Eee PC. If the Eee PC is the only PC in your possession.... how are you reading this Blog?
So what tools do we have available to us.... An Asus recovery DVD?
Well, I don't have a USB DVD drive. I can take apart a hard drive enclosure and just use the IDE and power adapters from the insides and hook them up to a regular ol' DVD drive. Optical drive or hard drive, an enclosure simply doesn't care. It works either way. Let's just say I don't have anything that converts IDE to USB, or anything I really want to take apart to get the job done. Let's say all I have is a thumb drive.
How do I make a thumb drive bootable? Here's what I did because I wanted to partition and format the drives from scratch (if you're not going to re-partition, scroll down):
The software of choice is actually Hewlett Packard's USB Disk Storage Format Tool. Once you download and install this program on your one working PC that's not an Eee PC (ahem), run it and you'll get a small window that asks what device you want to make bootable (pick the USB thumb drive), what file system you want to use and what label you want to use on the volume. Check the box for "Create a DOS startup disk", install a Windows boot floppy and point the application to the A: drive for the system files.
Wait... You don't have a Windows boot floppy?
That's ok. Images of 9X OS rescue floppies are everywhere on the web. I personally use a Windows 98SE image without the RAMDRIVE option. Yes, a Windows ME floppy is "newer" than 98, but they got rid of the ability to format a drive and then transfer system files over to it with ME and you're going to need to be able to do that.
When the HP USB Disk Storage Format Tool is done, you'll find that there are still no files on the USB drive. That's because the HP software only copies over the boot sector, so you're going to want to drag and drop all of the stuff from the floppy to the USB drive. Don't forget to have Windows show system and hidden files and feel free to edit the CDROM stuff out of the CONFIG.SYS and AUTOEXEC.BAT so it boots up faster.
Now we want our Windows setup files on the thumb drive. Copy them over from the Asus recovery DVD? Umm... no. There's no way to run the install without booting off the DVD, so I used "any old" XP Home OEM (as opposed to retail) CD. Besides, the Asus recovery DVD just puts everything back the way it was from the factory. We don't want that. We want XP on the 8GB SSD! If you have a Dell, HP or eMachine or something that uses XP Home, you can use that same CD. If you don't have an XP Home CD, Torrent one. Is that breaking the law? Come on.... I'm not asking you to use someone else's COA or anything. You just need the media.
Back on track... we want our Windows setup files on the thumb drive. Just right click on the "I386" and "Send to REMOVABLE DISK (?:)" where "?" is the drive letter of your thumb drive.
Since we're using an off the shelf XP Home, let's take this time to talk about enabling some of the features of Windows Professional. I didn't have an extra (legal) XP Pro COA, did have an XP Home COA, but needed to join the PC to a domain. I found this hack invaluable. It worked like a charm.
Once that's done, you can plug the thumb drive into the Eee PC and fire it up.
Once you boot up in Windows 98SE via your thumb drive, you can run FDISK to remove old partitions from the two SSD's and make new ones. Make the 4GB drive active (you can't make the 8GB active because it's a slave. If the SSD's in the Eee PC were SATA, you could do that, but they're not. They're EIDE), reboot and the USB drive should change it's drive letter from C: to E:. Now you can do a "FORMAT C: /S", then "FORMAT D:" and your SSD's are now blank and bootable (well... at least the 4GB is bootable).
But wait! You just partitioned these drives as FAT32 and XP works best on NTFS!
No big deal. It's faster and easier to dig up a Win 9X boot disk and use the CONVERT command built into XP to convert the drives into NTFS then it would take for you to find a drive utility that could partition a drive as NTFS right off the bat.
Copy HIMEM.SYS and SMARTDRV.EXE over to the C: drive and run EDIT from the thumb drive. Type in "DEVICE="C:\HIMEM.SYS", hit "ALT+F" and the FILE menu should drop down. Go down to "SAVE AS" and save this as "C:\CONFIG.SYS". Now "ALT+F" and then "NEW" and type in the edit window, "C:\SMARTDRV.EXE". "ALT+F", "SAVE AS" and save this one as "C:\AUTOEXEC.BAT".
Now we want to copy the "I386" folder over from the thumb drive to one of the SSD's (doesn't matter which one). You can do this with XCOPY from your 98SE thumb drive, but I've found that working in a 32-bit environment is a lot faster.
Here's how you run a 32-bit OS off a thumb drive and where you should start reading if you didn't want to re-partition the drives:
There's a great little program on the web called BartPE. It's like Microsoft's WinPE except the Bart's is a GUI as opposed to Microsoft's text based program. You'll need the Windows XP installation files from an original XP CD to create a BartPE boot image, but everything else you need is on the web (well.. I guess the XP CD is on the web too, but I digress) and linked in this forum post from the Bart Man himself. Once you make your BartPE bootable thumb drive, copy the I386 folder from an XP CD over to the thumb drive. Make sure it's a Windows XP CD with a "WINNT.EXE" in the "I386" folder.
Once in Bart's environment, you can use the file management tool to format the two SSD's and copy all of the "I386" files over from the thumb drive to one of the SSD's. Pop out the thumb drive, boot off the SSD and change directories to the "I386" directory. Run "WINNT.EXE" and off you go.
If you used the Windows 98SE floppy image to FDISK and format the SSD's, you're going to want to convert the drives over from FAT to NTFS. During the first part of the XP installation, you'll be asked if you want to convert the partition you're installing on over to NTFS. Answer yes and on the next reboot it'll do the conversion which takes about a minute. Once you have XP up and running, you can do the other drive using the CONVERT.EXE program that comes with XP. Just go to a command prompt and type "CONVERT ?: FS:NTFS" (Where "?" is your drive letter). Keep an eye on the screen because it's going to tell you what the volume label is and then ask you to type it in to confirm you want to do the conversion. If you're trying to convert the boot sector, CONVERT is going to tell you the drive is locked and has to reboot before it can do a conversion. This is totally normal.
Since we're talking about Windows CD's and I386 and all, I figured I throw in a plug for Magic ISO. This program lets you take ISO images and edit them before burning them to CD or, create a whole new ISO with your changes. How is this relevant? Well, when I hacked my XP Home to have XP Professional features using the aforementioned hack, I created a bootable ISO of that version of Windows for future re-installs. I simply made an ISO image of my XP CD, opened it up in Magic ISO, grabbed the "I386" folder, edited the necessary files, saved, copied the files back over into the ISO and burned a new CD. Keep in mind that the free version of Magic ISO only works up to 300MB of data, so if you have to burn a full CD or ISO image of a full CD, you'll need to pay for the software. I'm telling you that IT'S WORTH IT.