2

My home directory is mounted in a different disk than my os.

The consequence of this is when I open the file explorer it uses the icon for the disk explorer:

enter image description here

Instead of the file icon:

enter image description here

Is there a way to make it use the later rather than the first?

enter image description here

This is what /etc/fstab/ looks like:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=cdafc091-038c-4c65-b60e-45e3ba289523 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=F202-4B38  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-uuid/3a922551-dd90-424b-89d2-67c4ca7d44db /home/ auto nosuid,nodev,nofail,x-gvfs-show 0 0
10
  • What is the mount point of this "home" directory? It sounds like this partition is not mounted automatically.
    – user68186
    Feb 19, 2022 at 23:17
  • Which distro and version of Linux are you using?
    – user68186
    Feb 19, 2022 at 23:37
  • I am using ubuntu 21.10
    – Makogan
    Feb 20, 2022 at 0:50
  • 1
    I didn;t edit this manually that line must have been inserted by the disks tool, which is what I used to mount my home dir.
    – Makogan
    Feb 20, 2022 at 22:31
  • 1
    My "home" line in /etc/fstab looks much simpler: UUID=cNNacNNf-eNNN-NNcN-NeNb-NfNNNdbfNNNf /home ext4 defaults 0 2 I don't know if that will make any difference.
    – user68186
    Feb 20, 2022 at 22:38

1 Answer 1

1

It looks like using /dev/disk/by-uuid/ instead of UUID= is causing the problem.

Just to be safe, before you edit /etc/fstab, you should verify the UUID using the following command:

blkid

Then, edit your /etc/fstab file to show UUID= followed by the UUID you obtained using the previous command (replace if different from the current one listed). Save the file and any unsaved work and reboot to apply the changes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .