Saturday, February 21, 2015

Mount partition at startup

After trying unsuccessfully many well voted solutions, the one that worked is this

In terminal to see the UUID number of the partition:

sudo blkid


and get something like this:


/dev/sda1: LABEL="Windows 10" UUID="4ADE68FCDE68E1A5" TYPE="ntfs"
/dev/sda2: LABEL="Depo-ntfs" UUID="0F0CB2371E36F1DB" TYPE="ntfs"
/dev/sda5: LABEL="Ubuntu" UUID="03a03b26-176c-4004-baa6-c541367b5095" TYPE="ext4"
/dev/sda6: UUID="fc9a8598-aed9-42fa-aadc-e5f8a8cb4717" TYPE="ext4"
/dev/sda7: LABEL="Mint" UUID="738cefdf-c180-41cd-90b6-9f963c94aead" TYPE="ext4"
/dev/sda8: UUID="511de639-15bd-4a99-bcb0-074353e86b13" TYPE="ext4" 

use gparted or something to find which is which, or type 'mount' after having mounted it to see the dev/sdX details about it.

Now go

gksudo gedit /etc/fstab

and add at the end something like

UUID=0F0CB2371E36F1DB  /media/WHATER_PARTITION_NAME ntfs rw,nosuid,nodev,noatime,allow_other 0 0

Replacing the UUID with the proper number and your partition name (the one that you see it in File Manager or as Flag in Gparted) - also instead ntfs other type if the case.

No comments:

Post a Comment