Auto-mount secondary drive?


#1

Is there any way to a auto-mount a secondary disk drive in Silverblue upon startup? It seems like any attempt to edit fstab causes my Silverblue to no longer boot, whereas it works just fine in regular Fedora 28/29.


#2

I’ve had the same issue. I got a message on boot that /etc/multipath.conf does not exist


#3

I see I’m not the only one having issues. I created a bug report here: https://pagure.io/teamsilverblue/issue/46 Seeing the lack of response here and in that thread, I assume it just can’t be done in Silverblue :frowning:


#4

I just updated the pagure issue, but for the folks watching here the workaround is to specify your mount point under /var

The secondary disk in my example was defaulting to being mounted a /mnt/extra_disk. When I updated /etc/fstab to mount the disk to /var/mnt/extra_disk, it worked normally.


#5

@walters got to the root of the issue (bad SELinux policy) - https://bugzilla.redhat.com/show_bug.cgi?id=1637070


#6

@miabbott’s suggestion works, and my system now boots and mounts the 2nd drive automatically. Thanks!