[pkg-cryptsetup-devel] Bug#546610: cryptsetup: root= cmdline call is not honoured by initrd in crypto+lvm (Was initramfs-tools: ...)
Jonas Meurer
jonas at freesources.org
Thu Sep 24 19:29:58 UTC 2009
hello,
On 17/09/2009 Agustin Martin wrote:
> Rebuilt 2.6.29 initrd in current sid and problem reappeared.
>
> However seems I found the package responsible for the problem, cryptsetup.
> If I install lenny cryptsetup (1.0.6-7) and rebuild he initrd things work
> again as expected. However, if I install previous (1.0.7-1) or current
> (1.0.7-2) cryptsetup problem reappears.
>
> Reassigning,
first, thanks for the bugreport. the reason for change of bahaviour is a
line in /usr/share/initramfs/scripts/local-top/cryptroot that sets $ROOT
to $NEWROOT in /conf/params.conf in the initramfs:
302: if [ "$cryptrootdev" = "yes" ]; then
303: # required for lilo to find the root device
304: echo "ROOT=$NEWROOT" >> /conf/param.conf
305: fi
commenting out these lines and regenerating the initramfs
(update-initramfs -u) afterwards should fix it. could you verify that?
unfortunately these lines are required in order to support setups with
cryptroot on lvm and lilo as bootloader. thus i don't know what to do
about that bug yet. will have to do further investigation and testing
with lilo as bootloader first.
greetings,
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20090924/5d82065d/attachment.pgp>
More information about the pkg-cryptsetup-devel
mailing list