0

I'm using a dual-booted system with Win10. However, every time I log in I have to go and mount the partitions from Nautilus.

I've been looking through some ways to automate this at bootup but some methods are too complex. I've been through this excellent answer but it seems too complicated and also tends to use sudo at times.

Nautilus without sudo

I'm wondering if I can just click at a drive and mount it without sudo, can I do the same with a script?

agupta
  • 44
  • 2
    fstab (file system table) is just a mount command presented differently. I would suggest making an fstab entry, and if you don't want it to automount, then use ,noauto,user and just enter mount /my-ntfs/ and it'll mount on request (without sudo hassle too). – guiverc Aug 27 '19 at 04:57
  • It really isn't complicated, it just gives multiple options. Look at the fstab section. You only need to use sudo once to edit the file, after that it just works. And all you need to do is edit one file. – terdon Aug 27 '19 at 10:55

1 Answers1

0

This answer has the simplest approach that I've seen. Once you're done editing the mount options a star appears on the said entry.

Editing fstab is also a good option but it did lead to mounting just the first entry automatically and one needed to manually mount by running sudo mount -a. This did mount the partitions but it also leads to nautilus showing available space on each partition as that of the last entry in /etc/fstab.

agupta
  • 44