{"id":236,"date":"2019-05-15T18:11:46","date_gmt":"2019-05-15T18:11:46","guid":{"rendered":"https:\/\/randomlinuxnotes.wordpress.com\/?p=236"},"modified":"2019-05-15T18:11:46","modified_gmt":"2019-05-15T18:11:46","slug":"ubuntu-18-04-manual-raid-crypt-lvm-highlights","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=236","title":{"rendered":"ubuntu 18.04 manual raid, crypt, lvm highlights"},"content":{"rendered":"<p>After many days of banging my head against how to get 18.04 installed with raid1, crypt, and lvm on new disks from alternative server iso, the crux was the 1mb bios boot partition at the beginning of both disks.<br \/>\nWithout that I&#8217;d get all the way through the install and &#8211; can&#8217;t install grub &#8220;you&#8217;re f&#8217;d&#8221;<\/p>\n<p>What I did:<\/p>\n<p>partition 1mb bios boot partition 1mb into the disk &#8211; offset by 2048 bytes from beginning of disk for size of 2048 bytes. type is bios boot.<\/p>\n<p>then I did a generous boot partition of 732MB as raid, then the rest of the disk as a raid partition.<\/p>\n<p>setup raid on sd[a,b]2 as md0, sd[a,b]3 as md1<\/p>\n<p>setup ext4 on md0 mount as \/boot<\/p>\n<p>setup crypt on md1<\/p>\n<p>setup lvm on crypt<br \/>\nsetup swap on lvm, setup root on lvm<\/p>\n<p>assign swap as swap<br \/>\nsetup ext4 on lvm-root mount on \/<\/p>\n<p>finish install<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After many days of banging my head against how to get 18.04 installed with raid1, crypt, and lvm on new disks from alternative server iso, the crux was the 1mb bios boot partition at the beginning of both disks. Without that I&#8217;d get all the way through the install and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[79,81,112,139],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-rln","tag-luks","tag-lvm","tag-raid","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}