Red HatThis forum is for the discussion of Red Hat Linux.
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.
First, if you mount /dev/sdb2 you aren't going to get very far with rescuing your data. The file system is actually on /dev/VolGroup**/LogVol**. There are important steps to take when sticking a drive setup with LVM into another machine with LVM. I would first say that you need to check to make sure that you don't have two disks with the same Volume Group name, check this with "lvm lvs" this will display all volume groups and the logical volumes contained in them. If the Volume Group names are different, you would want to mount it by using "mount /dev/VolGroup**/LogVol** /mnt/somedir" you should then be able to get the data you need off of it. If your Volume Group names are the same on both disks, you will have to rename the Volume Group name on your second disk. If you have any questions or doubts, PLEASE do not do anything untill you have removed all doubt. I hope this helps get you sarted in the right direction, please post back with any questions or comments.
thanks very much, kurgan32.
I put the /dev/sdb2 return the box himself and power on,
this time, system started and stop at a line <B>...Control+D...</B>.
I enter root password and login, so I success rescue the data.
I'am learning about LVM.
Thx again, kurgan32.
kurgan32, great advise. I have a similar problem only this is a removeable laptop HD and I want to access it from my desktop system. I have an enclosure for it. Unfortunately I used the same volumne group name ( 'vg' LOL ) on both systems. How do you rename the volume group on the USB connected drive without touching the one on the local disks?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.