fstab to auto-mount an ntfs partition (or 2)

Asked by Tom

Hi :)
I would like to get Ubuntu to automatically mount a couple of Ntfs partitions. I managed it through fstab on 1 machine ages ago but i can't remember the numbers to use. I can find the uuid number from "sudo blkid" but the numbers after that worry me.
Regards from
Tom :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

your gui should automatically mount all ntfs partitions. if it doesn't then go into terminal and type "mount". after that, the first time you access the partition(s) it will automatically mount.

Revision history for this message
Tom (tom6) said :
#2

Hi :)
This doesn't really answer the question but thanks for trying
Regards from
Tom :)

Revision history for this message
delance (olivier-delance) said :
#3
Revision history for this message
Tom (tom6) said :
#4

Hi :)
grrr, i am annoyed at myself because i got my question wrong. Sorry for my unhelpful rudeness yday Marcus. All i really need is a line that i can put into fstab in order to safely mount and read/write to the Windows partition.

Many thanks so far
Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#5

Hi :)
The lines look something like this
UUID=bc06e6b2-f193-4f32-9e1c-344ddee7a633 none swap sw 0 0

Revision history for this message
Best delance (olivier-delance) said :
#6

Swap is not a Windows partition type but a Linux one.
Firstly, you should use "sudo blkid" to get UUID of Windows partition.
On my computer, Windows partition is mounted as:
UUID=E490AE3490AE0CDC /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
/windows is a folder I made
gid=46 is a predefined user (if I remember, it's udev, the automounter).
There are many way of mounting a Windows partition, too many...

Revision history for this message
marcus aurelius (adbiz) said :
#7

ntfs partitions automount. there's no need to fiddle with the fstab

Revision history for this message
delance (olivier-delance) said :
#8

NTFS partitions should automount. Unfortunately, not always true!

Revision history for this message
Tom (tom6) said :
#9

Thanks delance, that solved my question.