Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all sorry for the silly question but when i boot to gentoo i get that : VFS :cannot open root device "<NULL>" or unknown-block (8,2) please append a correct ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Greece
    Posts
    187

    error


    Hi all sorry for the silly question but when i boot to gentoo i get that :
    VFS :cannot open root device "<NULL>" or unknown-block (8,2)
    please append a correct "root="boot option
    kernel panic :VFS unable to mount root fs on unknown-block (8,2)

    I have a serial ata hard drive as /dev/sda i install 2.6.5 kernel from the livecd
    and create a ext3 type partition in /dev/sda2
    Any suggestions?

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    It seems to be an issue of pointing the bootloaderor /etc/fstab to the correct partition and having devfs enabled in the kernel or emerging it from a recovery CD.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  3. #3
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    there are several reasons that this might happen, either way you will need to boot to the live cd to repair the problem. Here is a list of things to check:

    1. support for the filesystem you use on the / partition of your disk MUST be compiled into the kernel _NOT_ as a module.

    2. make sure the fstab includes the line containing mount info about the / filesystem and that the first part (the bit that reads /dev/hd*) points to the correct location.

    3. make sure that your /boot/grub/grub.conf has the correct syntax as the error sugests.


    From the error messege you posted and considering that you say /dev/sda2 is the root device then in grub it should be (0,1) not (8,2) which is what you have

  4. #4
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Greece
    Posts
    187
    i start install from the begining and here are my partitions:
    /dev/sda1 ntfs winxp
    /dev/sda2 /boot ext2 defaults 0 0 (added in mine gentoo fstab)
    /dev/sda4 swap (added in mine gentoo fstab)
    /dev/sda5 yoper /
    /dev/sda6 / ext3 defaults 0 0 (added in mine gentoo fstab)
    After in grub i had tried as root : root (hd0,1)
    and setup (fd0)
    I boot ok but the kernel say it can't find my root device and /dev/sda6 or /dev/sda2 can't accepted what can i do?I know i am near

  5. #5
    Just Joined!
    Join Date
    Apr 2004
    Location
    Florida
    Posts
    3
    shouldn't that be
    setup (hd0) to install in mbr or (hd0,1) for installing into /boot

  6. #6
    Linux Newbie robak's Avatar
    Join Date
    Jan 2004
    Posts
    136
    what about root (hd0,5) in grub config
    have you compiled the s-ata driver into the kernel? not as modules.

    have you another hd in your computer?
    make install not love

    Registered Linux user number 369245

  7. #7
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Greece
    Posts
    187
    The sata driver is compiled as module and i have only one sata drive.Tomorrow i will try to compile the kernel with the drive as build in.When i boot the kernel says me that root device not found and then it gives me a prompt and when i type /dev/sda6 it says that it isn't a valid block device.I hope it only needs a recompile with build in the sata driver in the kernel.I will try it and see

  8. #8
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Greece
    Posts
    187
    I recompiled the kernel and successfully i entered my gentoo system emerge kde and all is ok.Now i must optimize my system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •