LVM2 on Sarge - HD failure in the volume group containing /
I have three hard drives:
/dev/hda connected to the onboard primary IDE.
/dev/hde connected to PCI IDE card primary channel
/dev/hdg connected to PCI IDE card secondary channel
/boot is located on /dev/hda1
/dev/hda2 and the other 2 drives are in an LVM2 volume group.
/dev/hdg is pretty much dead (nice chorus of clicks and whirs coming from it).
The problem is that / was on the volume group (initrd supports this). So when trying to boot, it is unable to find /, obviously because the volume group is not there since /dev/hdg is dead (I'm 100% sure of this, the boot log complains about not finding a device with UUID xxxxxxxxxxxxxxxxxxx which corresponds to /dev/hdg).
At this point I need to get into the system, salvage what I can (my home dir is already backed up whew), and rework the partitions (let's just say I'll never put / on lvm again...). I think booting the system as is will be impossible. What options do I have to boot with some sort of bootdisc/live linux cd, and try to rework things as far as lvm goes, such that I can boot the machine again? Is there bootdisk that would allow me to fix the volume group using lvm commands?
Any help with this would really be appreciated.
Last edited by Golovko; 06-20-2005 at 02:47 AM.