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: 283
  • Screenshot from 2021-07-20 20-05-22.png
    Screenshot from 2021-07-20 20-05-22.png
    108.4 KB · Views: 294
  • Screenshot from 2021-07-20 20-05-46.png
    Screenshot from 2021-07-20 20-05-46.png
    81.6 KB · Views: 271


Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
6,121
Reaction score
5,105
Credits
38,794
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:

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,944
Reaction score
1,473
Credits
16,467
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:


 
OP
I

iamlegion

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

iamlegion

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

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
6,121
Reaction score
5,105
Credits
38,794
That may be because the hdd has not been formatted
 

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,944
Reaction score
1,473
Credits
16,467
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?
 
OP
I

iamlegion

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

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top