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 1,665 times
1 Answers
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