You are not logged in.

#1 2009-07-03 12:24:55

jack_slayton
Member
Registered: 2009-04-12
Posts: 29

[solved] Problems booting with encrypted root

Hi there,

recently i reinstalled my archlinux with harddrive encryption. I encrypted my home, swap and root partition.
Now on bootup sometimes this error occurs:
http://img199.imageshack.us/img199/4213/imag0012qyc.jpg
Sometimes i'm prompted for the LUKS-Password at the first try of booting, sometimes i have to reboot about 5 times to get the prompt.

My harddrive is an IDE drive.
/dev/sda1 is the /boot partition and unencrypted
/dev/sda2 contains encrypted home, swap and /.
I'm using Kernel 2.6.30 64bit.

menu.lst:

...
# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/mapper/main-root cryptdevice=/dev/sda2:main ro rootdelay=10
initrd /kernel26.img
....

mkinitcpio.conf:

...
HOOKS="base udev autodetect pata scsi sata encrypt lvm2 filesystems"
...

I alredy tried this (last post of the thread) but it doesnt work.

Hopefully somebody can help me.
Thank you

Last edited by jack_slayton (2009-07-19 16:31:13)

Offline

#2 2009-07-06 22:00:24

jack_slayton
Member
Registered: 2009-04-12
Posts: 29

Re: [solved] Problems booting with encrypted root

no ideas? sad

Offline

#3 2009-07-19 16:30:58

jack_slayton
Member
Registered: 2009-04-12
Posts: 29

Re: [solved] Problems booting with encrypted root

Solved.
Apparently my Harddisks where assigned to different /dev/sdx every boot, so the crypt device wasn't allways /dev/sda on which the kernel-boot-line in grub refered to.
Solved with UUIDs in the boot-line ...

Offline

Board footer

Powered by FluxBB