How do you mount a drive in Ubuntu Core? Can you use the fstab? Or is there another way? I don't want to get started an realise you cannot mount an external drive.

When you're in the fstab, it says not to manually write it and to go to /etc/writable but how do you add the fstab? HERE BE DRAGONS I fear

  • 1
    ...fstab should work, as well as the mount command. Nov 26, 2016 at 13:34
  • I am not sure what answer do you expect. Does mikewhatever's reply satisfies you?
    – Hi-Angel
    Nov 26, 2016 at 15:13
  • I need to know how to edit the fstab as you're warned not to do it
    – eekfonky
    Nov 26, 2016 at 15:33
  • /etc/writeable does not exist on my 16.04, and fstab contains no such warning. What OS are you running?
    – ubfan1
    Nov 26, 2016 at 16:28
  • Ubuntu Core 16. Not standard Ubuntu
    – eekfonky
    Nov 26, 2016 at 16:28

1 Answer 1


use the systemd to mount a drive on Ubuntu Core 16.04:

Step 1: Identlify your uuid by using

sudo blkid

Step 2: Using "vi" or another editor create a mount unit file for systemd to use. If you want the mount point to be "/media/data" then create the file "/etc/systemd/system/media-data.mount"

sudo vi /etc/systemd/system/media-data.mount

Step 3: Add information about your drive to the mount unit file (media-data.mount)

Description=Mount unit for data



Step 4: reload systemd

sudo systemctl daemon-reload

Step 5: Start the unit

sudo systemctl start media-data.mount

Step 6: To enable auto mount do:

sudo systemctl enable media-data.mount

Step 7: Have fun.

Information sources:



  • 1
    Years later, in 2022, I stumbled across this answer you supplied. I haven't seen anything else on the web that correctly answers/addresses this issues as it relates to Ubuntu Core. Thank you for taking the time to provide such clear/concise and most importantly, accurate, information!
    – Angelo M
    Jun 30, 2022 at 4:43

You must log in to answer this question.

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