I cloned a multi-partition system from one Dell Poweredge 1850 to another, for a single partition install it all works fine, but for a muti-partition this kernel panic screen appears:
Booting 'CentOS (2.6.17-128.el5)'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/rhgb quiet
initrd /initrd-2.6.18-128.el5.img
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Red Hat nash version 5.1.19.6 starting
Unable to access resume device (/dev/sda7)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mouting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
I've accessed the drive using a live CD and the file system is all intact and seems correct, the labels are as they are in fstab, so really I'm getting rather short on ideas!
Has anyone seen anything like this before? And if so, how can it be fixed?
(The multi partition setup is how we setup production servers, so we really need cloning to work with it, so using a single partition isn't an option.)
Thank you for reading,
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is the output of /opt/drbl/sbin/ocs-live-bug-report on the target system:
Some info about the Clonezilla live environment (PLEASE DO NOT EDIT THEM!):
===
*********************************************************
The contents of /live/image/Clonezilla-Live-Version:
clonezilla-live-1.2.2-26
This Clonezilla live iso file was created by this command:
ocs-iso -s -i 1.2.2-26
*********************************************************
Installed DRBL/Clonezilla related packages: drbl-1.9.4-47 clonezilla-2.3.3-68 mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4 partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl udpcast-20081213-1drbl
*********************************************************
/proc/partitions:
major minor #blocks name
I cloned a multi-partition system from one Dell Poweredge 1850 to another, for a single partition install it all works fine, but for a muti-partition this kernel panic screen appears:
Booting 'CentOS (2.6.17-128.el5)'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/rhgb quiet
initrd /initrd-2.6.18-128.el5.img
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Red Hat nash version 5.1.19.6 starting
Unable to access resume device (/dev/sda7)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mouting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
The fstab is:
LABEL=/ / ext3 defaults 1 1
LABEL=/var /var ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/home /home ext3 defaults 1 2
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sdA7 swap swap defaults 0 0
I've accessed the drive using a live CD and the file system is all intact and seems correct, the labels are as they are in fstab, so really I'm getting rather short on ideas!
Has anyone seen anything like this before? And if so, how can it be fixed?
(The multi partition setup is how we setup production servers, so we really need cloning to work with it, so using a single partition isn't an option.)
Thank you for reading,
Tom
"Unable to access resume device (/dev/sda7)" -> Did you hibernate your machine before you save it as an image?
BTW, please boot Clonezilla live, enter command line, then run:
/opt/drbl/sbin/ocs-live-bug-report
Please post the generated file.
Steven.
Here is the output of /opt/drbl/sbin/ocs-live-bug-report on the target system:
Some info about the Clonezilla live environment (PLEASE DO NOT EDIT THEM!):
===
*********************************************************
The contents of /live/image/Clonezilla-Live-Version:
clonezilla-live-1.2.2-26
This Clonezilla live iso file was created by this command:
ocs-iso -s -i 1.2.2-26
*********************************************************
Installed DRBL/Clonezilla related packages: drbl-1.9.4-47 clonezilla-2.3.3-68 mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4 partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl udpcast-20081213-1drbl
*********************************************************
/proc/partitions:
major minor #blocks name
7 0 90472 loop0
8 0 35566479 sda
8 1 104391 sda1
8 2 12289725 sda2
8 3 8193150 sda3
8 4 1 sda4
8 5 8193118 sda5
8 6 5116671 sda6
8 7 1606468 sda7
*********************************************************
Partition lists on the system:
Model: SEAGATE ST336607LC (scsi)
Disk /dev/sda: 36.4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 12.7GB 12.6GB primary ext3
3 12.7GB 21.1GB 8390MB primary ext3
4 21.1GB 36.4GB 15.3GB extended
5 21.1GB 29.5GB 8390MB logical ext3
6 29.5GB 34.7GB 5239MB logical ext3
7 34.7GB 36.4GB 1645MB logical linux-swap
*********************************************************
The info from blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="/boot1" UUID="2cf8292c-217d-4a03-af3a-384a7e8e58c5" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda2: LABEL="/home" UUID="19962ef4-0140-4609-b225-089e6158c8f7" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: LABEL="/usr" UUID="d5daa1fd-0d5e-4bd0-85a7-4c28ff59d22d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: LABEL="/" UUID="aabe8ca7-22df-4832-ad09-4f864ac9ddb2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: LABEL="/var" UUID="bcfa05ed-eca2-43a7-9a26-68b69eee2c6e" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: LABEL="SWAP-sda7" UUID="1f5a5fc0-b548-4c8f-a16f-ba353d248a43" TYPE="swap"
*********************************************************
Clonezilla image repository dir /home/partimag is aufs
*********************************************************
===
Did you restore the image to different hardware machine?
If so, maybe you have to update the /boot/initrd*.img.
Also, since you are using old version of Clonezilla live, maybe you can give the latest one, i.e. 1.2.2-31 or even the one in testing branch a try.
//NOTE// Please back up important data before you use Clonezilla.
Steven.