DIGIT-ARC read-only archive · snapshot: July 23, 2026

Kernel Panic in Ubuntu

8 posts · originally from https://geek.digit.in/community/threads/kernel-panic-in-ubuntu.49388/

Vyasram
Vyasram Original post #1
Feb 13, 2007 at 6:28 PM
I am using ubuntu 6.06 x64 and everything was fine. But today, the kernel 2.6.15-28 gave me an error

Code:
VFS: Cannot open root device 
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on (sda3)

2.6.15-27 is running fine in the same ubuntu installation, plz help
M
Feb 13, 2007 at 6:39 PM
You have a SATA disk, right.
Boot into a live cd and edit /boot/grub/menu.lst
Find the entry which corrosponds to the one which you boot from
eg. if you select "Ubuntu Linux 6.06" from the GRUB then edit the entry under fstab that says Ubuntu Linux 6.06. eg.
title Ubuntu Linux 6.06
root (hd0,2)
boot /boot/vmlinuz-2.6.16-28-x86_64
savedefault
Now edit the boot line to
boot /boot/vmlinuz-2.6.16-28-x86_64 root=/dev/sda3
Vyasram
Vyasram #3
Feb 13, 2007 at 7:11 PM
now i'm getting this in that kernel version

Code:
Booting the Kernel
RAMDISK ran out of compressed data
Invalid compressed format(err=1)
kernel panic - not syncing: VFS : unable to mount root fs on unknown block (0,0)
M
Feb 13, 2007 at 10:02 PM
Post the contents of /etc/fstab and the output of fdisk -l from a live cd.
47shailesh
Feb 13, 2007 at 10:26 PM
View this post it would certainly help ya...

*forums.gentoo.org/viewtopic.php?t=122524
Vyasram
Vyasram #6
Feb 14, 2007 at 5:29 PM
fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda3       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda1       /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda10      /media/sda10    ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda11      /media/sda11    ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda5       /media/sda5     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda6       /media/sda6     vfat    defaults,utf8,umask=007,gid=46 0       1
/dev/sda7       /media/sda7     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda8       /media/sda8     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda9       /media/sda9     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/sda4       none            swap    sw              0       0


also while booting into recovery mode i'm still getting the previous error

@shailesh

i haven't tried ur suggestion yet, it will try it out soon and post
freebird
Feb 14, 2007 at 5:55 PM
you should try making the initrd image again.but before that try to chroot into the ubuntu install from ubuntu livecd.
Code:
~$sudo  chroot  /media/sda3  /bin/bash
~$sudo  [SIZE=-1]dpkg-reconfigure linux-image-`uname -r`[/SIZE]
then edit ur /boot/grub/menu.lst to add
Code:
title    Ubuntu Edgy
root        (hd0,2)
kernel        /vmlinuz-2.6.15-x root=/dev/sda3 ro quiet splash
initrd        /initrd.img-2.6.15-x
quiet
savedefault
boot
try this.make sure that U mounted ur ubuntu hdd partn in livecd mount dir.then run update-grub command as sudo user
__________
OR U can manually update initrd using
Code:
~$ sudo update-initramfs -u  `uname -r`
Vyasram
Vyasram #8
Feb 14, 2007 at 6:56 PM
nothing worked , so i just reinstalled the kernel , now everything is working fine

thanks for ur replies anyway :)