LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-15-2007, 10:09 AM   #1
yesglass
LQ Newbie
 
Registered: Jul 2007
Posts: 14

Rep: Reputation: 0
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.
 
Old 07-15-2007, 01:22 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 09-30-2008, 03:18 AM   #3
pirulo
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
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
apt-get install lvm2
modprobe dm-mod
vgchange -a y
then lvm is ready for use. For help
Code:
lvm help
More info:
http://linuxwave.blogspot.com/2007/1...tu-livecd.html
http://www.terryburton.co.uk/blog/20...on-lvm_18.html

Last edited by pirulo; 09-30-2008 at 03:43 AM.
 
Old 11-21-2008, 02:57 AM   #4
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

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

Brian, thanks

The link you provided above worked real well for me.

murthy
 
1 members found this post helpful.
Old 09-29-2009, 11:16 PM   #5
aktar_alam
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Talking

Quote:
Originally Posted by pirulo View Post
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
apt-get install lvm2
modprobe dm-mod
vgchange -a y
then lvm is ready for use. For help
Code:
lvm help
More info:
http://linuxwave.blogspot.com/2007/1...tu-livecd.html
http://www.terryburton.co.uk/blog/20...on-lvm_18.html
Thanks alot this was a mammoth task,
because all my critical data were in the hard disk and I was just lost what to do!!!!!!!!!!
Thanks a lot for your guidance
 
Old 02-24-2010, 06:00 PM   #6
dezmond
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 1
Thanks much! Once more, LQ comes through for me.
 
Old 07-20-2010, 11:46 AM   #7
Darxus
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
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:
Accessing a Fedora Logical Volume from Ubuntu

Submitted by: Kurt Wall
Update by:
Date Submitted: 10 Apr 2007
Document Version: 1.0
Last Updated: Sat, 02 Feb 2008 17:46:54 GMT
A while back, I started experimenting with Ubuntu after playing with Fedora. I decided to jump to Ubuntu and needed to move data from the Fedora-managed logical volume to Ubuntu. Here's what I did.

Boot Ubuntu.

Install lvm2:
$ sudo apt-get install lvm2

Load the necessary module(s):
$ sudo modprobe dm-mod

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

Activate the volume:
$ sudo vgchange -ay VolGroup00

Find the logical volume that has your Fedora root filesystem (mine proved
to be LogVol00):
$ sudo lvs

Create a mount point for that volume:
$ sudo mkdir /mnt/fcroot

Mount it:
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user

Copied my files.
You can skip the modprobe now, at least on Jaunty.
 
Old 10-28-2010, 07:54 AM   #8
TheJaspMan
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
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:~#
 
Old 10-29-2010, 02:06 PM   #9
dezmond
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 1
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:
# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
# apt-get install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdevmapper-event1.02.1 watershed
The following NEW packages will be installed:
libdevmapper-event1.02.1 lvm2 watershed
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 463kB of archives.
After this operation, 1,266kB of additional disk space will be used.
Do you want to continue [Y/n]?
 
Old 03-18-2011, 06:48 AM   #10
aktar_alam
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Thumbs up Installing lvm2

Quote:
Originally Posted by TheJaspMan View Post
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:~#
I have no idea what version of Ubuntu you are using but I also faced the same issue while
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 ......
 
Old 10-27-2011, 09:14 AM   #11
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
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.
 
Old 10-16-2013, 06:10 AM   #12
k1berpunk
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
Question

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:
root@ubuntu:/~# mount /dev/myGroup/myVol /mnt/mntPoint -o ro,user
Killed
root@ubuntu:/~# ls /mnt/mntPoint
root@ubuntu:/~# mount /dev/myGroup/myVol /mnt/mntPoint -o ro,user

Also tried /dev/mapper/myVol-myPoint with same result.
Any clues?
 
Old 10-24-2013, 09:10 AM   #13
k1berpunk
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
Problem solved by using openSUSE liveCD instead of Ubuntu.
 
  


Reply

Tags
disk, fedora, livecd, lvm, partition, ubuntu



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount a LVM partition using a live cd brazilian_user Linux - General 4 06-16-2009 01:11 AM
Mount problems for hard drive partition in ubuntu 6.06 krishghosh Ubuntu 3 03-29-2007 04:03 AM
mount a LVM partition pavi Linux - General 1 10-29-2005 10:56 AM
FC3 rescue disc won't mount "Linux LVM" partition anymore. coolingtower Linux - General 0 01-23-2005 03:43 AM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration