Professional Web Applications Themes

2.6.1 and Unable to mount Root partition - Linux Setup, Configuration & Administration

I'm making my first attempts at getting a 2.6 kernel running on my Debian (Sarge) box. Upon boot I get "Kernel Panic: Unable to mount VFS "305" or /dev/hda5 root partition" or something similar. /dev/hda5 is ext3 and ext3 has been selected to be built into the kernel (via menuconfig). The disk itself is fine: I reboot into my old 2.4.20 kernel w/o problem. gcc 3.3.2 tune2fs 1.35 module-init-tools 3.0-pre2 Any suggestions? -j...

  1. #1

    Default 2.6.1 and Unable to mount Root partition

    I'm making my first attempts at getting a 2.6 kernel running on my
    Debian (Sarge) box. Upon boot I get "Kernel Panic: Unable to mount
    VFS "305" or /dev/hda5 root partition" or something similar.
    /dev/hda5 is ext3 and ext3 has been selected to be built into the
    kernel (via menuconfig).

    The disk itself is fine: I reboot into my old 2.4.20 kernel w/o
    problem.

    gcc 3.3.2
    tune2fs 1.35
    module-init-tools 3.0-pre2

    Any suggestions?

    -j
    JVarsoke Guest

  2. #2

    Default Re: 2.6.1 and Unable to mount Root partition

    JVarsoke uttered the immortal words:
     

    Adding append="ramdisk_size=8192" to lilo.conf did it for me.

    I can't see the point of upgrading to 2.6 yet though. The system I tested
    2.6.0 on ran a lot slower and the sound card, which works beautifully with
    the 2.4 kernel, wouldn't work.

    I'll wait until 2.6 gets to 2.6.4 or later before I try it in anger.

    --
    Andy.
    Andy Guest

  3. #3

    Default Re: 2.6.1 and Unable to mount Root partition

    Andy Fraser <com> wrote in message news:<linuxuser.org.uk>... 
    >
    > Adding append="ramdisk_size=8192" to lilo.conf did it for me.[/ref]

    Nope, same error.

    I've also tried:
    eliminating "lba32" from lilo.

    mkinitrd -o /boot/initrd-2.6.1.img 2.6.1 w/
    initrd=/boot/initrd-2.6.1.img in LILO
    CONFIG_EXT2_FS=y
    CONFIG_EXT3_FS=y
    CONFIG_EXT3_FS_XATTR=y

    Don't know what else to try. Suggestions?

    -j
    JVarsoke Guest

  4. #4

    Default Re: 2.6.1 and Unable to mount Root partition

    Andy Fraser <com> schrieb:
     

    I can tell other story. Since 2.6.0-test3 I tried all prereleases and
    run 2.6.1 now. It is more responsive, particular on network
    connections, and sound works great with the integrated alsa driver.
    There seems to be some problems with USB memory devices, though.
    Eggert
    Eggert Guest

  5. #5

    Default Re: 2.6.1 and Unable to mount Root partition

    On Monday 12 Jan 2004 10:08 am, Eggert Ehmke uttered these immortal words:
     
    >
    > I can tell other story. Since 2.6.0-test3 I tried all prereleases and
    > run 2.6.1 now. It is more responsive, particular on network
    > connections, and sound works great with the integrated alsa driver.
    > There seems to be some problems with USB memory devices, though.[/ref]

    I've pretty much left the 2.6 kernel alone until now, too much other stuff
    to do :-)

    I can remember the move from 2.2 to 2.4 was painless. I think, for now at
    least, the move to 2.6 isn't going to be so easy.

    --
    Andy.

    Andy Guest

  6. #6

    Default Re: 2.6.1 and Unable to mount Root partition

    com (JVarsoke) wrote in message news:<google.com>... 
    > >
    > > Adding append="ramdisk_size=8192" to lilo.conf did it for me.[/ref]
    >
    > Nope, same error.
    >
    > I've also tried:
    > eliminating "lba32" from lilo.
    >
    > mkinitrd -o /boot/initrd-2.6.1.img 2.6.1 w/
    > initrd=/boot/initrd-2.6.1.img in LILO
    > CONFIG_EXT2_FS=y
    > CONFIG_EXT3_FS=y
    > CONFIG_EXT3_FS_XATTR=y
    >
    > Don't know what else to try. Suggestions?
    >
    > -j[/ref]

    Have you installed the DEVFSD package? I was getting tons of errors
    like yours until I installed this package.
    Ryan Guest

  7. #7

    Default Re: 2.6.1 and Unable to mount Root partition

    com (JVarsoke) wrote in message news:<google.com>... 

    I am successfully running kernel 2.6.1 on redhat 9. I faced the same
    problem

    "Kernel Panic: Unable to mount VFS "305" or /dev/hda5 root partition"

    My root partition was ext3 and default option for kernel compilation
    makes ext3 filesystem to load as module. I compiled ext3 filesystm
    into my kernel and the root partition was mounted without an error
    after that.
    AhaIndia Guest

Similar Threads

  1. How to mount a FAT32 partition?
    By circuit_breaker in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: November 13th, 11:44 AM
  2. Unable to mount root fs ...... !!!!!!
    By babas666 in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: October 31st, 07:49 AM
  3. New Kernel - VFS: Unable to mount root fs on 304 or unknown-block(3,4)
    By Robert in forum Linux Setup, Configuration & Administration
    Replies: 10
    Last Post: October 21st, 01:34 PM
  4. KERNEL PANIC: VFS: Unable to mount root fs on 01:00
    By Paul A Morgan in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: July 18th, 07:19 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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139