LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2006, 10:37 AM   #1
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Rep: Reputation: 30
can't bott kernel - Kernel panic


Hi!

I have recompiled 2.6.15 kernel to make my USB mouse to work, but when I rebooted the system to start the recompiled kernel, it said:

Please append a correct "root=" boot option
Kernel panic - not syncing

How can I get back into the system without reinstalling linux? What does the message actually mean?

Thanks
 
Old 02-28-2006, 10:40 AM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
The message more than likely means that you forgot to compile in support for your root filesystem.

Can you choose a different kernel at the LILO prompt?
 
Old 02-28-2006, 10:53 AM   #3
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
I cannot choose a different kernel al LILO. This is exactly what the message is:

VFS: Canot open root device "303" or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount fs on unknown-block(3,3)
 
Old 02-28-2006, 11:24 AM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Looks like you'll need to boot from a Live CD and reinstall your old kernel into Lilo.
Unless of course you deleted the original kernel?
 
Old 02-28-2006, 11:27 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
And if you removed your old kernel (which you should never do), its still possible from the livecd to use chroot to recompile your kernel (unless the live cd has gcc, rare..) and put it back on /boot.

During configuration, be sure to do this:

Quote:
likely means that you forgot to compile in support for your root filesystem.
 
Old 02-28-2006, 11:36 AM   #6
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
I have removed the old kernel. So, I will use chroot.
Is Live CD the cd1-installation cd?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration