it says i only have a PTUUID when i do blkid. I dont see any UUID for my harddrive. ive attached screenshots of my terminal. Im currently on Ubuntu 20.04. any help would be appreciated. Im very new to linux so thanks
G'day iamlegion, Welcome to Linux.org
Is the uuid you are after....for an External hard drive ?
oops...sorry...it is in your title !
In ubuntu here will be a software centre or software manager...a repository of apps included on the pc
Type, GParted in and it will pop up if it is installed....you will need to provide your password...
Allow gparted to auto scan your set up
in the top right hand corner of gparted there will be a drop down list with your hard drives, usb sticks external hard drives listed.
Click on the external hard drive....and then double click on it in the main window.
or you can right click on it in the main window and choose information.
you will see the uuid there.
BE CAREFUL...SELECTING THE WRONG DRIVE CAN RESULT IN MAJOR DATA LOSS...
Be Very Careful
You can also find the uuid's in the rootfs.
Go to /dev/disk/by-uuid
Here's other cmd's that you can use too:
Find UUID of Storage Devices in Linux
UUID is a unique identifier used in partitions to uniquely identify partitions in Linux operating systems. UUID is a property of the disk partition itself. So, if you install the hard drive containing the partitions on another Linux computer, the partitions will have the same UUID as before. In...linuxhint.com
How to get UUID for a USB drive?
I want to mount my USB to a mount point which holds the UUID name. But I don't know how to express this in a command line! Can someone help me how to do it? I have searched and found that I have ...unix.stackexchange.com
In your screenshot that's for /dev/sdb.Im still not seeing any UUID. i all i get is this(see attached file)
That may be because the hdd has not been formatted
In your screenshot that's for /dev/sdb.
How about for /dev/sda/?
Did you try looking in the root file system /dev/disk/by-uuid?
/dev/sda is my internal hard drive and i need the UUID for my external hdd /dev/sdb
In your screenshot that's for /dev/sdb.
How about for /dev/sda/?
Did you try looking in the root file system /dev/disk/by-uuid?
That may be because the hdd has not been formatted
Cool, can you share how you got it working?thanks for help, got to work