On 6/9/05, Zac Medico <[EMAIL PROTECTED]> wrote: > Hi Mark, > > I boot from a usb hard disk and I don't really have to > do anything special. Well, actually I load modules > from a genkernel initrd but that doesn't apply here > since you built in the drivers. > > This is the same exact kernel that you were using from > the hard drive, right? What's your kernel command > line? I assume that the error occurs when the kernel > goes to mount the root filesystem. Exact details of > that error may be helpful. > > Zac
Hey Zac - thanks for writing back. 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: 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. 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? thanks, Mark Thanks, Mark -- gentoo-user@gentoo.org mailing list