sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
feffer
Post subject: kernel panic after moving to bigger hd  PostPosted: Jan 21, 2007 - 10:23 PM



Joined: Dec 04, 2006
Posts: 136

Status: Offline
After partitioning the new hd, I used rdiff to restore my sidux sys to hdb1, on a dual boot system. When rebooting, I see the normal sidux grub screen and can boot into Windows, but if I try to boot into sidux, I get a kernel panic error:
Quote:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1, missing codepage or other error...switching root...
/usr/lib/yaird/exec/run_init current dir same fs as root: Success.
Kernel panic -- not synching: Attempted to kill init!


Not sure where I went wrong here. Any idea how to troubleshoot this? I tried reinstalling grub, but get the same kernel panic.

Regards,
feffer

_________________
To whom much is given, much shall be required.
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Jan 21, 2007 - 11:31 PM



Joined: Nov 25, 2006
Posts: 2570

Status: Offline
yaird hardcodes a lot of settings reagrding partitions, you better chroot into the system - mount sysfs and procfs and recreate the initrd using initramfs-tools (update-initramfs), purging yaird would help with that as well.
 
 View user's profile Send private message  
Reply with quote Back to top
feffer
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Jan 22, 2007 - 12:13 AM



Joined: Dec 04, 2006
Posts: 136

Status: Offline
hmm, stopped by not finding initramfs-tools on tools, also no pkg candidates found by apt. Is there a way around this, or should I just wipe the whole drive and try again?

Thanks,
Ron

_________________
To whom much is given, much shall be required.
 
 View user's profile Send private message  
Reply with quote Back to top
Crest
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Jan 22, 2007 - 12:56 AM



Joined: Dec 02, 2006
Posts: 173
Location: Berlin
Status: Offline
You must 'apt-get install initramfs-tools' first, they are not installed by default. Hopefully you can boot somehow so that you can get the package and then follow slh's advice.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
feffer
Post subject:   PostPosted: Jan 30, 2007 - 08:25 PM



Joined: Dec 04, 2006
Posts: 136

Status: Offline
Finally got time to work on this, but still ended up with a corrupt or invalid partition table error. I chroot into the partition with the restored system. Then I purged yaird, removed the existing initramfs, and created a new one using
Code:
update-initramfs -cv -k 2.6.18-5.slh-up-1
Update-initramfs seemed to run properly. I updated the symlinks, fstab and menu.lst.

Either I made some error, or there really is some corruption/bad block causing this. If not, then it seems it's really problematic to migrate a sidux system from a reiserfs to an ext3 one!

I'm curious if others have been successful at doing this. I'm sure a lot of users will be in this situation when the new iso comes out!

Regards,
feffer

_________________
To whom much is given, much shall be required.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject:   PostPosted: Feb 01, 2007 - 01:13 PM



Joined: Dec 02, 2006
Posts: 1908

Status: Offline
you get errors using fsck?
 
 View user's profile Send private message  
Reply with quote Back to top
UncleVom
Post subject: kernel panic after moving to bigger hd  PostPosted: Feb 01, 2007 - 08:08 PM



Joined: Nov 30, 2006
Posts: 72
Location: Canada
Status: Offline
My guess would be /etc/fstab needs editing to reflect the uuid(s) of the new drive partitions or be edited back to use the old /dev/hdxx style.

Just a guess,

Marcus
 
 View user's profile Send private message  
Reply with quote Back to top
feffer
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Feb 02, 2007 - 12:25 AM



Joined: Dec 04, 2006
Posts: 136

Status: Offline
Nope, no fsck errors and I previously tried both ways of editing /etc/fstab.

_________________
To whom much is given, much shall be required.
 
 View user's profile Send private message  
Reply with quote Back to top
dzz
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Feb 03, 2007 - 12:07 AM



Joined: Dec 21, 2006
Posts: 296
Location: Slough, England
Status: Offline
I could not boot, with similar errors, after "cloning" the system to another drive
The solution for me was to chroot mount sysfs and procfs and install fresh kernel (having edited fstab and grub)
<edit> having manually installed initramfs-tools first -it is in apt
But both locations were ext3


Last edited by dzz on Feb 05, 2007 - 07:42 PM; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Feb 05, 2007 - 07:15 PM



Joined: Dec 02, 2006
Posts: 1908

Status: Offline
Yaird's bugs are serious enough with new kernels to become a real issue. Think yaird needs a remake to fix the issues, and not rely on hardcoded internal parameters.
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: kernel panic after moving to bigger hd  PostPosted: Feb 06, 2007 - 01:01 AM



Joined: Nov 25, 2006
Posts: 2570

Status: Offline
initramfs-tools is the natural successor to yaird (yaird as is can't handle those tasks at all, unless it would become an initramfs itself).
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio