LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 02-24-2012, 10:21 AM   #1
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Rep: Reputation: 3
Debian Kernel Panic!


I compiled a new kernel 3.2 with RT patch. Installation went fine. I did not use initrd image because I used the correct drivers for the setup. On booting process, it gives me this error.


Code:
kernel panic not syncing VFS unable to mount on unknown device etc.
While the original kernel works fine. On Googling it appears to be a problem with the device its mounting on. Here is my grub cfg content:

Code:
menuentry 'Debian GNU/Linux, with Linux 3.2.6-rt13' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set 4c912b0a-53a1-494e-b8c1-359686e1fbe6
	echo	'Loading Linux 3.2.6-rt13 ...'
	linux	/boot/vmlinuz-3.2.6-rt13 root=/dev/xvda1 ro  quiet
}

menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set 4c912b0a-53a1-494e-b8c1-359686e1fbe6
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=4c912b0a-53a1-494e-b8c1-359686e1fbe6 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
It appears both are trying to mount on /dev/xvda1


What could be the solution?
 
Old 02-24-2012, 04:16 PM   #2
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
Try editing the new menu entry and use the same "root=UUID=" statement as the old one. The new kernel doesn't change where the root file system is.
 
Old 02-24-2012, 05:35 PM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Thread reported - Duplicate of http://www.linuxquestions.org/questi...c-help-931067/

Cheers,

Josh
 
Old 02-25-2012, 01:15 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian 6.0 - custom kernel compile Kernel panic - not syncing: VFS: Unable to mount Bono Debian 5 05-06-2011 06:18 PM
Debian Lenny 2.6.34 kernel panic addux Linux - General 3 05-18-2010 11:41 AM
Kernel panic and VFS error with new kernel on debian liptaka Linux - Kernel 1 02-19-2008 11:38 AM
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 07:00 AM
Kernel panic (Debian: migrating from 2.4 to 2.6 kernel) VertX Linux - Software 4 02-05-2005 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration