[Gllug] Problem with encrypted Debian root.

Iain M Conochie iain at shihad.org
Fri Jul 16 00:14:59 UTC 2010


Andrew Back wrote:
> Hello,
>
> I've just completed a Debian install with encrypted root, following:
>
> http://smcv.pseudorandom.co.uk/2008/09/cryptroot/
>
> When I choose the default grub entry:
>
> title           Debian GNU/Linux, kernel 2.6.26-2-686 Default
> root            (hd0,1)
> kernel          /vmlinuz root=/dev/mapper/mosschops-root ro
> initrd          /initrd.img
>
> It hangs with "waiting for root", rather than prompting me for a passphrase.
>   

Where in the boot phase does this hang? On loading the kernel? On 
loading the initrd? I presume right at the start

> However, when I pick the entry which specifies the kernel version:
>
> title           Debian GNU/Linux, kernel 2.6.26-2-686
> root            (hd0,1)
> kernel          /vmlinuz-2.6.26-2-686 root=/dev/mapper/mosschops-root ro
> initrd          /initrd.img-2.6.26-2-686
>
> It prompts me for a passphrase and boots as expected.

Do you actually have the files vmlinuz and initrd.img in your boot 
directory? Are they symlinks?

>  I only have one
> kernel version installed, and this and the corresponding initrd.img
> are versioned and in /boot (not root as the above entry, which works,
> suggests), and with vmlinuz and initrd.img links in /.
>
> I suspect the answer is something fairly obvious, but am currently at
> a loss as to what it might be. Any ideas?
>   

I would guess they are symlinks and perhaps this is not working too 
well. If one entry boots then you can always remove the duff entry from 
/boot/grub/menu.lst and just have the one that works

Ta

Iain

> Cheers,
>
> Andrew
>
>   

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list