0 Members and 1 Guest are viewing this topic.
e-yole@yole-PC:~$ cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda5 with label "LinuxLite" during installation.UUID=22fb55a4-bd8b-4495-a5a1-9869f07e5b46 / ext4 errors=remount-ro 0 1# --------------------------------------------------------------------------------------------# swap was on /dev/sda6 during installation.UUID=13597903-198d-4b78-b90e-8bd11ad08045 none swap sw 0 0# --------------------------------------------------------------------------------------------# DATA directory in /mnt was created and your owner and group allows was # changed to $USER:$USER. This shared data partition was on /dev/sda2 with # label "DATA" during installation. UUID=45EB77F618AAC695 /mnt/DATA ntfs-3g defaults,windows_names,locale=es_ES.utf-8 0 0# --------------------------------------------------------------------------------------------# Bind personal folders between /mnt/DATA partition and $HOME folders in # after mount /dev/sda2 in /mnt/DATA directory only./mnt/DATA/Documentos /home/e-yole/Documentos auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Descargas /home/e-yole/Descargas auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Imágenes /home/e-yole/Imágenes auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Música /home/e-yole/Música auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Vídeos /home/e-yole/Vídeos auto bind,x-systemd.requires=/mnt/DATA 0 0# --------------------------------------------------------------------------------------------# For avoid inconsistencies in ntfs files systems on internal disks # on computer with recent Windows or Linux OS's dual-booted, the # hibernation and fast restart features was disabled, run Windows# command 'powercfg /h off' as Administrator (see ntfs-3g man page).# --------------------------------------------------------------------------------------------# Windows OS (C:\ volume) /dev/sda1 partition is not show on desktop. For that this take effect, the# mount actions of sda1 device was modify from Diks utility application (graphic mode), uncheck the# options mount at begin, no show in user interface, and check the additional credentials for mount # option. This added the option flags nosuid,nodev,nofail,noauto,x-udisks-auth.# UUID=5C3ACAFB3ACAD0E6 /opt/sda1 ntfs noauto,ro,nouser 0 0/dev/sda1 /mnt/sda1 auto nosuid,nodev,nofail,noauto,x-udisks-auth 0 0
e-yole@yole-PC:~$ blkid -o listdevice fs_type label mount point UUID-----------------------------------------------------------------------------------------------------------------------------/dev/sda1 ntfs (not mounted) 8C9853D09853B782/dev/sda2 ntfs DATA /mnt/DATA 45EB77F618AAC695/dev/sda5 ext4 LinuxLite / 22fb55a4-bd8b-4495-a5a1-9869f07e5b46/dev/sda6 swap [SWAP] 13597903-198d-4b78-b90e-8bd11ad08045
# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda5 with label "LinuxLite" during installation.UUID=22fb55a4-bd8b-4495-a5a1-9869f07e5b46 / ext4 errors=remount-ro 0 1# --------------------------------------------------------------------------------------------# swap was on /dev/sda6 during installation.UUID=13597903-198d-4b78-b90e-8bd11ad08045 none swap sw 0 0# --------------------------------------------------------------------------------------------# DATA directory in /mnt was created and your owner and group allows was # changed to $USER:$USER. This shared data partition was on /dev/sda2 with # label "DATA" during installation. UUID=45EB77F618AAC695 /mnt/DATA ntfs-3g defaults,windows_names,locale=es_ES.utf-8 0 0# --------------------------------------------------------------------------------------------# Bind personal folders between /mnt/DATA partition and $HOME folders in # after mount /dev/sda2 in /mnt/DATA directory only./mnt/DATA/Documentos /home/e-yole/Documentos auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Descargas /home/e-yole/Descargas auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Imágenes /home/e-yole/Imágenes auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Música /home/e-yole/Música auto bind,x-systemd.requires=/mnt/DATA 0 0/mnt/DATA/Vídeos /home/e-yole/Vídeos auto bind,x-systemd.requires=/mnt/DATA 0 0# --------------------------------------------------------------------------------------------# For avoid inconsistencies in ntfs files systems on internal disks # on computer with recent Windows or Linux OS's dual-booted, the # hibernation and fast restart features was disabled, run Windows# command 'powercfg /h off' as Administrator (see ntfs-3g man page).# --------------------------------------------------------------------------------------------# Windows OS (C:\ volume) /dev/sda1 partition is not show on desktop.UUID=5C3ACAFB3ACAD0E6 /opt/sda1 ntfs noauto,ro,nouser 0 0
hide
ln -s /mnt/DATA/Documents /home/username
mount --bind /mnt/DATA/Documents /home/username/Documents
Fantastic tutorial!
Thanks Wirezfree.Recognize that NTFS partition entry?Stole it from your prior post because I don't have any Windows partitions myself. Have guided people through this several times now and decided to just make a tutorial so I don't keep writing the same thing over and over again. Posted a copy here and one on the Mint forums. Hopefully it's clear enough for people to follow.
sudo mkdir /mnt/DATA
sudo mount /dev/sda5 /mnt/DATA
sudo chown -R yourusername: /mnt/DATA
cd /mnt/DATA
mkdir Documents Downloads Music Pictures Videos
sudo blkid
gksu leafpad /etc/fstab
# Mount DATA partition under /mnt/DATAUUID=ceee2524-7df2-4d21-a1f7-9e7e55c722cc /mnt/DATA ext4 defaults 0 2
# Mount DATA partition under /mnt/DATAUUID=747D4C9C1EFAD1F2 /mnt/DATA ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
ln -s /mnt/DATA/Documents /home/yourusername