{"id":2248,"date":"2018-03-26T23:13:03","date_gmt":"2018-03-27T06:13:03","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2248"},"modified":"2018-03-26T23:13:03","modified_gmt":"2018-03-27T06:13:03","slug":"linux-dual-boot-fixing-the-efi-fat32-uuid","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2248","title":{"rendered":"Linux &#8211; Dual-Boot &#8211; Fixing the EFI FAT32 UUID.."},"content":{"rendered":"<p>Although I had successfully achieved a dual-boot uEFI Fedora27\/Windows7 system, the expanded EFI partition issue was still unresolved..\u00a0\u00a0 I had successfully expanded the partition size, but the expansion of the FAT32 filesystem on it did <span style=\"text-decoration: underline;\">not<\/span> work, as <strong>gparted<\/strong> was unable to handle it.\u00a0\u00a0 After more research, I came to the conclusion that the only reliable solution was to back-up the entire EFI partition contents, and re-create the FAT32 filesystem in the already-expanded partition, and restore the contents..<\/p>\n<p>This worked, but I had to remember that current Fedora systems default to UUIDs in fstab, and &#8211; of course &#8211; the FAT32 partition UUID had changed with the filesystem re-creation..\u00a0\u00a0\u00a0\u00a0 Personally, I still prefer the old <strong><span style=\"font-family: courier\\ new, courier;\">\/dev\/sdX<\/span><\/strong> format in fstab, but others may prefer to just change the UUID to the &#8216;new&#8217; one, except that in this dual-boot scenario, that would not work..<\/p>\n<p>The real problem came on rebooting into Win7, when it threw an &#8221;<strong><span style=\"font-family: courier\\ new, courier;\">error: no such device &lt;oldUUID&gt;<\/span><\/strong>.&#8221; error..\u00a0\u00a0 but then &#8211; after a while &#8211; went ahead and booted OK..\u00a0\u00a0\u00a0 I needed to fix this, and restore the &#8216;original&#8217; UUID..<\/p>\n<p>It seems that changing the &#8216;UUID&#8217; on FAT32 systems is relatively convoluted, and some of the suggestions I found simply did not work..\u00a0\u00a0 I used a spare USB stick with a FAT32 partition for testing..<\/p>\n<p>Eventually I found a rather complex solution here:\u00a0 <a href=\"https:\/\/superuser.com\/questions\/1247972\/change-uuid-of-vfat-partition\" target=\"_blank\" rel=\"noopener\">https:\/\/superuser.com\/questions\/1247972\/change-uuid-of-vfat-partition<\/a> , and thanks to <em><strong>Tommy<\/strong><\/em> for the info..\u00a0\u00a0\u00a0\u00a0 I tested this on the USB stick first, and then on the actual boot disk, and it worked..\u00a0\u00a0 If you are going to try this yourself, I would recommend &#8211; carefully &#8211; cutting\/pasting the &#8216;complex&#8217; command, taking care to substitute the correct drive\/partition info..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 March 26, 2018.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although I had successfully achieved a dual-boot uEFI Fedora27\/Windows7 system, the expanded EFI partition issue was still unresolved..\u00a0\u00a0 I had successfully expanded the partition size, but the expansion of the FAT32 filesystem on it did not work, as gparted was unable to handle it.\u00a0\u00a0 After more research, I came to the conclusion that the only reliable solution <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2248\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1836,10,1238,11,15,19,1160],"tags":[1837,1848,151,242,1722,392,1847],"class_list":["post-2248","post","type-post","status-publish","format-standard","hentry","category-dual-boot","category-fedora","category-fix","category-hacks","category-linux-2","category-opinion","category-uefi","tag-dual-boot","tag-efi-partition","tag-fat32","tag-linux","tag-restore","tag-uuid","tag-windows7"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2248"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2248\/revisions"}],"predecessor-version":[{"id":2251,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2248\/revisions\/2251"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}