--- Mark Knecht <[EMAIL PROTECTED]> wrote:
> Yes, it's the exact same kernel. All I've done is > create a couple of > partitions on the flash drive, make one a small > bootable on the flash > drive, copy over the hard drive's boot partition and > then start > editing the grub.conf file on the flash drive to try > and get it to > work. Additionally I've created the top level > directories on the root > partition so that I have boot/root/home/var > directories, etc. I'm sure > there's better ways to do this but I felt like > exploring things a bit > instead of just following HOWTO's. I wanted to > understand a bit more > about what's really needed, etc., to make this work. > > OK, so I have a grub.conf file that looks like this: > Like what? :P > > When I boot I get this sort of message at the end of > the boot: > (copied by hand from the screen) > > VFS: Cannot open root device "sda2" or unknown block > (0,0) > Please append correct "root=" boot option > Kernel panic - not syncing VFS: Unable to mount root > on unknown block (0,0) > 5 Vendor: Memorex Model: TD 2C Rev 1.04 > type: Direct access ANSA SCSI revision: 00 > SCSI assuming write enabled > SCSI assuming drive cache: write through > > It stricks me as I write this that I know so very > little about > /dev. I've done nothing to create /dev hoping that > it was all done > automatically by the boot process with udev. Maybe > that's not the case > and if not could be a huge problem since there's > nothing in /dev on > the flash drive at the moment. Well, you haven't gotten far enough for this to be a problem yet since the root filesystem did not mount. Anyways, it's covered in the udev guide: http://www.gentoo.org/doc/en/udev-guide.xml > > Anyway, that's where I'm at. I need to go do some > reading I think, > but if you see something obviously wrong I'd > appreciate the pointers. > > Also, I'm assuming this can be done on a 512MB > flash drive since > Unversal boot disks aren't much larger, right? > Probably. You can save space with a compressed filesystem like jjfs or squashfs. You probably want to mount it read only since flash has limited write cycles. You say the kernel messages indicate that the flash disk was recognized as sda so I'm not sure why it's not mounting for you. I looked through linux/Documentation/kernel-parameters.txt and saw a "rootdelay" parameter. With the modules I need a delay for the usb drivers to initialize. Maybe you need that too. Try rootdelay=5 or rootdelay=10 or something. Zac __________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/ -- gentoo-user@gentoo.org mailing list