Skip to contentSkip to conversation

trying to boot on a dm-crypt raid device

dm-crypt Louis-David Mitterrand 2 participants 3 messages Sep 22, 2010 – Sep 23, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

On a recent (testing) debian system I am having trouble booting on a softraid dm-crypt device.

I am using this lilo.conf entry:

	image=/boot/vmlinuz-2.6.35.5-3-pyrrhus64
		initrd=/boot/initrd.img-2.6.35.5-3-pyrrhus64
		append="root=/dev/mapper/cmd2 cryptopts=target=cmd2,source=/dev/md2"
		label=2.6.35.5-3-md2

/dev/md2 contains a full debian system and its /etc/fstab and /etc/crypttab have been configured.

At boot the kernel complains of not finding "mapper/md2".

Any idea?

Thanks,

#1 lore raw

This may be the obvipus question, but should you not remove the "root-" line and mount the root filesystem from the system in the initrd as the wncryoted filesystem will not yet be mapped during kernel boot?

Arno

Quoted 25 lines · Louis-David Mitterrand

Hi,

On a recent (testing) debian system I am having trouble booting on a softraid dm-crypt device.

I am using this lilo.conf entry:

	image=/boot/vmlinuz-2.6.35.5-3-pyrrhus64
		initrd=/boot/initrd.img-2.6.35.5-3-pyrrhus64
		append="root=/dev/mapper/cmd2 cryptopts=target=cmd2,source=/dev/md2"
		label=2.6.35.5-3-md2

/dev/md2 contains a full debian system and its /etc/fstab and /etc/crypttab have been configured.

At boot the kernel complains of not finding "mapper/md2".

Any idea?

Thanks,
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 
#2 lore raw
Quoted 4 lines · Arno Wagner

This may be the obvipus question, but should you not remove the "root-" line and mount the root filesystem from the system in the initrd as the wncryoted filesystem will not yet be mapped during kernel boot?

Finaly I was able to boot on my dm-crypt device with this exact lilo.conf stanza. My problem came from a an improperly updated initramfs.

Thanks,

Quoted 41 lines

Arno

Quoted 25 lines · Louis-David Mitterrand

Hi,

On a recent (testing) debian system I am having trouble booting on a softraid dm-crypt device.

I am using this lilo.conf entry:

	image=/boot/vmlinuz-2.6.35.5-3-pyrrhus64
		initrd=/boot/initrd.img-2.6.35.5-3-pyrrhus64
		append="root=/dev/mapper/cmd2 cryptopts=target=cmd2,source=/dev/md2"
		label=2.6.35.5-3-md2

/dev/md2 contains a full debian system and its /etc/fstab and /etc/crypttab have been configured.

At boot the kernel complains of not finding "mapper/md2".

Any idea?

Thanks,
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

Signature · 11 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt