On Sunday 04 July 2010 19:56:05 Saxon Landers wrote: > "" > I'm making a *swag* on this. I'll bet your 'sdb' is called 'sdb1' or has > a uuid given to it by the Ubuntu kernel. Open a terminal in Ubuntu and > run `dmesg` (You can pipe to `grep` and search for sdb if you don't want > to read the whole thing.) Find where the Ubuntu kernel recognizes and > mounts sdb and see what it's called. Then you can edit all the stuff in > your LFS to reflect that--fstab, udev, etc. > "" > no, it isnt, i checked. everything is mounted as sdb, without a > partition number (i have checked dmesg and df, both give the same answer) > > "" > You have configured grub incorrectly, albeit inadvertently. > > When you boot from your hard drive, that drive will be /dev/sda, forcing > the > USB drive to be /dev/sdb. However, when you boot from the USB stick, *it* > is /dev/sda and the hard drive will be /dev/sdb. > > So change your LFS to point to /dev/sda and it should work. > "" > > I had forgotten about that :/ > Just re-installed GRUB with that in mind, but im still getting a panic. > (see below for more info) > ... > List of all partitions: > 0800 321571224 sda driver: sd > 0801 1228800 sda1 > 0802 211340376 sda2
Hmmm. Sure appears that the device from which you are booting has a partition table on it. 'fdisk --list /dev/sda' or 'sfdisk --list /dev/sda' may yield a clue. (Use /dev/sdb from your build system.) Clearly, since it's booting, it's finding /boot. So on the kernel line in menu.lst, try setting 'root=/dev/sda1' or 'root=/dev/sda2'. Keep plugging away. Even after you 'learn to see', you'll still be running blind during early boot. I've been doing this stuff for at least 20 years, with UNIX, SunOS, Solaris and Linux, and I *still* have to plug away at times. In other words, I still have occasion to point the shotgun in pseudo-random directions and pull the trigger; eventually I hit the broad side of the barn. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
