You are not logged in.
Pages: 1
Helllo guys!
I've got a slight problem. I'm trying to put 64bit Arch on my laptop, of course I want all stuff encrypted.
My partition table looks like that:
/dev/sda1 NTFS
/dev/sda2 /boot (ext2)
/dev/sda3 swap (linux swap)
/dev/sda4 lvm (0x8E linux LVM)
I tried to make encrypted root on LVM. I choose 64bit implementation of twofish (modprobe twofish_x86_64)
cryptsetup -y --cipher twofish-cbc-essiv:sha256 --key-size 192 luksFormat /dev/sda4
cryptsetup luksOpen /dev/sda4 lvm
all LVM stuff I did ok (I hope ), created physical drive on /dev/mapper/lvm, added vgroup called "system"
and added there lvolumes "root" "home" (/dev/system/root /dev/system/home)
installed arch, configured fstab
/dev/system/home /home reiserfs defaults 0 0
/dev/system/root / reiserfs defaults 0 0
/dev/sda2 /boot ext2 defaults 0 0
/dev/sda3 swap swap defaults 0 0
installed GRUB and configured like this
title Arch Linux
root (hd0,3)
kernel /vmlinuz26 root=/dev/sda4 lvm2root=/dev/system/root ro
initrd /kernel26.img
Of course all LVM stuff is in mkinitcpio and rc.conf too. It just wont boot
Error 17: Cannot mount selected partition
Can someone help me with that?. I also tried similar scenario yesterday, but I didnt used LVM
I created normal logical partition for root and home
Thx, for all responses :]
Offline
I think your grub-config should look like this
title Arch Linux
root (hd0,1) # <= this root is grub's root, which is your boot-partition
kernel /vmlinuz26 root=/dev/sda4 lvm2root=/dev/system/root ro
initrd /kernel26.img
The root in menu.lst is actually the boot-partition (grub's root, not your linux's root)
Last edited by klixon (2007-09-07 09:32:49)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Pages: 1