Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-21-2010, 12:03 AM   #1
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"

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.

Old 09-21-2010, 12:44 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,934

Rep: Reputation: 128Reputation: 128
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
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147

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
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.


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

Original Poster
Rep: Reputation: 0

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.



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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 AM.

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