LinuxQuestions.org
Register a domain and help support LQ
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 09-21-2010, 12:03 AM   #1
ET_
LQ Newbie
 
Registered: Sep 2010
Location: CA
Distribution: Slackware 13
Posts: 3

Rep: Reputation: 0
can't boot linux after moving drives - "Kernel panic - not syncing: No init found"


Hello.
This is my first post here. I usually find answers just reading, but this time I need to ask for help.
I moved my boot drive and windows drive to a different controller on my motherboard, as well as move the drives that make my linux RAID to different ports, but in the same controller. I ended up with the Kernel panic error.
I then read that when moving drives fstab and lilo.config need to be changed accordingly. I did that by entering though a live cd. Now the problem is booting into Linux and running the command lilo, as I've read I have to after changing lilo.config.

If this actually isn't going to fix the problem. Then I would really appreciate any help on the matter.

Thanks.
 
Old 09-21-2010, 12:44 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Could you not run "lilo" from the LiveCD?

Possibly boot the Slackware CD1 and choose your present
/ fs where your drive is actually located. Then you would
be in your system and "lilo" should work.

Another method is to boot with Slackware CD1 then chroot
into your system.

As for the RAID you'll need to reassemble it once you get
the system sorted out.
 
Old 09-21-2010, 01:29 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

As stated above use rescue mode.You can also use trail and error method like trying root(tab--->)[to get the device naming] at grub prompt.Also kernel tab key...
 
Old 09-21-2010, 02:08 AM   #4
ET_
LQ Newbie
 
Registered: Sep 2010
Location: CA
Distribution: Slackware 13
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks you guys. I tried your suggestions, but it only half worked. I was able to use the lilo command, but it couldn't overwrite the old install for some reason. So I went searching some more and found a script to reinstall lilo and that solved everything. I appreciate your help though.

Thanks

~E.T.
 
Old 09-21-2010, 05:16 AM   #5
ET_
LQ Newbie
 
Registered: Sep 2010
Location: CA
Distribution: Slackware 13
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

by the way, to any onlookers
the script in slackware was "liloconfig".
It skips the installation all the way to the lilo setup part. Solved everything.
I realize now that the drive names didn't change either. Even though sda was moved to a different controller and shouldn't be sda anymore(more like sde), it still held as sda.

~E.T.
 
  


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
Explained: "kernel panic - not syncing - attempted to kill init" sundialsvcs Linux - Software 36 04-24-2010 08:58 AM
PXE Boot Error: "Kernel panic - not syncing: Attempted to kill init!" veeruk101 Linux - Networking 1 07-18-2007 03:30 PM
"Kernel panic - not syncing: No init found." rwhite7890 Linux - General 6 06-26-2005 05:13 AM
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 03:29 PM


All times are GMT -5. The time now is 08:34 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