| Author |
Message |
|
|
Post subject: kernel panic after moving to bigger hd
Posted: 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.
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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.
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 01, 2007 - 01:13 PM
|
|
Joined: Dec 02, 2006
Posts: 1908
Status: Offline
|
|
| you get errors using fsck? |
|
|
| |
|
|
|
 |
|
|
Post subject: kernel panic after moving to bigger hd
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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.
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: kernel panic after moving to bigger hd
Posted: 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). |
|
|
| |
|
|
|
 |
|
|