LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Editing FSTAB on a VolGroup Drive (https://www.linuxquestions.org/questions/linux-software-2/editing-fstab-on-a-volgroup-drive-670441/)

benmay05 09-17-2008 03:07 AM

Editing FSTAB on a VolGroup Drive
 
Hello

I have a CentOS server and I wrongly adjusted the /etc/fstab file, and buggered up the boot.. so I'm booting up off slax (Bootable Drive)

But having trouble mounting the drive that contains the /etc dir

When I mount /mnt/hdd2 I get SOME folders, but when I mount /dev/hdd3 I get the "unknown filesystem type 'lvm2pv'" error

Have been googling around for ages, but just cant find something that wont totally root the server up

Cheers in advance

elprawn 09-17-2008 03:26 AM

Run
Code:

fdisk -l
and post the output.

benmay05 09-17-2008 03:52 AM

There is

/dev/hdd1 - Linux
/dev/hdd2 - Linux
/dev/hdd3 - Linux LVM

Let me know if you want all the info, dont want to type it all

elprawn 09-17-2008 03:57 AM

Well, here are instructions for reading LVM drives on Knoppix

Should be the same sort of principle from Slackware I'd have thought.

Another thing - /dev/hdd3 is the device that's describing the entire Volume Group. When you mount, it'll probably be something like /VolGroup00/LogVol00 - but lvs should tell you this.


All times are GMT -5. The time now is 07:58 AM.