Hey folks (and Guillaume),

I was looking at guessmounts in the rescue system and noticed a possible
enhancement: LVM support.

I build my machines with root (as well as everything else but /boot) on
LVM.  It would be nice if guessmounts could figure this out.  Ideally, it
could look at the "type" of the partitions on the disk(s) and set up LVM
if it finds an LVM "typed" partition.  But even if guessmounts just "fell
back" to trying to use LVM if it fails to find a root partition without
LVM would suffice.

When I boot an LVM based system with the rescue, I can run the following
at the command prompt to get my LVM root (and other filesystems) mounted,
so it should not be too difficult to put this into guessmounts:

# modprobe lvm-mod
# mount /dev/hdc /mnt/cdrom
# /mnt/cdrom/Mandrake/mdkinst/usr/bin/vgscan
# /mnt/cdrom/Mandrake/mdkinst/usr/bin/vgchange -a y
# mount /dev/rootvol/root /mnt/disk
# mount /dev/rootvol/usr /mnt/disk/usr
...

Thots?

b.



Reply via email to