I would like to have a drive mounted during boot, but only if it's available. I have an entry for it now in fstab, but if it's not available boot halts. Is there a way to have to format the fstab line so that the drive mounts if available and ignores it if it isn't?
Asked
Active
Viewed 2,387 times
5
-
Possibly related: How do I avoid the “S to Skip” message on boot? – steeldriver Oct 03 '18 at 14:29
1 Answers
6
Add the nofail
-option to your fstab-line. Example:
/dev/disk/by-label/archiv /media/archiv ext4 rw,noexec,nofail 0 0

mook765
- 15,925