On 4/22/07, Dan D. <[EMAIL PROTECTED]> 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

Could you give some details about partition type, and hard drive (
(P)ATA / SATA ).
And you should  check kernel configuration.
Also, you could add the following option to the kernel line:
vga=6
which gives you more small letters, and now, you can watch a bigger
part of the kernel booting process, somwhere in the process it should
display that it found your hard drive, and displays which partitions
are on that drive. If it's correct, it should display something like
hda: hda1 hda2 hda3
If you see that, i'm nearly sure that it is a problem with your
filesystem, like Alan said, you should check if it's compiled directly
into the kernel, and not as a module.
If you don't see that, then your kernel probably doesn't find you hard
drive, and you need to compile drivers for it into the kernel.
If you don't see hda, but something else like sda: sda1 sda2 sda3,
then you should change the root= to root=/dev/sda3

Tijnema
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to