LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-06-2013, 05:46 PM   #1
usr345
Member
 
Registered: Jan 2012
Posts: 74
Blog Entries: 1

Rep: Reputation: Disabled
Kernel panic can't mount root partition


I have a machine with 2 OS-es:
Windows /dev/sdb1
Linux /dev/sdb2

In LILO it was written in this fashion and worked fine. But then I replugged the disks and now they are:

Windows /dev/sda1
Linux /dev/sda2

I changed the data in fstab, but still it panics. To my surprise, Windows loads correctly. Is it possible to make Linux load correctly without replugging the disks?
 
Old 01-06-2013, 05:53 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Have you also changed /etc/lilo.conf and re-run Lilo?
 
Old 01-07-2013, 01:00 AM   #3
usr345
Member
 
Registered: Jan 2012
Posts: 74
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Have you also changed /etc/lilo.conf and re-run Lilo?
No, cause I can't run Linux now.
 
Old 01-07-2013, 06:31 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Quote:
Originally Posted by usr345 View Post
No, cause I can't run Linux now.
Of course you can. Just use a live-CD or the install disk of your distro, nothing more is needed. If you need help with editing the files and running lilo from a live-CD I can help you with that process.
 
Old 01-07-2013, 08:40 AM   #5
usr345
Member
 
Registered: Jan 2012
Posts: 74
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Great, I used the install CD and now everything works. Thx.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiled Kernel: Kernel panic Unable to mount root fs on 08:02 pobrika Linux - Software 3 05-23-2008 02:29 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 02:29 AM
Kernel Panic! could not mount root fs. Please help me out. TruongAn Linux - Software 1 10-20-2005 08:45 AM
Kernel Panic: can't mount root fs gtanghookup Linux - Software 10 12-03-2003 05:14 PM


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

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