FedoraThis forum is for the discussion of the Fedora Project.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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
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.
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]?
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.....
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.