{"id":26,"date":"2008-10-01T12:10:48","date_gmt":"2008-10-01T11:10:48","guid":{"rendered":"http:\/\/lendl.priv.at\/blog\/2008\/10\/01\/debian-lenny-lvm2-on-dm_crypt-on-raid\/"},"modified":"2026-01-26T12:16:54","modified_gmt":"2026-01-26T11:16:54","slug":"debian-lenny-lvm2-on-dm_crypt-on-raid","status":"publish","type":"post","link":"https:\/\/lendl.priv.at\/blog\/2008\/10\/01\/debian-lenny-lvm2-on-dm_crypt-on-raid\/","title":{"rendered":"Debian Lenny: \/ on LVM2 on dm_crypt on raid"},"content":{"rendered":"<p>This is just Google-fodder:<\/p>\n<p>If you use the lenny (beta2) installer to setup a system which uses \/ on LVM on dm_crypt on raid, then the first reboot fails with something like &#8220;cannot find LVM volumes&#8221;. After a few minutes you get dumped into a busybox shell.<\/p>\n<p><strong>Getting the system to boot<\/strong><\/p>\n<p>Run <code>cryptsetup luksOpen \/dev\/md1 md1_crypt<\/code> (or md0, depending on your setup). Exit busybox and the system should boot through. Then &#8230;<\/p>\n<p><strong>Fixing this for good<\/strong><\/p>\n<p>It seems to be that <a href=\"http:\/\/wiki.debian.org\/DebianInstaller\/RAIDvsCrypto\">this Wiki page<\/a> still applies. Thus you have to create a line in \/etc\/crypttab containing (in my case md1)<\/p>\n<blockquote><p>\nmd1_crypt \/dev\/md1 none luks\n<\/p><\/blockquote>\n<p>and run <code>update-initramfs -u<\/code> to update the initrd.<\/p>\n<p>That&#8217;s it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just Google-fodder: If you use the lenny (beta2) installer to setup a system which uses \/ on LVM on dm_crypt on raid, then the first reboot fails with something like &#8220;cannot find LVM volumes&#8221;. After a few minutes you get dumped into a busybox shell. Getting the system to boot Run cryptsetup luksOpen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-system-administration"],"_links":{"self":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":1,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":1040,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions\/1040"}],"wp:attachment":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}