I'm having some issues booting a clone-zilla'd CentOS x86 server that I moved from a single drive desktop to a RAID 5 server. It seems that everything got transferred over successfully but when I boot I get the following show-stopping error:
Scanning logical volumes
Reading all physical volumes. This may take a while…
Activating logical volumes
Volume group "VTPsystem" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
SEtting up other filesystems.
SEttuping up new root fs
setuproot: moving /dev failed: no such file or directory
no fstab.sys, mounting internal defaults.
setuproot: error mounting /proc : no such file or directory
setuproot: error mounting /sys : no such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /prov
unmounting old /sys
switchroot: mount failed: no such file or directory
kernel panic - not syncing: Attempted to kill init!
When I boot to the 'systemrescuecd' I'm able to mount and see my LVM file-systems ('VTPsystem') without any issues. And since it is booting the /boot partition from the RAID without issues I figured it wasn't the case that I'm missing any critical drivers. I saw some similar results from google and when I tried to follow one in particular to run mkinitrd I am getting errors when I boot into the CentOS rescue mode that 'partition is unreadable on the disk'. During the CentOS rescue mode it is noted that I'm unable to mount the /boot partition but I'm able to see the LVM without issues (weird, i know). Anyone have any good pointers on where to go from here - anyway I can rebuild the partition table without wiping anything?
(results of fdisk -l from systemrescuecd):
root@sysresccd /mnt/backup % fdisk -l
WARNING: The size of this disk is 2.5 TB (2499946741760 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sda: 2499.9 GB, 2499946741760 bytes
255 heads, 63 sectors/track, 303934 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 121601 976655610 8e Linux LVM
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having some issues booting a clone-zilla'd CentOS x86 server that I moved from a single drive desktop to a RAID 5 server. It seems that everything got transferred over successfully but when I boot I get the following show-stopping error:
Scanning logical volumes
Reading all physical volumes. This may take a while…
Activating logical volumes
Volume group "VTPsystem" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
SEtting up other filesystems.
SEttuping up new root fs
setuproot: moving /dev failed: no such file or directory
no fstab.sys, mounting internal defaults.
setuproot: error mounting /proc : no such file or directory
setuproot: error mounting /sys : no such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /prov
unmounting old /sys
switchroot: mount failed: no such file or directory
kernel panic - not syncing: Attempted to kill init!
When I boot to the 'systemrescuecd' I'm able to mount and see my LVM file-systems ('VTPsystem') without any issues. And since it is booting the /boot partition from the RAID without issues I figured it wasn't the case that I'm missing any critical drivers. I saw some similar results from google and when I tried to follow one in particular to run mkinitrd I am getting errors when I boot into the CentOS rescue mode that 'partition is unreadable on the disk'. During the CentOS rescue mode it is noted that I'm unable to mount the /boot partition but I'm able to see the LVM without issues (weird, i know). Anyone have any good pointers on where to go from here - anyway I can rebuild the partition table without wiping anything?
(results of fdisk -l from systemrescuecd):
root@sysresccd /mnt/backup % fdisk -l
WARNING: The size of this disk is 2.5 TB (2499946741760 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sda: 2499.9 GB, 2499946741760 bytes
255 heads, 63 sectors/track, 303934 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 121601 976655610 8e Linux LVM
What are the results if you run:
1. pvscan
2. vgscan
3. lvscan
?
Are you able to mount the LV and read the files inside it?
Steven.