LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-25-2014, 09:38 AM   #1
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 46

Rep: Reputation: 1
Kernel panic after having moved a partition with Clonezilla


Hello,

I have moved a partition with Clonezilla to another disk on the same server so I could fix an issue with the partition table on disk sda. After this fix I restored again with Clonezilla the partition content back to /dev/sda2.

Directly booting to /dev/sda2 ended with a kernel panic (normal I think). So I booted with a Slackware DVD and tried to boot from there. Unfortunately I get as well a kernel panic.

The content is well in /dev/sda2 and I can access it.

Does someone has another idea how to fix this issue? I have a backup so worst case is to re-install and restore the backup.

Regards,
Silvio
 
Old 06-25-2014, 07:32 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
So /dev/sda2 is the partition from which your system should boot?
What was the nature of your "fix" on sda? Could you have maybe nuked the MBR by accident?
EDIT:nevermind that wouldn't be it. Have a bump anyway!

Last edited by STDOUBT; 06-25-2014 at 07:45 PM.
 
Old 06-26-2014, 11:47 AM   #3
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by STDOUBT View Post
So /dev/sda2 is the partition from which your system should boot?
What was the nature of your "fix" on sda? Could you have maybe nuked the MBR by accident?
EDIT:nevermind that wouldn't be it. Have a bump anyway!
Hello STDOUBT,
I used cfdisk to create the partitions and so the start sector was not correct. So I moved the partition with Clonezilla and created the partition with fdisk. My MBR is still ok and as you mentioned this would not impact to boot the system from a DVD.

Cheers,
Silvio
 
Old 06-27-2014, 03:15 AM   #4
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Check your partition order, maybe your root partition is no longer /dev/sda2.

And what type of kernel panic you have?
Look closely at the messages just before panic - this should help you to track problem. (Most probably: wrong partition name, wrong disk order, missing fs type [missing initrd], missing init).
 
Old 06-28-2014, 09:55 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Sounds like you need to run lilo on it.
 
Old 06-30-2014, 08:10 PM   #6
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 1
Thumbs up

Hello dive and Labinnah,

Thank you for your replies and sorry for late reply but I was out of town without access to my server that was not running ;-)

At first I tried to rerun lilo but it gave me an error message something like 'this is a binary file'. I can't remember the exact wording. Today I used again Clonezilla and I moved again the saved partition from sda4 to sda2. This time I could start up the server with the Slack14.1 DVD. After having run lilo all is working as expected. The only error done from my side that I can think of is that the first time I used the 32bit side of the Slack DVD instead 64bit. I don't know it this could be the culprit.

Tagging this thread as solved,

Cheers,
Silvio
 
  


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
Fix boot failure after restore partition to a different partition with Clonezilla heronlin LinuxQuestions.org Member Success Stories 2 06-13-2012 09:18 PM
Kernel panic on mounting partition ashkan720 Linux - Kernel 4 06-21-2010 07:49 AM
Invalid partition table for swap partition that I moved with Gparted keith9e Linux - Hardware 16 02-10-2010 12:21 PM
CloneZilla - Kernel Panic! d00dness Linux - General 3 02-02-2009 07:11 AM
kernel panic at reiserfs partition... mathfeel Linux - General 3 09-09-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 AM.

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
Open Source Consulting | Domain Registration