How can I mount LVM partition in ubuntu?
Hi. I have fedora LVM partitions. I want to mount them in ubuntu Live CD, but I don't know how. Is there a way
Thanks. |
Not sure if the Live CD supports LVM but from a quick google search there are many links on the subject. This one is simply. http://www.linux-sxs.org/storage/fedora2ubuntu.html
Brian |
For this procedure, you need a connection to Internet.
After the system has been loaded from the live cd, install lvm, load the module and then activate the volumes Code:
sudo -i Code:
lvm help http://linuxwave.blogspot.com/2007/1...tu-livecd.html http://www.terryburton.co.uk/blog/20...on-lvm_18.html |
Quote:
Brian, thanks The link you provided above worked real well for me. murthy |
Quote:
because all my critical data were in the hard disk and I was just lost what to do!!!!!!!!!! Thanks a lot for your guidance |
Thanks much! Once more, LQ comes through for me. :)
|
Just quoting the instructions from the linked page from archive.org since the original is down.
@#$!@$ can't link to the page on archive.org because I just registered to post this. Quote:
|
Does anyone have an idea why Ubuntu would be unable to locate lvm2 package? I'm trying to mount and LVM partition for an emergency recovery.
This is the error I receive: root@chuckd-System-Product-Name:~# apt-get install lvm2 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lvm2 root@chuckd-System-Product-Name:~# |
TheJaspMan,
Not sure what version of Ubuntu you're on. At a guess though, based on your post, your network may not be configured. Here's what I get: Quote:
|
Installing lvm2
Quote:
installing lvm2 using ubuntu 5.10. Firstly ensure that you have proper network connection(you may check by making any search on google) And then try apt-get install lvm2..... Hope it works for ......:newbie: |
1. Boot Ubuntu.
2. Install lvm2: $ sudo apt-get install lvm2 3. Load the necessary module(s): $ sudo modprobe dm-mod 4. Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00): $ sudo vgscan 5. Activate the volume: $ sudo vgchange -ay VolGroup00 6. Find the logical volume that has your Fedora root filesystem (mine proved to be LogVol00): $ sudo lvs 7. Create a mount point for that volume: $ sudo mkdir /mnt/fcroot 8. Mount it: $ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user OR sudo mount /dev/mapper/VolGroup00/LogVol00 /mnt/fcroot -o ro,user 9. Copied my files. |
Thanks guys, your instructions solved this problem once for me.
But now it happens again and after final step terminal returns one string: 'Killed'. Mount folder is empty. If I try to mount again it just stuck and not react on Ctrl+C or any. Quote:
Any clues? |
Problem solved by using openSUSE liveCD instead of Ubuntu.
|
All times are GMT -5. The time now is 11:21 PM. |