Aha! Not all usb media register the same way in the BIOS as bootable media.

When I choose "USB Hard Disk Drive" from the boot menu, I can actually boot from the USB stick (the cruzer I was working with earlier)! Yay! ^_^ And I can boot from an SDHC card in the built-in SD card reader (I was experimenting with that too).

Confusing - very confusing. I don't understand why the 1GB Sony usb stick need to be booted as a USB Flash drive but the 4GB Fat32 media with Windows needs to be booted as "USB Hard Disk Drive"??? :wacko:

Was it because it was 'FAT'? Was it because it has a different method of booting on it (hidden ldlinux.sys file)? I would like to understand all of these things - boot methods, boot loaders, mbr, bootsectors, flash drives, usb drives, sdcards, floppies, formatting, the BIOS and why it determines that some of these are in one category and some of them are in a different category. Anyone know of good reference, perhaps on Amazon?

Details:

I ran through various experiments, starting with the knowledge that my BIOS would boot from a small size FAT formatted usb stick. I didn't know if that was because it was small or because it was linux. So I moved up to a 2GB card which was also FAT formatted - put clonezilla (linux-ish) on it. I don't have a 2GB USB stick - that's why I started with SD cards. I put Clonezilla Live on two different 2GB cards from two manufacturers - Sandisk and Lexar (each fat formatted). I don't know why - maybe frustration - but I threw all of the possible options for the boot menu into the enabled part of the menu, ahead of the internal hard disk drive. That's when I found that a 2GB card would boot.

At that point I made the assumption that from the BIOS point of view "USB Flash" = USB stick, and "USB Hard Disk Drive" = SD card. But that was a misunderstanding on my part.

I now knew that 2GB FAT cards were bootable (as USB Hard Disk Drive), and 1 GB stick (as USB flash) too. At least for ldlinux.sys type of booting.

I moved on to a 4GB SanDisk card. I used Easeus to 'wipe' the disk, create a primary unformatted partition, make it active, format it as FAT16 (it didn't complain about using FAT16 with 4GB of storage - but I thought FAT16 doesn't go up to 4GB?). I copied the Clonezilla Live files to it, and ran 'makeboot.bat' so it would create ldlinux.sys file in the root folder. I rebooted - and Clonezilla Live started up.

So now I knew that the problem was not the size of the media. (Btw, when I looked at the disk in Windows XP, it said 'RAW', but EPM said it was 'FAT16')

Next, I removed ldlinux.sys from the 4GB sd card, and copied the windows installation files to it. I rebooted. I got the message "Boot error". I booted back into XP. I moved the rest of linux files off the SD card. I used EPM - right-clicked the disk - selected 'Rebuild MBR'. It didn't matter which type I selected (7, Vista, or XP) - all of them still said "boot error" when I tried to boot them.

Puzzled, I 'started over'. I used EPM to wipe the disk (4GB sd card), create a primary unformatted partition, set active, format as FAT32, labeled GRMCPRXFRER. I checked the box to 'shutdown when done'. When it was done and it was time to reboot, the machine just had a blinking cursor and a blank screen. I guess it was trying to boot from the sd card because it was 'primary' and 'active', but there was nothing on it yet.

Booted back into XP. XP said the disk's format is 'RAW' but EPM said its format is FAT32. I used Virtual CD Control (unsupported Microsoft software) and 7z with -mtc option to extract the files from the ISO image and preserve the timestamp information, into a newly created .7z archive… (wasn't sure if it mattered, but just in case…) Extracted the files back out of the 7z archive onto the 4GB sd card. (If I'd copied them straight from the virtual CD drive to the sd card, the timestamps of the folders would not have been preserved).

Rebooted. Again, just blinking at me. Booted back into XP. Used EPM to 'Rebuild MBR'. Didn't matter whether I chose XP, Vista, or 7, each time the result was the same. Instead of saying 'boot error', each time I got the message
"NTLDR is missing".

Okay - so then I gave up trying to do this from Windows XP. I booted into Windows 7, which I'd installed from the DVD already.

I performed the 'diskpart', 'boot sect' and copy steps described earlier in this thread and also on Kevin's blog. (I probably re-used the .7z archive to preserve the time stamps again, instead of a straight 'copy-and-paste' of the files).

Then I rebooted and I got the message that the files were being loaded, i.e. I'd booted into the installation/setup for windows. :D

Somewhere in this whole process, I'd stopped and baked myself 5 mini-loaves of zucchini bread. It just helps to put things down and do something fun and creative. And it feels good to have something tasty to consume and share with others when other efforts seem to be going nowhere & are seemingly unproductive. If there were an emoticon for zucchini bread instead of popcorn, I would insert it here :)

The nice thing about having the installation on an SD card is that there is a 'write-lock' on it, so I won't accidentally overwrite it and have to start over again (unless I want to).

That was yesterday… So today at some point, it occurred to me that maybe the BIOS identified or differentiated a USB Flash device from a USB HDD based on how it was formatted and set up as bootable rather than it's actual physical shape (SD card vs a 'stick'). So I shut down the computer, put the cruzer I set up on May 4th into the USB port, turned the power on, went into BIOS and threw all of the choices onto the boot menu except for 'network', and then saved and exited bios. And it that's how I figured out the USB Stick is also bootable - just not as 'USB Flash'.

I"m still confused, but I really like learning about this kind of stuff. Any suggestions about where can I read more so I can experiment some more?

I just might try that ximage thing, now that I've had some success with this part. :yeah: :weee: