I want to mount /dev/sda8 partition on startup.
For that I created a folder in /mnt/mount_folder. And edited the /etc/fstab file with following entry
/dev/sda8 /mnt/mount_folder ext3 defaults 0 0
when i run command sudo mount /dev/sda8 -v
It runs fine ie all the content of partition is coming in that folder. mount and umount both works fine
But the issue is the partition is not coming in the list of Devices that comes on file manager's left side.
.
Please explain how to mount a partition in a similar manner when we click the partition when clicks from the devices!
Thanks in advance!!
Asked
Active
Viewed 84 times
0
Narendra Jaggi
- 163
1 Answers
0
I guess you want to see it in your file manager. Then you have to mount it to
"/media/<user_name>/<some_directory>".
Or
"/media/<some_directory>"
for all users. In your case add to fstab
/dev/sda8 /media/mount_folder ext3 defaults 0 0
You can also do it manually, same way as it is done by nautilus.
sudo mkdir /media/$USER/mount_dir
sudo mount /dev/sda8/ /media/$USER/mount_dir
Pilot6
- 92,041