PDA

View Full Version : unmountable hard disk after fresh installation


erossweden
17th March 2011, 11:05 PM
Hi!
I just installed linux fedora 14 on my hp probook 4320s with installation CD with this name: Fedora-14-x86_64-Live-Desktop. Then I installed it on the hard disk. During installation i chose to encrypt hard disk.

When I try to access my hard disk it says "unable to mount 250GB LVM2 Physical Volume, Not a mountable file system".
What can I do to get access to my hard disk?

stoat
18th March 2011, 12:40 AM
When I try to access my hard disk it says...How are you attempting to do that exactly? For example, you shouldn't try to mount an LVM PV. Instead, mount the logical volume inside that you're interested in.

Next, why are you attempting to do that? I mean, does the system on the hard drive not work?

erossweden
18th March 2011, 04:47 PM

I tried to mount it from terminal which did not work, but the message "not a mountable file system" appeared when i clicked the hard disk from a GUI window.

I am new to linux and this is my first linux installation. I didn't intentionally try to mount the hard disk, I just wanted to look inside it so I clicked on it(to see where I could place some data from an external hard disk).

How do I mount the logical volume inside?

My setup looks like this:
LVM Volume Groups
vg_eroscpmuter
lv_root type= ext4
lv_home type= ext4
lv_swap type= swap
Hard Drives
sda (/dev/sda)
sda1 type= ext4
sda2 mount point= vg eroscomputer type= physical volume (LVM)

stoat
18th March 2011, 05:02 PM
Okay. I think I would boot the hard drive system and deal with the external drive's files from there. You should find it mounted automatically in /media. Anyway, to mount an LVM logical volume with terminal commands, it's done the same way as mounting ordinary partitions except use the logical volume's device mapper name in the mount command. Also precede that with the vgchange command to make the logical volumes available. Use the lvdisplay command to get information about the logical volumes and see their device mapper names. Sort of like this...su
vgchange -a y
lvdisplay
mkdir /mnt/temp
mount /dev/vg_something/lv_something /mnt/temp

erossweden
19th March 2011, 03:45 AM
Now it works! Yeay!

Thank you alot!