LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2012, 08:00 AM   #1
RaviTezu
Member
 
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
Kernel panic error after coping /boot dir!!


Hi,

I have 2 machines(same hardware & both are running with Centos 5.3).
Unfortunately one of the servers is not booting up. so i placed the hard disk of this server into the other one.
Then,
i mounted it..was shocked as i didn't find the /boot directory(i dont know why this happened). so i copied the /boot dir of the current server into the hard disk(in which /boot is missing).
i placed the disk back into the machine and started it,
which results in kernel panic error.
Can any one please help me?
& let me know , are there any other parameters that i have to change in order to get this machine work??
I'm ready to post any other further info. if you need.

Thanks
 
Old 11-13-2012, 11:27 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
Quote:
I have 2 machines(same hardware & both are running with Centos 5.3).
Unfortunately one of the servers is not booting up. so i placed the hard disk of this server into the other one.
Then,
i mounted it..was shocked as i didn't find the /boot directory(i dont know why this happened).
You mounted it as what?
When did you mount the external hard drive? Hot plugged?
What file systems you used with the additional drive? and the the one running?


Quote:
so i copied the /boot dir of the current server into the hard disk(in which /boot is missing).
This is where a little problem becomes a big real problem. You should have not altered anything on the "guest" harddrive. If two machines are of same 'brands' they might be similar to you, but they are not mathematically "equal", much to the kernel.


Quote:
i placed the disk back into the machine and started it,
which results in kernel panic error.
What else do you expect? That's the result of altering root files and having fed to the /proc and /sys something that the /boot and /var did not expect. I might favor divorce but I always give due respect to the marriage between machine and operating system after solemnizing the installation: either of the two panics before any hint of surprise.

Quote:
Can any one please help me?
& let me know , are there any other parameters that i have to change in order to get this machine work??
I'm ready to post any other further info. if you need.
Do not boot the guest hard drive yet. Plug it again as an external storage to a running system. Find out what root directories are missing. Run 'fsck' without 'a' nor 'p' switch. If the file system is corrected fill it up with the missing root files. rsync or tar it from your back ups (you certainly have back ups, right?). Then try boot it to its own native machine (do not boot it as a swapped to another machine.) You may need to reconfigure few things from the boot loader.

Hope that helps.

Good luck.

Last edited by malekmustaq; 11-13-2012 at 11:29 AM.
 
  


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 Panic Error Message on boot for FC5 gotrojan Fedora 6 02-07-2007 01:40 PM
Vfs: Kernel panic boot error JamesKelson Slackware 3 02-19-2006 05:27 PM
Weird Kernel Panic and boot error Daegalus Slackware 6 01-19-2005 05:59 PM
VFS: Kernel panic error at boot (2.6.10) deveraux83 Slackware 2 12-30-2004 02:36 AM
unable to boot!!!!! kernel panic error Xavius Slackware 5 11-01-2004 08:20 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration