i want to mount automatically sda 6 and sda 7
and for blkid and also fdisk -l as root like this
are both labelled, so let's use the labels.
First you have to create the mountpoints. As your ordinary user
, run this command in a terminal:
mkdir ~/DATA ~/HOBI
If either of the folders DATA and HOBI already exist in your home folder you'll get an error message and we have to change the names.
(You could have created the two folders from within Dolphin too.)
Then the editing of /etc/fstab
has to be done as root
- navigate to the /etc folder in Dolphin;
- right-click the icon of the file fstab;
- click "Root menu";
- click "Edit as root";
- give root's password and hit enter;
- and add the following two lines to the file:
/DATA ntfs-3g defaults 0 0
/HOBI ntfs-3g defaults 0 0
But note that you have to replace yourname
with your real username.
Save the file.
To be on the safe side check that the package ntfs-3g
is installed in Synaptic.
Reboot, open Dolphin and click the icons of the newly created mountpoints.
You could have given the mountpoints other names and you could have located them elsewhere, but as you didn't express any preferences I named them after the partition labels and placed them in your home directory.