5

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?

Christian
  • 1,651
  • 2
  • 20
  • 35
  • Possibly related: [How do I avoid the “S to Skip” message on boot?](https://askubuntu.com/questions/120/how-do-i-avoid-the-s-to-skip-message-on-boot) – steeldriver Oct 03 '18 at 14:29

1 Answers1

5

Add the nofail-option to your fstab-line. Example:

/dev/disk/by-label/archiv  /media/archiv  ext4   rw,noexec,nofail   0   0
mook765
  • 14,911
  • 5
  • 35
  • 67