[Solved] UUID?

Forum rules
Before you post please read this
Post Reply
jbh911
Level 4
Level 4
Posts: 237
Joined: Mon Dec 05, 2011 4:23 am
Location: Gippsland, VIC AUS

[Solved] UUID?

Post by jbh911 » Thu Oct 25, 2018 9:18 pm

How can I determine the UUid for a disk and / or partition? :oops:
Last edited by jbh911 on Thu Oct 25, 2018 9:59 pm, edited 1 time in total.

User avatar
sdibaja
Level 5
Level 5
Posts: 673
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: UUID?

Post by sdibaja » Thu Oct 25, 2018 9:21 pm

Code: Select all

sudo blkid
Last edited by sdibaja on Thu Oct 25, 2018 9:22 pm, edited 1 time in total.
Peter
Mate desktop https://mate-desktop.org/
Debian non-free (including firmware) Live images
https://cdimage.debian.org/images/unoff ... e+nonfree/

User avatar
WharfRat
Level 20
Level 20
Posts: 11856
Joined: Thu Apr 07, 2011 8:15 pm

Re: UUID?

Post by WharfRat » Thu Oct 25, 2018 9:22 pm

sudo blkid will list UUIDs
ImageImage

jbh911
Level 4
Level 4
Posts: 237
Joined: Mon Dec 05, 2011 4:23 am
Location: Gippsland, VIC AUS

Re: [Solved] UUID?

Post by jbh911 » Thu Oct 25, 2018 10:02 pm

Thanks sdibaja & WhalfRat, much appreciated. Couldn't see the wood for the trees :D

gm10
Level 13
Level 13
Posts: 4688
Joined: Thu Jun 21, 2018 5:11 pm

Re: [Solved] UUID?

Post by gm10 » Fri Oct 26, 2018 2:24 am

For future reference:

Code: Select all

lsblk -f
Easier to read and saves you the sudo.

If you prefer GUI, then Mint menu > Disks also shows the UUID for any partition you click on.

User avatar
catweazel
Level 17
Level 17
Posts: 7774
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: [Solved] UUID?

Post by catweazel » Fri Oct 26, 2018 2:30 am

gm10 wrote:
Fri Oct 26, 2018 2:24 am
Easier to read and saves you the sudo.

Code: Select all

lsblk -J
Just to confuse things :)
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

gm10
Level 13
Level 13
Posts: 4688
Joined: Thu Jun 21, 2018 5:11 pm

Re: [Solved] UUID?

Post by gm10 » Fri Oct 26, 2018 2:33 am

catweazel wrote:
Fri Oct 26, 2018 2:30 am

Code: Select all

lsblk -J
Just to confuse things :)
Considering the question was about UUID and default lsblk output, JSON or not, doesn't show that, you confused me indeed.

User avatar
sdibaja
Level 5
Level 5
Posts: 673
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: [Solved] UUID?

Post by sdibaja » Fri Oct 26, 2018 7:54 am

gm10 wrote:
Fri Oct 26, 2018 2:24 am
For future reference:

Code: Select all

lsblk -f
Easier to read and saves you the sudo.

If you prefer GUI, then Mint menu > Disks also shows the UUID for any partition you click on.
NICE! thanks, I will start using

Code: Select all

lsblk -f
=== however

Code: Select all

lsblk -J

what is that used for?
Peter
Mate desktop https://mate-desktop.org/
Debian non-free (including firmware) Live images
https://cdimage.debian.org/images/unoff ... e+nonfree/

gm10
Level 13
Level 13
Posts: 4688
Joined: Thu Jun 21, 2018 5:11 pm

Re: [Solved] UUID?

Post by gm10 » Fri Oct 26, 2018 8:03 am

sdibaja wrote:
Fri Oct 26, 2018 7:54 am
what is that used for?
It gives you JSON formatted output for further processing in another program but I don't know why he brought it up.

Post Reply

Return to “Mounting Partitions”