{"id":79,"date":"2022-05-19T18:28:00","date_gmt":"2022-05-20T01:28:00","guid":{"rendered":"https:\/\/www.cmsws.com\/blog\/?p=79"},"modified":"2023-05-27T05:57:24","modified_gmt":"2023-05-27T12:57:24","slug":"how-to-debian-11-uefi-software-raid","status":"publish","type":"post","link":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/","title":{"rendered":"Debian 11 + uEFI + Software RAID"},"content":{"rendered":"\n<p>This document is going to describe for you the setup that I have come up with to get uEFI and Software RAID to play nice together.  I performed this setup using the current release of <a href=\"http:\/\/debian.org\" target=\"_blank\" rel=\"noopener nofollow\" title=\"Debian\">Debian<\/a> 11.3 but I&#8217;m sure this process will work with any version of Debian or Debian based release.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example partition table layout<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>jlucas@cloud9:~$ lsblk\nNAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT     FileSystem Format\n&lt;snip&gt;\n\u251c\u2500sdi1    8:129  0   571M  0 part  \/boot\/efi      #FAT32\n\u251c\u2500sdi2    8:130  0   977M  0 part  \n\u2502 \u2514\u2500md0   9:0    0   976M  0 raid1 \/boot          #ext4\n\u251c\u2500sdi3    8:131  0   7.6G  0 part  &#91;SWAP]         #swap\n\u2514\u2500sdi4    8:132  0 214.4G  0 part  \n  \u2514\u2500md1   9:1    0 214.3G  0 raid1 \/              #ext4\nsdj       8:144  0 223.6G  0 disk  \n\u251c\u2500sdj1    8:145  0   571M  0 part  \n\u251c\u2500sdj2    8:146  0   977M  0 part  \n\u2502 \u2514\u2500md0   9:0    0   976M  0 raid1 \/boot          #ext4\n\u251c\u2500sdj3    8:147  0   7.6G  0 part  &#91;SWAP]         #swap\n\u2514\u2500sdj4    8:148  0 214.4G  0 part  \n  \u2514\u2500md1   9:1    0 214.3G  0 raid1 \/              #ext4<\/code><\/pre>\n\n\n\n<p>The &lt;snip&gt; is a portion that I took our of additional drives that are not related to the OS drives.<\/p>\n\n\n\n<p>To make the system fully bootable from either drive, you have to replicate the <em>\/dev\/sdi1<\/em> partition to <em>\/dev\/sdj1<\/em>.  The following line will take care of that:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dd if=\/dev\/sdi1 of=\/dev\/sdj1 bs=1M status=progress<\/code><\/pre>\n\n\n\n<p>A caveat to this is that when booting, since both \/dev\/sdi1 and \/dev\/sdj1 are a bit for bit copy of each other they system could at random mount either partition.  So, you need to take find<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian 11 install and setup on a software RAID partition layout.  Then booting using uEFI.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jim Lucas\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"A different perspective \u203a Right, lets get on with it...\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Debian 11 + uEFI + Software RAID \u203a A different perspective\" \/>\n\t\t<meta property=\"og:description\" content=\"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-05-20T01:28:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-05-27T12:57:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Debian 11 + uEFI + Software RAID \u203a A different perspective\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#blogposting\",\"name\":\"Debian 11 + uEFI + Software RAID \\u203a A different perspective\",\"headline\":\"Debian 11 + uEFI + Software RAID\",\"author\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/author\\\/jlucas\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/#organization\"},\"datePublished\":\"2022-05-19T18:28:00-07:00\",\"dateModified\":\"2023-05-27T05:57:24-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#webpage\"},\"articleSection\":\"Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cmsws.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#listItem\",\"name\":\"Debian 11 + uEFI + Software RAID\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#listItem\",\"position\":3,\"name\":\"Debian 11 + uEFI + Software RAID\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/#organization\",\"name\":\"A different perspective\",\"description\":\"Right, lets get on with it...\",\"url\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/\",\"telephone\":\"+15414085189\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/author\\\/jlucas\\\/#author\",\"url\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/author\\\/jlucas\\\/\",\"name\":\"Jim Lucas\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cbbbf6cb05c36455e4560d55d14ec27e194a9639eef5b88d16f0d547e8c55c7?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jim Lucas\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#webpage\",\"url\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/\",\"name\":\"Debian 11 + uEFI + Software RAID \\u203a A different perspective\",\"description\":\"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/how-to-debian-11-uefi-software-raid\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/author\\\/jlucas\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/author\\\/jlucas\\\/#author\"},\"datePublished\":\"2022-05-19T18:28:00-07:00\",\"dateModified\":\"2023-05-27T05:57:24-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/\",\"name\":\"A different perspective\",\"description\":\"Right, lets get on with it...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cmsws.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Debian 11 + uEFI + Software RAID \u203a A different perspective","description":"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.","canonical_url":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#blogposting","name":"Debian 11 + uEFI + Software RAID \u203a A different perspective","headline":"Debian 11 + uEFI + Software RAID","author":{"@id":"https:\/\/www.cmsws.com\/blog\/author\/jlucas\/#author"},"publisher":{"@id":"https:\/\/www.cmsws.com\/blog\/#organization"},"datePublished":"2022-05-19T18:28:00-07:00","dateModified":"2023-05-27T05:57:24-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#webpage"},"isPartOf":{"@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#webpage"},"articleSection":"Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.cmsws.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog\/category\/linux\/#listItem","position":2,"name":"Linux","item":"https:\/\/www.cmsws.com\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#listItem","name":"Debian 11 + uEFI + Software RAID"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#listItem","position":3,"name":"Debian 11 + uEFI + Software RAID","previousItem":{"@type":"ListItem","@id":"https:\/\/www.cmsws.com\/blog\/category\/linux\/#listItem","name":"Linux"}}]},{"@type":"Organization","@id":"https:\/\/www.cmsws.com\/blog\/#organization","name":"A different perspective","description":"Right, lets get on with it...","url":"https:\/\/www.cmsws.com\/blog\/","telephone":"+15414085189"},{"@type":"Person","@id":"https:\/\/www.cmsws.com\/blog\/author\/jlucas\/#author","url":"https:\/\/www.cmsws.com\/blog\/author\/jlucas\/","name":"Jim Lucas","image":{"@type":"ImageObject","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cbbbf6cb05c36455e4560d55d14ec27e194a9639eef5b88d16f0d547e8c55c7?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jim Lucas"}},{"@type":"WebPage","@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#webpage","url":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/","name":"Debian 11 + uEFI + Software RAID \u203a A different perspective","description":"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.cmsws.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/#breadcrumblist"},"author":{"@id":"https:\/\/www.cmsws.com\/blog\/author\/jlucas\/#author"},"creator":{"@id":"https:\/\/www.cmsws.com\/blog\/author\/jlucas\/#author"},"datePublished":"2022-05-19T18:28:00-07:00","dateModified":"2023-05-27T05:57:24-07:00"},{"@type":"WebSite","@id":"https:\/\/www.cmsws.com\/blog\/#website","url":"https:\/\/www.cmsws.com\/blog\/","name":"A different perspective","description":"Right, lets get on with it...","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.cmsws.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"A different perspective \u203a Right, lets get on with it...","og:type":"article","og:title":"Debian 11 + uEFI + Software RAID \u203a A different perspective","og:description":"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI.","og:url":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/","article:published_time":"2022-05-20T01:28:00+00:00","article:modified_time":"2023-05-27T12:57:24+00:00","twitter:card":"summary_large_image","twitter:title":"Debian 11 + uEFI + Software RAID \u203a A different perspective","twitter:description":"Debian 11 install and setup on a software RAID partition layout. Then booting using uEFI."},"aioseo_meta_data":{"post_id":"79","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":true,"ai":null,"created":"2023-05-26 01:48:42","updated":"2025-07-23 02:29:30","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.cmsws.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.cmsws.com\/blog\/category\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDebian 11 + uEFI + Software RAID\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.cmsws.com\/blog"},{"label":"Linux","link":"https:\/\/www.cmsws.com\/blog\/category\/linux\/"},{"label":"Debian 11 + uEFI + Software RAID","link":"https:\/\/www.cmsws.com\/blog\/how-to-debian-11-uefi-software-raid\/"}],"_links":{"self":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":5,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":151,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions\/151"}],"wp:attachment":[{"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cmsws.com\/blog\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}