Red HatThis forum is for the discussion of Red Hat Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?