0

how to mount after reboot

Hiiii

I have mounted a new drive in my system. Once i have rebooted, its not mounted. How to mount automatically once i reboot.

Mount Linux Add a comment
john
asked May 13 2017

Answer

0

You can set cronjob to do so.

Assume if you need to mount /dev/sda5 disk to /test folder, set cron as follows.

# crontab -e
  @reboot mount /dev/sda5 /test

This will mount the disk to test folder automatically when the machine is rebooted.

Add a comment
jagannatharumugam
asked May 14 2017
edited Oct 05 2018
Post your Answer