<div dir="ltr">I'm part of another discussion in which we are talking about UUIDs.<div>This is what one of the participants said:</div><div><br></div><div><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">As pointed out earlier by bmike1 in response to my comment about GRUB2 not being able to find the OS if you move the partitions, by default on Linux Mint GRUB2 will use UUIDs </span><span style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;color:rgb(169,169,169)"><em>(the id tag for your partitions)</em></span><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"> instead of partition numbers</span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(eg: sda1, sda2, etc)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">, so I was incorrect when I said GRUB2 won't be able to find the boot partition. Linux Mint's fstab </span><span style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;color:rgb(169,169,169)"><em>(a config file read at boot to tell Mint which partitions should be automatically mounted)</em> </span><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">also uses UUIDs by default so no issues there. Therefore I do not see any reason why moving your installation would be an issue </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(keep reading)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">, so I decided to test it in a virtual machine. I installed Linux Mint 17.1 - Cinnamon 64bit </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(I've been wanting to try Linux Mint for a while. I've been downloading a little bit of the ISO each day)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"> with a partition layout similar to yours </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(</span><a href="http://i.imgur.com/3qg0bSv.png" class="" title="External link" rel="nofollow external" style="color:rgb(15,114,218)"><span style="color:rgb(169,169,169)">http://i.imgur.com/3qg0bSv.png</span></a><span style="color:rgb(169,169,169)"> )</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">. I wasn't able to move the extended partition using Gparted, or create a new one. In the end I just created 3 new primary partitions and cloned the Linux Mint logical partitions to them using dd </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(dd is a sector based cloning tool that comes pre-installed on most Linux operating systems. I used it because this way the new partitions will have the same UUIDS as the Linux Mint ones did. This is important since GRUB2 is using UUIDS to identify the boot partition and because the fstab uses UUIDs to identify your swap partition)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">. Then I deleted the old partitions </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">( </span><a href="http://i.imgur.com/hDBT5ns.png" class="" title="External link" rel="nofollow external" style="color:rgb(15,114,218)"><span style="color:rgb(169,169,169)">http://i.imgur.com/hDBT5ns.png</span></a><span style="color:rgb(169,169,169)"> )</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">. The result was that GRUB2 was unable boot Linux Mint because it couldn't find the boot partition </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(I don't know why this is, but if I had to take a guess it would be that GRUB2 was probably storing part of itself on the extended partition's VBR which no longer exists because I deleted the extended partition)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">. So GRUB2 needed to be repaired. Using a Linux Mint Live-cd, I ran "</span><span style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;color:rgb(255,0,0)">sudo add-apt-repository ppa:yannubuntu/boot-repair</span><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">"</span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(this adds a third party repo that has boot-repair in it, because it's not available in the default Linux Mint repos)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">, "</span><span style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;color:rgb(255,0,0)">sudo apt-get update</span><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">" </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(to update apts package list)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">, "</span><span style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;color:rgb(255,0,0)">sudo apt-get install boot-repair</span><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">" </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(to download and install boot-repair)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">, and then I ran boot-repair with its default settings </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(be warned by default boot-repair uploads information about your computer online, you can disable this)</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">. This successfully fixed GRUB2, and I was able to boot Linux Mint again </span><em style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="color:rgb(169,169,169)">(</span><a href="http://i.imgur.com/ZJhXRbe.png" class="" title="External link" rel="nofollow external" style="color:rgb(15,114,218)"><span style="color:rgb(169,169,169)">http://i.imgur.com/ZJhXRbe.png</span></a><span style="color:rgb(169,169,169)"> )</span></em><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">.</span><br clear="all"><div><div class="gmail_signature"><br></div><div class="gmail_signature">I then said:</div><div class="gmail_signature"><br></div><div class="gmail_signature"><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">I think I know why it needed repairing. The reason is that you created new partitions (new UUIDs) and deleted the old partitions (the existing UUIDs).</span></div><div class="gmail_signature"><br></div><div class="gmail_signature">to which he responded:</div><div class="gmail_signature"><br></div><p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">The partitions were cloned with dd so that they would have the same UUIDs. I also used "sudo blkid" to verify the uuids of the new primary partitions matched before deleting the original logical partitions.</p><div class="gmail_signature"><br></div><div class="gmail_signature">He and I both remarked between the first and last quote that we thought the UUID of the partition would of had it recognized regardless of what we did with other partitions on the drive. Could someone kindly explain to us wherein the difficulties lie?</div><div class="gmail_signature">:-)~MIKE~(-:<br></div></div>
</div></div>