Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-02-2007, 06:28 PM   #1 (permalink)
The pWnster
 
Vyasram's Avatar
 
Join Date: Oct 2004
Location: Karaikudi,TN
Posts: 841
Default Kernel Panic in Ubuntu


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
__________________
Sigs suck
Vyasram is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-02-2007, 06:39 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Kernel Panic in Ubuntu

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.
Quote:
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
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 13-02-2007, 07:11 PM   #3 (permalink)
The pWnster
 
Vyasram's Avatar
 
Join Date: Oct 2004
Location: Karaikudi,TN
Posts: 841
Default Re: Kernel Panic in Ubuntu

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)
__________________
Sigs suck
Vyasram is offline  
Old 13-02-2007, 10:02 PM   #4 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Kernel Panic in Ubuntu

Post the contents of /etc/fstab and the output of fdisk -l from a live cd.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 13-02-2007, 10:26 PM   #5 (permalink)
Security Exp
 
47shailesh's Avatar
 
Join Date: Apr 2006
Posts: 734
Default Re: Kernel Panic in Ubuntu

View this post it would certainly help ya...

http://forums.gentoo.org/viewtopic.php?t=122524
__________________
We Love Once, And When We do We do it Well
47shailesh is offline  
Old 14-02-2007, 05:29 PM   #6 (permalink)
The pWnster
 
Vyasram's Avatar
 
Join Date: Oct 2004
Location: Karaikudi,TN
Posts: 841
Default Re: Kernel Panic in Ubuntu

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
__________________
Sigs suck
Vyasram is offline  
Old 14-02-2007, 05:55 PM   #7 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Smile Re: Kernel Panic in Ubuntu

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  dpkg-reconfigure linux-image-`uname -r`
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`
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org

Last edited by freebird; 14-02-2007 at 05:55 PM. Reason: Automerged Doublepost
freebird is offline  
Old 14-02-2007, 06:56 PM   #8 (permalink)
The pWnster
 
Vyasram's Avatar
 
Join Date: Oct 2004
Location: Karaikudi,TN
Posts: 841
Default Re: Kernel Panic in Ubuntu

nothing worked , so i just reinstalled the kernel , now everything is working fine

thanks for ur replies anyway
__________________
Sigs suck
Vyasram is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2