You are not logged in.

#1 2009-03-16 14:19:23

constant
Member
Registered: 2009-03-13
Posts: 6

Issues with installing and booting encrypted root partition.

Hello all,
I am trying to install ArchLinux using the guide here:
http://wiki.archlinux.org/index.php/LUKS_Encrypted_Root

It all works fine until the very end when it comes to booting the system, The thing is that my method varies slightly from what is in the file.

I am having my /boot on my usb drive, I also have my keys on my usb drive albeit on a different partition.

I put into the menu.lst file:

root (hd1,0)
kernel /vmlinuz26 root=/dev/sda1 root ro cryptkey=/dev/sdb3:vfat:/sda1.key
initrd /kernel26.img

Everytime I try to boot I get the following error:

Booting 'Arch Linux'

root (hd1,0)
kernel /vmlinuz26 root=/dev/sda1 root ro cryptkey=/dev/sdb3:vfat:/sda1.key

Error 17: Cannot mount selected partition

Press any key to continue

I really hope someone here can help me.

Thanks allot

Last edited by constant (2009-03-16 15:28:26)

Offline

#2 2009-03-16 16:47:53

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Issues with installing and booting encrypted root partition.

isn't this part: "root (hd1,0)" the place where you /boot is ?
if so I doubt that you usb is on /dev/sda1


Zygfryd Homonto

Offline

#3 2009-03-16 16:58:55

constant
Member
Registered: 2009-03-13
Posts: 6

Re: Issues with installing and booting encrypted root partition.

OK thanks allot, Your correct my /boot is on /dev/sdb1. Through trial and error I found root(hd0,0) worked for me although I now get another error where it is just not booting, http://wiki.archlinux.org/index.php/Ins … _a_USB_key for those who have this issue in the future...

As forum etiquette goes, Would it be considered bad here if I continued to discuss new issues in this thread or should I create a new one? I am not a leach nor am I the sort to do no research, It is just that some of this is a bit out of my area and often the errors to me seem rather non-descriptive, I do try my best to research for myself however as proven above I do miss things!

Thanks allot zyghom, I really appreciate the help.

Last edited by constant (2009-03-16 17:02:28)

Offline

Board footer

Powered by FluxBB