Finding UUID to automount my external HDD

iamlegion

New Member
Joined
Jul 21, 2021
Messages
9
Reaction score
1
Credits
65
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
 

Attachments

  • Screenshot from 2021-07-20 20-05-02.png
    Screenshot from 2021-07-20 20-05-02.png
    101.7 KB · Views: 570
  • Screenshot from 2021-07-20 20-05-22.png
    Screenshot from 2021-07-20 20-05-22.png
    108.4 KB · Views: 531
  • Screenshot from 2021-07-20 20-05-46.png
    Screenshot from 2021-07-20 20-05-46.png
    81.6 KB · Views: 538


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
 
Last edited:
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:


 
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





Im still not seeing any UUID. i all i get is this(see attached file)
 

Attachments

  • Screenshot from 2021-07-20 23-16-221.png
    Screenshot from 2021-07-20 23-16-221.png
    154.2 KB · Views: 493
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:




all i get is this: (see attached file) Im trying to get the UUID for /dev/sdb
 

Attachments

  • Screenshot from 2021-07-20 23-24-23.png
    Screenshot from 2021-07-20 23-24-23.png
    242.4 KB · Views: 503
That may be because the hdd has not been formatted
 
Im still not seeing any UUID. i all i get is this(see attached file)
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?
 
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
 

Members online


Latest posts

Top