Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-25-2014, 09:38 AM
|
#1
|
Member
Registered: Mar 2009
Distribution: Slackware
Posts: 46
Rep:
|
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
|
|
|
06-25-2014, 07:32 PM
|
#2
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583
|
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.
|
|
|
06-26-2014, 11:47 AM
|
#3
|
Member
Registered: Mar 2009
Distribution: Slackware
Posts: 46
Original Poster
Rep:
|
Quote:
Originally Posted by STDOUBT
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
|
|
|
06-27-2014, 03:15 AM
|
#4
|
Member
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185
Rep:
|
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).
|
|
|
06-28-2014, 09:55 AM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
Sounds like you need to run lilo on it.
|
|
|
06-30-2014, 08:10 PM
|
#6
|
Member
Registered: Mar 2009
Distribution: Slackware
Posts: 46
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|