Hi,
Got an odd situation here, where I can't find my volume group any more.
Earlier tonight I moved my logical volumes from an old drive to a new drive
Before, I had
sdf1 - /boot
sdf2 - pv - system volume group - contained root, swap, home
To move things, I did a pvcreate on the new partition, sdg1
then vgextend system /dev/sdg1
then pvmove /dev/sdf2 /dev/sdg1
Sure enough, it moved all my lvs over.
Was then able to 'vgreduce system /dev/sdf2' and 'pvremove /dev/sdf2'
Lastly, moved /boot contents to be inside /, and unmounted /boot
My next plan was to install grub2, chainloaded, since I'd need that to boot from inside an lvm. At this point, ubuntu didn't like it, and errored on configuring grub-pc, saying it couldn't detect the filesystem.
Stupidly, I decided to reboot, at which point it loaded grub (1), booted the initrd/kernel, and then couldn't find root.
Inside a rescue environment, sure enough, if I do 'pvs', I can see my pv, but it doesn't have a VG.
Any suggestions on how to rectify this? Why doesn't it know it's part of the 'system' volume group? I presume once it remembers this, I should be able to boot again.
cheers,
/ Brett