Announcement

Collapse
No announcement yet.

Automount a device/partition - aka mounting an extra drive using GUI tools

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Automount a device/partition - aka mounting an extra drive using GUI tools

    I finally did it. I deleted Windows.

    I've been using Kubuntu 24.04 as my daily driver for 3 straight months not once needing to boot into Win10 so the time was right to say goodbye for good.

    One question: I have a 128gb SSD that is located as /media/kazz/stuff. How do I get that device to automount please?​

    #2
    /media/<username> is where removable devices are supposed to be mounted.​ Your SSD is mounting there because that's what Dolphin does with any file system not defined in /etc/fstab.

    The correct way to mount an internal fixed (non-removable) device is to edit the file /etc/fstab and add the device to it and mount it in a directory under /mnt/

    You would also need to create a directory to use as a mount point. KDE Partition Manager can do this if you don't want to learn to use the terminal. You will need to create the folder to mount it either before or after setting the mount point in KDE Partition Manager but it will edit /etc/fstab for you.

    So assuming you want to mount this at /mnt/stuff:
    1. Launch "Dolphin" and navigate to "/mnt"
    2. Right-click in the /mnt window and select "Open as Administrator"
    3. Enter your password
    4. Right-click in the newly opened window and select "Create New >" and choose "Folder"
    5. Type "stuff" in the pop-up window and click OK.
    6. Close both Dolphin windows
    7. Launch KDE Partition Manager
    8. Select the SSD in the "Devices" section
    9. Right-click on the partition in the "Partition" window
    10. Select "Edit Mount Point" in the menu
    11. Either type in the path in "Path:" or click "Select..." and choose the directory
    12. Review the other mount options and choose those that seem appropriate
    13. Click "OK" in the Edit window then "Apply" in the tool bar
    14. Right-click on the partition again and click "Mount"
    That should do it. Most of the options in the "Edit..." window you probably don't want to choose unless you know what they do and why you might want to choose them. For example, "Users can mount and unmount" might be a good idea but I'd look up the others in the internet if you don't know what the do before selecting them.

    Alternately, you can define a file system to be automounted using System Settings, but the above way is more correct and allows you to better control how it's mounted.
    Last edited by oshunluvr; Nov 01, 2024, 10:48 AM.

    Please Read Me

    Comment


      #3
      Thank you so much. Really appreciated.

      Comment


      • oshunluvr
        oshunluvr commented
        Editing a comment
        Please post back if you have any problems or I left out a step. I'm also going to edit your title so others will come to this thread if seeking the same answer.
    Working...
    X