LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Re: Hard Drive Mount Problem (https://www.linuxquestions.org/questions/linux-newbie-8/re-hard-drive-mount-problem-673411/)

pikecoguy 09-30-2008 07:22 PM

Re: Hard Drive Mount Problem
 
Hello Everyone,

I wasn't sure where to post this so I thought here would be good for all the newbies including myself. I had a pc that had a 320 gb hd in it with CentOS 5.2 Installed on it. I am not sure what happened but it broke and broke bad. GDM is giving a problem and also a few other things. It was formatted as LVM and it is now bootable but x and some otehr things like network auditd and such are not working so I thought it would be a good idea to load it in the machine as a second drive so I could get my files of of it. Well it is not as easy as I thought.

I tried to mount it with mount -t ext3 /dev/sdb2 /mnt/disk3 which is where the files are located on that drive however I only got the root to mount and I can't get the other to mount anyone have any ideas please. I really need to get these files of it. Thanks a ton in advance,
Michael

jailbait 09-30-2008 07:30 PM

Try listing /etc/fstab on /mnt/disk3. That should tell where the other partitions are and what file system they are using.

----------------
Steve Stites

billymayday 09-30-2008 07:36 PM

Have a look in /dev, you'll have an entry like

/dev/VolGroup00

See what's in that with ls/dev/VolGroup00, there's probably LogVol00 or similar. Assuming this to be the case, try

mount /dev/VolGroup00/LogVol00 /mnt/disk3


I don't have a spare system to test this on, but I think it's correct.

For future reference, unless you need to use LVM, I'd steer clear of it.

pikecoguy 09-30-2008 07:47 PM

Re: Hard Drive Mount Problem
 
Quote:

Originally Posted by jailbait (Post 3296479)
Try listing /etc/fstab on /mnt/disk3. That should tell where the other partitions are and what file system they are using.

----------------
Steve Stites

Thank you sir will give it shot.

pikecoguy 09-30-2008 07:48 PM

Re: Hard Drive Mount Problem
 
Quote:

Originally Posted by billymayday (Post 3296484)
Have a look in /dev, you'll have an entry like

/dev/VolGroup00

See what's in that with ls/dev/VolGroup00, there's probably LogVol00 or similar. Assuming this to be the case, try

mount /dev/VolGroup00/LogVol00 /mnt/disk3


I don't have a spare system to test this on, but I think it's correct.

For future reference, unless you need to use LVM, I'd steer clear of it.

Thank you that sounds very reasonable I will try that and see what happens.

Thanks,

By the way they both have a VolGroup00/LogVol00 Rmember this used to be my primary for awhile.

pikecoguy 10-01-2008 10:15 AM

Quote:

Originally Posted by pikecoguy (Post 3296494)
Thank you that sounds very reasonable I will try that and see what happens.

Thanks,

By the way they both have a VolGroup00/LogVol00 Rmember this used to be my primary for awhile.

Got this done and I was able to get all my files back and reformat the drive Yippppeeeee!


All times are GMT -5. The time now is 12:57 AM.