No volume groups found - CentOS
6,592
Finally, just after creating a bounty, I was able ti fix it by rebuilding the initrd as explained here: https://wiki.centos.org/TipsAndTricks/CreateNewInitrd
Author by
user2629636
Updated on September 18, 2022Comments
-
user2629636 over 1 year
I have migrated a CentOS 5.11 server from VmWare to Hyper-V and when trying to boot the server. I'm getting the following error messages:
"
No volume groups found
" ""VolumeGroup00" not found
" and consequently the other messages you see on the screenshot.I have booted the VM from a live CD I had in hand and I can see & mount the volume group (lv in the volume group) fine. Here's the
vgdisplay
command output:You can see the grub contents on the start of the first screenshot. Why do you think this is happening? Any tips?
edit:
hd0
is mapped to/dev/sda
as it should be.-
Etan Reisner over 8 yearsHow are the disks attached to the vm? Hyper-V seemed to prefer ide disks when I last looked into it. Are you using the Hyper-V drivers?
-
-
user2629636 over 8 yearsI tried that, it did not work.
-
user2629636 over 8 yearsTried it, did not work.
-
Jacob Evans over 8 yearsany warnings when you ran this command? what is your fstab output?
-
user2629636 over 8 yearsno there were no error messages, it worked fine. But I just booted into the same thing again and again. I just posted an answer I found on an IRC channel. FSTAB only included tmpfs devpts, sysfs and proc.
-
c4f4t0r over 8 yearsok, that would say some driver was missing in your old initrd
-
Emil Styrke over 7 yearsThanks, this worked perfectly! If the link ever dies, the short version is: boot from CD in rescue mode,
chroot /mnt/sysimage
,mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r)