problem was solved thanks, one last question
in the /mnt directory as my mount point will the system be dependent on it ?
because it is external hard drive so I am afraid that the system wont boot until I plug the hard drive in !
unless you mention it in your fstab to mount no. Or if you write a nofail in fstab (sorry I don’t remember the exact entry, look in man fstab or search online) then system won’t bother you even if it can’t find the drive.
Edit:
yeah it’s the nofail entry. from man fstab. scroll down to look at the last option in this field.
The fourth field (fs_mntops).
This field describes the mount options associated with the
filesystem.
It is formatted as a comma-separated list of options and is optional
for mount(8) or swapon(8). The usual convention is to use at least
"defaults" keyword there.
It usually contains the type of mount (ro or rw, the default is rw),
plus any additional options appropriate to the filesystem type
(including performance-tuning options). For details, see mount(8) or
swapon(8).
Basic filesystem-independent options are:
defaults
use default options. The default depends on the kernel and the
filesystem. mount(8) does not have any hardcoded set of default
options. The kernel default is usually rw, suid, dev, exec, auto,
nouser, and async.
noauto
do not mount when mount -a is given (e.g., at boot time)
user
allow a user to mount
owner
allow device owner to mount
comment
or x-<name> for use by fstab-maintaining programs
nofail
do not report errors for this device if it does not exist.