Results 1 to 2 of 2

Thread: VFS: Cannot open root device

  1. #1

    VFS: Cannot open root device

    Hi,

    I'm having problem compiling the new kernel linux-2.6.17.8.
    Error appears on boot-up:

    VFS: Cannot open root device "<<NULL>>" or unknow-block (8,8)
    Please append a correct "root=" boot option
    Kernel Pannic - not syncing VFS : Cannot open root device or unknow-block (8,8)

    And my grub looks like this:

    /etc/grub.conf

    title Fedora Core 5-new
    root (hd0,0)
    kernel /linux-2.6.17.8

    #lspci
    00:00.0 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
    00:00.1 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
    00:00.2 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
    00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
    00:00.4 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
    00:00.7 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
    00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
    00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID
    Controller (rev 80)
    00:0f.1 IDE interface: VIA Technologies, Inc.
    VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)


    I understand that the error shows that my IDE controller was not installed in
    the Kernel config. I selected in the make menuconfig:

    DEVICE DRIVERS --> ATA/ATAPI/MFM/RLL --> VIA82CXXX

    But the same error occur while rebooting the kernel. What should be enabled in
    the kernel to fix the problem? Any suggestions?

    I'am building Monolithic Kernel.

    Thanks,

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    It's telling you that you had not specified a root device in your grub config.

    Code:
    default=0
    timeout=5
    password --md5 $1$WKmXM1$oCg.S/hgVGAFQ5tdhTmQE0
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.17-1.2145_FC5)
            root (hd0,0)
            kernel /vmlinuz-2.6.17-1.2145_FC5 ro root=/dev/sys/root rhgb quiet
            initrd /initrd-2.6.17-1.2145_FC5.img
    title Fedora Core (2.6.17-1.2139_FC5)
            root (hd0,0)
            kernel /vmlinuz-2.6.17-1.2139_FC5 ro root=/dev/sys/root rhgb quiet
            initrd /initrd-2.6.17-1.2139_FC5.img
    Add the root partition to your kernel line in grub

Similar Threads

  1. Replies: 4
    Last Post: 07-08-2007, 07:15 AM
  2. USB Device
    By mugs in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 08-04-2003, 09:53 AM
  3. Device Drivers
    By vivekr in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 11-24-2002, 09:51 PM
  4. DSP-device fsk'd up ;-(
    By Pantheus in forum Linux - General Topics
    Replies: 28
    Last Post: 09-05-2002, 01:13 AM
  5. How to open GUI app. as root?
    By Phaete in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 07-20-2002, 05:44 PM

Bookmarks

Posting Permissions

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