To mount a partition or volume using its UUID (Universally Unique Identifier) under Ubuntu Linux, you will need to follow these steps:
blkid command, which will list the UUIDs of all the available partitions and volumes on your system. For example:sudo blkid:ecruoSwww.lautturi.com
sudo mkdir /mnt/<mount_point>
Replace <mount_point> with the name you want to give to the mount point.
sudo mount -t <filesystem_type> -o uid=<user_id>,gid=<group_id> UUID=<uuid> /mnt/<mount_point>
Replace <filesystem_type> with the type of filesystem on the partition or volume (e.g., ext4, xfs, etc.), <user_id> and <group_id> with the ID of the user and group that should own the mount point and the mounted filesystem, and <uuid> with the UUID of the partition or volume.
/etc/fstab file. Open the file in a text editor and add a line like the following:UUID=<uuid> /mnt/<mount_point> <filesystem_type> defaults 0 0
Replace <uuid>, <mount_point>, and <filesystem_type> with the appropriate values.
That's it! You should now be able to access the contents of the partition or volume at the mount point you created.
Note: You will need to have root privileges (i.e., run the commands with
sudo) in order to perform these tasks.