Re: UUID
Brian O'Keefe <[email protected]> Sun, 10 Aug 2025 14:43:53 -0600
| Newsgroups | gmane.org.user-groups.linux.nmglug |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============8234145505812145403== Content-Type: multipart/alternative; boundary="------------AnruYpyG8M0yVZl9v7x9gDE1" Content-Language: en-US This is a multi-part message in MIME format. --------------AnruYpyG8M0yVZl9v7x9gDE1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Paul That seems pretty simple. Still wonder why the motherboard is in upside down and screws not accessible to lift it out. Weird. I actually cloned one drive to another, larger drive. I've done this many times and would just take out the old drive and install the cloned drive. I did this as I required more data storage. However, I can't remove the factory drive as it's not accessible. If I could I would do what I said. Clone the computer's drive to a larger drive, swap them out and boot happily away with the larger drive. Changing the UUID made sense but I didn't know how to do that. On 8/10/25 12:23PM, Paul wrote: > It sounds like you may have cloned one partition to the other? This > would explain them having the same uuid. You need to change the uuid > of one of the partitions. > > Let's say you want to change the uuid of /dev/sdb1. Make sure the > partition is not mounted, then use: > > `sudo tune2fs -U random /dev/sdb1` > > That should do it. > > This is untested on my part, so please do all the necessary backing > up, etc. before trying. > > On Sat, Aug 9, 2025 at 1:20 PM Brian O'Keefe <[email protected]> wrote: > > Hello All > > I'm revisiting an issue I expressed many months (if not years. I > have an ASUS laptop in which I wanted to install a 500GB SSD in > the vacant bay. I said at the time that the motherboard is up side > down so I can't remove the existing drive (a SSD PLUS M.2 NVMe^TM > SSD,) and replace with the 500GB SSD drive. I was able to get the > regular SSD into the bay and plug it in. It shows up in the BIOS > as two separate UUIDs (I have a bootable 313 GB partition and a > free space 193 GB partition. When I choose to try and boot the 313 > GB partition the computer reverts to the drive stick. I checked > the UUIs and the 313GB has a different UUID than the internal > stick drive but the same as the 193 SSD. So for some reason, even > though I change the boot order so the 313GB boots, the computer > reverts to the onboard UUID and boots that. I don't know how the > 193 GB drive got the same UUID but it did. > > When I boot the computer I get the option of booting Ubuntu 20.04 > but 16.04 is also listed. That is the 313 GB which I was planning > to wipe and install 25.04. Perhaps I can wipe it with GParted and > try installing 25.04 on it. > > Sorry about the long screed! I'd love to get the 313GB to boot > 25.04 so I can see if it works on the old cloned 313GB drive with > 16.04. If that worked I'd have a current back-up (I have one, the > unbootable 313GB drive which won't boot). I would then upgrade the > 313 GB drive after cloning the onboard drive. If the cloned 313GB > drive updated then I would have my current mountains of data on > the 313GB drive. But if it won't boot now why would it boot later, > after all of the work? > > Many thanks if anyone wants to help. If not I completely understand > > Best > > Brian > > _______________________________________________ > nmglug mailing list > [email protected] > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org > -- --------------AnruYpyG8M0yVZl9v7x9gDE1 Content-Type: multipart/related; boundary="------------AU5b0cGvrXRaL7WMN0rsnDw8" --------------AU5b0cGvrXRaL7WMN0rsnDw8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Thanks Paul</p> <p>That seems pretty simple. Still wonder why the motherboard is in upside down and screws not accessible to lift it out. Weird.</p> <p>I actually cloned one drive to another, larger drive. I've done this many times and would just take out the old drive and install the cloned drive. I did this as I required more data storage. However, I can't remove the factory drive as it's not accessible. If I could I would do what I said. Clone the computer's drive to a larger drive, swap them out and boot happily away with the larger drive. Changing the UUID made sense but I didn't know how to do that.<br> </p> <div class="moz-cite-prefix">On 8/10/25 12:23PM, Paul wrote:<br> </div> <blockquote type="cite" cite="mid:CALezEt6ZqzGa8z8pBkMftt5VkmPtCmRxi5H-o5oTmNx9RT2Z6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"> <div> <div> <div>It sounds like you may have cloned one partition to the other? This would explain them having the same uuid. You need to change the uuid of one of the partitions. <br> <br> </div> Let's say you want to change the uuid of /dev/sdb1. Make sure the partition is not mounted, then use:<br> <br> `sudo tune2fs -U random /dev/sdb1`<br> <br> </div> That should do it. <br> <br> </div> This is untested on my part, so please do all the necessary backing up, etc. before trying. </div> <br> <div class="gmail_quote gmail_quote_container"> <div dir="ltr" class="gmail_attr">On Sat, Aug 9, 2025 at 1:20 PM Brian O'Keefe <<a href="mailto:[email protected]" moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <p>Hello All</p> <p>I'm revisiting an issue I expressed many months (if not years. I have an ASUS laptop in which I wanted to install a 500GB SSD in the vacant bay. I said at the time that the motherboard is up side down so I can't remove the existing drive (a <span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">SSD PLUS M.2 NVMe</span><sup style="box-sizing:inherit;border:0px solid rgb(246,246,246);font-size:12px;line-height:0;vertical-align:baseline;color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">TM</sup><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><span> </span>SSD,) and replace with the 500GB SSD drive. I was able to get the regular SSD into the bay and plug it in. It shows up in the BIOS as two separate UUIDs (I have a bootable 313 GB partition and a free space 193 GB partition. When I choose to try and boot the 313 GB partition the computer reverts to the drive stick. I checked the UUIs and the 313GB has a different UUID than the internal stick drive but the same as the 193 SSD. So for some reason, even though I change the boot order so the 313GB boots, the computer reverts to the onboard UUID and boots that. I don't know how the 193 GB drive got the same UUID but it did.</span></p> <p><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">When I boot the computer I get the option of booting Ubuntu 20.04 but 16.04 is also listed. That is the 313 GB which I was planning to wipe and install 25.04. Perhaps I can wipe it with GParted and try installing 25.04 on it.</span></p> <p><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Sorry about the long screed! I'd love to get the 313GB to boot 25.04 so I can see if it works on the old cloned 313GB drive with 16.04. If that worked I'd have a current back-up (I have one, the unbootable 313GB drive which won't boot). I would then upgrade the 313 GB drive after cloning the onboard drive. If the cloned 313GB drive updated then I would have my current mountains of data on the 313GB drive. But if it won't boot now why would it boot later, after all of the work?</span></p> <p><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Many thanks if anyone wants to help. If not I completely understand</span></p> <p><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Best</span></p> <p><span style="color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Brian<br> </span></p> <div><img src="cid:[email protected]" class="" border="0"></div> </div> _______________________________________________<br> nmglug mailing list<br> <a href="mailto:[email protected]" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br> <a href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a><br> </blockquote> </div> </blockquote> <div class="moz-signature">-- <br> <img src="cid:[email protected]" border="0"></div> </body> </html> --------------AU5b0cGvrXRaL7WMN0rsnDw8 Content-Type: image/png; name="signature.png" Content-Disposition: inline; filename="signature.png" Content-Id: <[email protected]> Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAANAAAACCCAIAAAC4gNHfAAAABmJLR0QA/wD/AP+gvaeTAAAA CXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wUYEwIkERyo9gAAAB1pVFh0Q29tbWVudAAA AAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAOrUlEQVR42u2de1CU5RfHzy67yHIXuQhKIkHA QIpll0FD8II7hKExjFOUFEKmlqM2kJOCiP1heWsmLzUTNlqRF6SMAMlCCoboQgESICSjcVFg L7CwC+yy+/7+OL/e2bise9VFzuev5d3nBs+X532fc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w8PJ8GR4IwE D7TqKaCysjLcMdDck+CMBI+x3Lx5U6lU3vUBDj9Y4qArMV0EFx4ezufz29raVCqV7pL4WsvU 1FR6NwMJznhCQ0M9PDz6+/s/++wzHcX6+/u7u7sBAE8XEyQ448GcWZj6ZTKuX7/e3d09f/78 sLAwmngSnEls3rwZT+x9+OGHk5XBBGwrV67EY9XEfWEKG37HUFhY+Nxzzzk7O4tEovHJppub mzHuvKOjg80NSNAKZzxCodDGxkYmk8XFxUml0jHf4nn3N998k9RGK5zZaGlpCQoKws9vvfXW 6tWrH3vssfb29kWLFgGAn59fQ0ODg4MDzfr95AHzDbe2tmIM+hgWLVp048YN8p2T894itLW1 xcTEKBQKTOGRlpaGaXLpHc50S7Ugg4ODMpmMz+dj5BxBgiNol0oQJDiCBEcQJDiCBEcQJDiC BEeQ4AiCBEeQ4AiCBEeQ4AiCBEeQ4AgSHEGQ4AgSHEGQ4AgSHEGCIwgSHEGCIwgSHEGCIwgS HHG/+R87RpMZ3KibnwAAAABJRU5ErkJggg== --------------AU5b0cGvrXRaL7WMN0rsnDw8-- --------------AnruYpyG8M0yVZl9v7x9gDE1-- --===============8234145505812145403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ nmglug mailing list [email protected] http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org --===============8234145505812145403==--