Finding UUID to automount my external HDD



Condobloke

Well-Known Member
Credits
12,975
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
Credits
7,849
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:


 

iamlegion

New Member
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

iamlegion

New Member
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

Condobloke

Well-Known Member
Credits
12,975
That may be because the hdd has not been formatted
 

Alexzee

Well-Known Member
Credits
7,849
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?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top