This is an example:
[1] Run the following command to find the correct UUID number for your ntfs partition:
- Code: Select all
sudo blkid -c /dev/null
[2] Create a mount point for the ntfs partition - we aren't going to actually mount it - trust me
- Code: Select all
sudo mkdir /mnt/WinC
[3] Add a line to /etc/fstab that looks like this - using the correct UUID from step [1] and the correct mount point from step [2]:
- Code: Select all
UUID=200C11850C1156DE /mnt/WinC ntfs defaults,noauto 0 0
[4] Run the following command to test for syntax errors:
- Code: Select all
sudo mount -a
The next time you boot into your system the WinC partition will not be mounted and it will not show up in Computer or in Nemo/Caja/ or whatever file manager you are using - that's what the "noauto" option does.