Dan D. wrote: > > On Sun Apr 22 20:36 , 'Tijnema !' <[EMAIL PROTECTED]> sent: > >>> The kernel is loading now, but I get another Error: >>> >>> VFS: Cannot open root device "hda3" or unknown-block(0,0) >>> Please append a correct "root=" boot option >>> Kernel panic - not syncing: VFS: Unable to mount root fs on >>> unknown-block(0,0) >>> >>> If I change in menu.lst the 'root (hd0,0)' entry to 'root >>> (hd0,2)', the kernel wont load and I get an Error 15: File not >>> found again. >> hmm, are you sure your $LFS partition is /dev/hda3? >> You should check it by running >> fdisk -l /dev/hda >> and you will see that there are atleast 2 partitions, one > is /dev/hda1 >> (/boot) and there should be another one containing root. >> >> I have nearly the same setup as you, i have /dev/hdb1 = /boot, >> /dev/hdb2 = /, /dev/hdb3 = swap. >> I installed grub with the same commands as you did (except that i > used >> hd1 where you used hd0), and my kernel line in menu.lst is this > one: >> kernel /lfskernel-2.6.26.38 root=/dev/hdb2 >> >> And that works fine. >> I guess that your / partition isn't /dev/hda3, but /dev/hda2. >> You could change it in /boot/grub/menu.lst each time, but you > could >> also edit the command temporary when booting, so that when the > grub >> boot menu appears, you can press e to edit a line, and then go > one >> down, so that it highlights your kernel line. then press e again, > and >> change the last option to another disk, you could try /dev/hda2 >> /dev/hdb3 /dev/hdd3 or even /dev/sda3 /dev/sdb3 in case you are > using >> SATA. >> >> Tijnema > > I am sure > /dev/hda1 is the boot partition > /dev/hda2 is the swap partition > /dev/hda3 is the / partition, where all the other stuff resides > > Im www.uni.de Apple Store findet ihr die Palette der Apple Produkte zum > Studentenpreis -- powered by uni.de --
I think Tijnema may have hit on something earlier. Make sure you have the proper IDE/ATA driver built into the kernel. If that isn't in the kernel, it won't find your drive. Joel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
