Mount LVM
I got this error message,
ALERT! /dev/mapper/Debian-root does not exist. Dropping to a shell! So how can i mount a LVM partition system to mount and chroot to recover the system again? |
Did you try the TLPD Howto? Link
Dunno if it covers your particular problem, but it should give you some insights in why the error occured and therefor what you need to do to solve it. |
Someone post this info before,
>I just had the same problem with ETCH, and what I did was this: >booting live cd (knoppix) >opened up a shell and issued the following commands: >Code: >su - >mount -t ext3 -o rw /dev/hda1 /mnt >chroot /mnt >apt-get update >apt-get upgrade >Now, for me the problem was that udev was not updated, and that might not be the case for someone >else, but I fixed it simply with: >Code: >apt-get install udev >rebooted the system, and everything is back to normal. >I tried the suggested yiard thingie, but it didnt work (due to my stupidness of course hehe, >proc was not mounted), and I am happy I didnt succeed with that at the moment. >Hope this helps someone When i want to mount /dev/hda1 it gives error, because of LVM, So I have to mount LVM to recover the error, I think. Anyway, thanks for the link. |
Is there any way to mount a LVM partition?
mount -t ext3 /dev/hda7 /mnt gives this error mount: wrong fs type, bad option, bad superblock on /dev/hda7 missing codepage or other error How can i learn the LVM filesystem? |
You need to use the LVM tools to find the VGs and LVs. I think vgscan (to locate the volume group) is one of them, but Dutch Master posted the link to the LVM-HOWTO which contains this info above so it would be very wise to go read it and find the exact procedure on how to find & mount an LVM volumes. Also man lvm if possible.
|
cemzafer: You are attempting to mount the physical volume, which will not work.
Run lvscan to identify the logical volume you wish to mount and then mount it as you would a partition. For example, where a volume group is not active: Code:
# vgscan |
Thanks, for the replies.
|
All times are GMT -5. The time now is 10:36 PM. |