need a bit of help with lvm
i have ubuntu 12.10 and i am using an ext4 partition for /boot and 2 lvms for /home and / .
i wanted to install elementary os, but the problem is it doesnt have lvm support in installation. and help is needed here. i searched a bit but i couldnt find anything useful (or at least i thought like that). can i just convert my lvms to ext4? or i have to get lvm working under live session of elementary os? thx in advance |
Quote:
Quote:
The LVM components (pv,vg,lv) as well as the filesystems themselves can be resized (smaller), but it isn't straightforward, and needs to be done in the correct order. Hopefully Ubuntu has a GUI that'll help - I've never used LVM on Ubuntu, so can't say for sure. If you can do that and free some space on the disk you should (might) be o.k. to install the other distro. Let's see the output of the following (use sudo) Code:
fdisk -l |
A quick google suggests system-config-lvm should be available via apt. Works well in RH/Fedora from whence it came.
|
here is what i did:
i installed lvm2 package in live session and used this command: Code:
vgchange -a y i have a 500mb ext4 (not in lvm) for /boot and 2 lvms for /home and /. but system does not boot. it says timeout waiting for root partition and just drops to a shell (probably grub, it is initframs or something like that) i have read somewhere i have to chroot into my installation and install lvm2 and cryptsetup, then add crypdevice in kernel parameter. i did above things but still the same issue. i will try system-config-lvm and say results, asa i get to my computer. thx for reply |
here are the outputs:
Code:
# fdisk -l Code:
#df -hT Code:
#pvdisplay ---------- Post added 12-25-12 at 11:09 AM ---------- here are the outputs: Code:
# fdisk -l Code:
#df -hT Code:
#pvdisplay |
problem solved by my hands! good...
i had to change a line in grub.cfg the line was Code:
set root='(hd0,msdos1)' Code:
set root='vg_vahidjoon-lv_root' |
All times are GMT -5. The time now is 10:31 PM. |