Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'd like to know how I can mount a LVM partition using my live cd.
When I boot my Red Hat it fails to check the file system with fsck at the boottime, so I'm unable to keep booting.
Actually I can access the / partition, but it is mounted with read only method and I can't edit any file. So I want to mount the LVM partitions using a live cd to edit and copy some files through the network...
You need to boot with a LVM-enabled live CD. Then, as root, you do a "vgscan" and mount the file system in the usual way (i.e. "mount /dev/<vgname>/<lvname> <mountpoint>").
You need to boot with a LVM-enabled live CD. Then, as root, you do a "vgscan" and mount the file system in the usual way (i.e. "mount /dev/<vgname>/<lvname> <mountpoint>").
Hey uselpa thank you!!
I'm using Debian's live cd, but I really don't know how I can enable the LVM or if this specific live cd has this caracteristic. I've tryied F1 before boot but I didn't see any option to enable LVM on boot...
Do you know if Debian's live cd project has suport to LVM or if it is possible I install it using apt-get...??
No I don't know that, but as Debian supports LVM-enabled installations my guess is that it does. If the "vgscan" command works and afterwards you have the /dev/VG/LV device node then it's working. Personally I use the RIP CD so if nothing works I can tell you how to do it with RIP.
You need to boot with a LVM-enabled live CD. Then, as root, you do a "vgscan" and mount the file system in the usual way (i.e. "mount /dev/<vgname>/<lvname> <mountpoint>").
Hi
It seems be my LV is inactive.
Could you please let me know how to mount inactive LV's
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.