PDA

View Full Version : [ubuntu] fstab entries for mounting windows partitions



Kiwisaft
January 18th, 2009, 09:20 PM
I did some fstab entries to mount windows partitions:

# /dev/sda1
/home/user/Desktop/WinDocs/sda1 ntfs defaults 0 2
# /dev/sda5
/home/user/Desktop/WinDocs/sda5 ntfs defaults 0 2
# /dev/sda6
/home/user/Desktop/WinDocs/sda6 vfat defaults 0 2

But it doesn't work. After startup, the folders are empty.
If I mount it over Commandline:
mount -t ntfs /dev/sda5 /home/user/Desktop/WinDocs/sda5

it works perfectly.

Does anyone have an idea what I did wrong?

Kiwisaft
January 18th, 2009, 09:29 PM
sorry, just saw my mistake:

/dev/sda1 /home/user/Desktop/WinDocs/sda1 ntfs defaults 0 2
/dev/sda5 /home/user/Desktop/WinDocs/sda5 ntfs defaults 0 2
/dev/sda6 /home/user/Desktop/WinDocs/sda6 vfat defaults 0 2