FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
Mounting Logical Volumes

 
Post new topic   Reply to topic    BLAG Forum Index -> development
View previous topic :: View next topic  
Author Message
extraspecialbitter
PostPosted: Wed Sep 27, 2006 10:30 pm    Post subject: Mounting Logical Volumes Reply with quote

This is more of a general Linux question than a BLAG question, but it is pertinent - indirectly. My laptop is running BLAG 50002, with a /boot partition on a physical volume and the root filesystem on a logical partition. When I boot a live CD (dyne:bolic, Puppy and Kanotix are favorites), I can easily mount the physical partition but not the logical partition. Is there a way to do this?

Thanks in advance.

pag
PostPosted: Fri Sep 29, 2006 10:18 am    Post subject: Reply with quote

Hi
this straight out of linux format issue 82 answers page.

“As long as you have the LVM tools installed on the distro you
are booting, you can mount LVM partitions for any disk ( I even did
it from a USB key once). Run

vgscan
vgchange -a -y

as root and all the partitions should have devices created in the form
/dev/volumegroup/logicalvolume
which you can then mount in the usual way:

mount /dev/volumegroup/logicalvolume /mnt/somewhere”

extraspecialbitter
PostPosted: Sat Oct 14, 2006 6:23 pm    Post subject: mounting logical volumes Reply with quote

pag wrote:
Hi
this straight out of linux format issue 82 answers page.

“As long as you have the LVM tools installed on the distro you
are booting, you can mount LVM partitions for any disk ( I even did
it from a USB key once). Run

vgscan
vgchange -a -y

as root and all the partitions should have devices created in the form
/dev/volumegroup/logicalvolume
which you can then mount in the usual way:

mount /dev/volumegroup/logicalvolume /mnt/somewhere”


I finally had a chance to try this out today. It worked perfectly, except that the options for the "vgchange" command were "-a y" instead of "-a -y". In any event, I thank you for helping me out.

Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> development
Page 1 of 1

Protected by Anti-Spam ACP