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,729

1 Answers1

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