You are not logged in.
Pages: 1
Hi
I've been looking around the forums for the same problems but no one had the solution.
I managed to install Arch Linux on dm-crypted volume, the / mount-point was on a lvm logical volume. But it was with grub-legacy. And i can't find this kind of walk-through for grub2 : https://wiki.archlinux.org/index.php/Sy … version.29
I'm trying it in a VM. So i tried with distros that configure themselves GRUB2 like ubuntu. I did :
# apt-get install lvm2; cryptsetup luksOpen /dev/sda3 root; vgchange -ay; grub-mkconfig -o /boot/grub/grub.cfg
It didn't change anything, arch was not in grub's menu. I changed /etc/default/grub as asked here: https://wiki.archlinux.org/index.php/Gr … Encryption
Then I changed /etc/grub.d/40_custom and add following lines (then same grub-mkconfig...):
# Arch Linux
menuentry "Arch Linux" {
insmod lvm
set root='(hd0,3)' (maybe error here? the pv over the dm-crypt is at /dev/sda3)
linux /vmlinuz-linux root=/dev/mapper/Vg-root ro
initrd /initramfs-linux.img
}
grub-mkconfig -o /boot/grub/grub.cfg gives :
found linux (...) (ubuntu)
found memtest +86
/var/lib/os-prober/mount is not mounted
rmdir can't delete /var/lib/os-prober/mount occupied ressource
grub-probe error: no such disk
grub-probe error: no such disk
I also tried to delete /var/lib/os-prober/mount but it was busy.
While i can access to the lv root /dev/mapper/Vg-root with nautilus from ubuntu!
I just don't understand.
Can you help me?
Thanks in advance for your answers
PS: the grub menu lets me no delay for choosing wich one OS I want to start...
Last edited by banana5 (2012-08-28 11:30:22)
Offline
Up!
Am I in the proper part of the forum?
Offline
Pages: 1