LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 11-12-2006, 09:07 AM   #1
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
How to mount a LVM partition using a live cd


Hello


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...

Any Ideas??


Thank you

Rodrigo
 
Old 11-12-2006, 09:24 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
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>").
 
Old 11-12-2006, 09:47 AM   #3
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by uselpa
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...??

Best Regards!!

Rodrigo
 
Old 11-12-2006, 09:59 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
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.
 
Old 06-16-2009, 02:11 AM   #5
srikanthrao_d
Member
 
Registered: Oct 2005
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by uselpa View Post
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

Thanks,
Srikant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount LVM cemzafer Debian 6 05-30-2006 04:16 PM
mount a LVM partition pavi Linux - General 1 10-29-2005 11:56 AM
mount refusing to mount lvm volumes linuxmandrake Fedora 2 07-20-2005 07:06 PM
FC3 rescue disc won't mount "Linux LVM" partition anymore. coolingtower Linux - General 0 01-23-2005 04:43 AM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 02:26 PM


All times are GMT -5. The time now is 12:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration