Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I installed Fedora 4 to an LVM across two 60 gig disks, but I don't know the syntax to mount that to a seperate Ubuntu install on a different disk. Data and whatnot are on the fedora install, and to the best of my knowledge, you can't just mount a single drive of an LVM and get a drive with useable data.
root@Akona:/home/zack# /sbin/fdisk -l
Disk /dev/hda: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7299 58524795 8e Linux LVM
Disk /dev/hdb: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 7299 58629186 8e Linux LVM
Disk /dev/hdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 23943 192322116 83 Linux
/dev/hdc2 23944 24321 3036285 5 Extended
/dev/hdc5 23944 24321 3036253+ 82 Linux swap / Solaris
if your ubuntu has lvm installed you can try the following ( as root! )
Code:
vgscan (say your volumegroup is VolGroup00)
vgchange -ay VolGroup00
lvs (check which name the fedora root filesystem has, say /dev/VolGroup00/LogVol00)
cd /mnt
mkdir fedora_root
mount /dev/VolGroup00/LogVol00 fedora_root
This should mount your fedora root filesystem on /mnt/fedora_root. You will have to fill in the blanks, that's all.
Hope this helps?
if the commands 'vgscan' and 'vgchange' don't exist, you can try it with preceding them with 'lvm', so they will be: 'lvm vgscan' and 'lvm vgchange -ay'
I got the lcm command working, but I don't know where to go from there. How do I pull the data off of the lvm onto the other hard drive using the lvm command?
The commands I provided in my first response can be preceeded with the lvm command (for example 'vgchange -ay' can also be achieved with: 'lvm vgchange -ay'.
Try the list of commands I replied above to see if you can get any further...?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.