Re: UUID

Paul <[email protected]> Sun, 10 Aug 2025 12:23:59 -0600
Newsgroups gmane.org.user-groups.linux.nmglug
Message-ID <CALezEt6ZqzGa8z8pBkMftt5VkmPtCmRxi5H-o5oTmNx9RT2Z6Q@mail.gmail.com>
--===============0041214385538794309==
Content-Type: multipart/related; boundary="000000000000dfb560063c06e984"

--000000000000dfb560063c06e984
Content-Type: multipart/alternative; boundary="000000000000dfb55f063c06e983"

--000000000000dfb55f063c06e983
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFPM 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 t=
he
> existing drive (a SSD PLUS M.2 NVMeTM 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 boo=
t
> the 313 GB partition the computer reverts to the drive stick. I checked t=
he
> 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 boo=
t
> 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 di=
d.
>
> 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.0=
4
> 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 th=
e
> 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 wh=
y
> 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
>

--000000000000dfb55f063c06e983
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>It sounds like you may have cloned one part=
ition to the other? This would explain them having the same uuid. You need =
to change the uuid of one of the partitions.=C2=A0<br><br></div>Let&#39;s s=
ay 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.=C2=A0<br><br></div>This is untested on my part, so pleas=
e do all the necessary backing up, etc. before trying.=C2=A0</div><br><div =
class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail=
_attr">On Sat, Aug 9, 2025 at 1:20=E2=80=AFPM Brian O&#39;Keefe &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

 =20

   =20
 =20
  <div>
    <p>Hello All</p>
    <p>I&#39;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&#39;t remove the existing drive (a <span style=3D"color=
:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-size:16=
px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal=
;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;tex=
t-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(2=
55,255,255);text-decoration-style:initial;text-decoration-color:initial;dis=
play:inline;float:none">SSD
        PLUS M.2 NVMe</span><sup style=3D"box-sizing:inherit;border:0px sol=
id rgb(246,246,246);font-size:12px;line-height:0;vertical-align:baseline;co=
lor:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-serif;font-styl=
e: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=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Arial,sans-seri=
f;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-varia=
nt-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-=
indent:0px;text-transform:none;word-spacing:0px;white-space:normal;backgrou=
nd-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-col=
or:initial;display:inline;float:none"><span>=C2=A0</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&#39;=
t
        know how the 193 GB drive got the same UUID but it did.</span></p>
    <p><span style=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Ar=
ial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:no=
rmal;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-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=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Ar=
ial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:no=
rmal;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-color:initial;display:inline;float:none">Sorry
        about the long screed! I&#39;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&#39;d have a current back-up (I have one,
        the unbootable 313GB drive which won&#39;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&#39;t boot now
        why would it boot later, after all of the work?</span></p>
    <p><span style=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Ar=
ial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:no=
rmal;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-color:initial;display:inline;float:none">Many
        thanks if anyone wants to help. If not I completely understand</spa=
n></p>
    <p><span style=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Ar=
ial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:no=
rmal;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-color:initial;display:inline;float:none">Best</span></p>
    <p><span style=3D"color:rgb(106,106,106);font-family:Pilat,Helvetica,Ar=
ial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:no=
rmal;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-color:initial;display:inline;float:none">Brian<br>
      </span></p>
    <div><img src=3D"cid:ii_1989535ea6d61a917f31" border=3D"0"></div>
  </div>
_______________________________________________<br>
nmglug mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
mglug.org</a><br>
<a href=3D"http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" rel=3D"n=
oreferrer" target=3D"_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nm=
glug.org</a><br>
</blockquote></div>

--000000000000dfb55f063c06e983--

--000000000000dfb560063c06e984
Content-Type: image/png; name="signature.png"
Content-Disposition: inline; filename="signature.png"
Content-Transfer-Encoding: base64
Content-ID: <ii_1989535ea6d61a917f31>
X-Attachment-Id: ii_1989535ea6d61a917f31

iVBORw0KGgoAAAANSUhEUgAAANAAAACCCAIAAAC4gNHfAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wUYEwIkERyo9gAAAB1pVFh0Q29tbWVudAAAAAAAQ3Jl
YXRlZCB3aXRoIEdJTVBkLmUHAAAOrUlEQVR42u2de1CU5RfHzy67yHIXuQhKIkHAQIpll0FD8II7
hKExjFOUFEKmlqM2kJOCiP1heWsmLzUTNlqRF6SMAMlCCoboQgESICSjcVFgL7CwC+yy+/7+OL/e
2bise9VFzuev5d3nBs+X532fc85zXg7DMEAQ9wou/QkIEhxBgiMIEhxBgiMIEhxBgiNIcARBgiNI
cARBgiNIcARBgiNIcAQJjiBIcAQJjiBIcAQJjiCmjODw1EVUVBTnvwQEBBw4cEAikWg0GprIqQLH
yg/RDA4OJiUlffPNNzrKPPnkk/Hx8YmJiYGBgQzDcDgcmlcSnDE0NTWFh4crlUo7O7vIyMjY2Fh2
tBwO5/r163l5eaOjo3K5HC+++uqrubm5JDhrv2FZJ2fPnsURenp6NjQ0TFaso6Pj888/X7BgARb2
9va+ePEiQ1grViq4+v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GxkYmk8XFxUml0jHf4nn3
N998k9RGK5zZaGlpCQoKws9vvfXW6tWrH3vssfb29kWLFgGAn59fQ0ODg4MDzfr95AHzDbe2tmIM
+hgWLVp048YN8p2T894itLW1xcTEKBQKTOGRlpaGaXLpHc50S7Ugg4ODMpmMz+dj5BxBgiNol0oQ
JDiCBEcQJDiCBEcQJDiCBEeQ4AiCBEeQ4AiCBEeQ4AiCBEeQ4AgSHEGQ4AgSHEGQ4AgSHEGCIwgS
HEGCIwgSHEGCIwgSHHG/+R87RpMZ3KibnwAAAABJRU5ErkJggg==
--000000000000dfb560063c06e984--

--===============0041214385538794309==
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

--===============0041214385538794309==--