You are not logged in.

#1 2009-03-05 09:33:34

henux
Member
Registered: 2008-10-13
Posts: 5

Problems with installing Arch on encrypted drive

Hello again!

I am now trying to install Arch Linux on my AA1L machine, with encrypted root partition. I have /dev/sda1 which is the unencrypted boot and /dev/sda2 which is the encrypted / partition. I followed the ArchWiki article which explained me to have 'encrypt' in the HOOKS variable of /etc/mkinitcpio.conf. However when I boot, GRUB gives me "/dev/mapper/root not found". Any ideas what did I miss?


henux

Offline

#2 2009-03-05 11:23:23

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Problems with installing Arch on encrypted drive

Boot with a live cd and show the output of 'blkid' and the relevant (last) part of your grub menu.lst (from sda1). And perhaps also mkinitcpio.conf, minus the comments.


1000

Offline

#3 2009-03-05 12:50:22

Funbird
Member
From: Germany
Registered: 2007-09-24
Posts: 14

Re: Problems with installing Arch on encrypted drive

Hi,

sorry about my English wink.

I think you must change menu.lst  from /dev/mapper/root to /dev/sda2 ?

I have on my acer laptop no problem.

On my book: / an /home are encryptet.

Bye

Offline

#4 2009-03-05 18:44:49

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Problems with installing Arch on encrypted drive

you should not "just have" the hook in /etc/mkinitcpio.conf. It should be at the correct location (eg just before "filesystems")
Don't forget to rebuild your initcpio with mkinitcpio if you change settings in /etc/mkinitcpio.conf.

And also what Funbird said.

Both of these things are nicely documented @ http://wiki.archlinux.org/index.php/LUKS_Encrypted_Root, btw


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB