i would like to mount my windows partition at bootup automaticly into /mnt/windows.
the partition is /dev/hda4.
i think i have to add this into /etc/fstab, but i'm not sure about all the values and so there.
please help me
It depends if the windows filesystem is vfat (win95, win98, winME) or ntfs (win2k or winxp)
here is what I have in my fstab file
/dev/hdb1 /mnt/daten vfat umask=0 0 0 /dev/hdb5 /mnt/datab vfat umask=0 0 0 /dev/hda1 /mnt/winxp ntfs ro,umask=0 0 0
I think they are even automounted itself (you would have to add noauto in fstab if you don't want something to get automounted I think).
But you have to create manually a directory with the name /mnt/winxp (or in your case /mnt/windows) first
I don't know either if /dev/discs/disc0/part1 would be better instead of /dev/hda1...
But at least it works!
[damir@Asteraceae /]$ more /etc/fstab | grep WINDATA /dev/discs/disc0/part5 /WINDATA vfat rw,users,noauto 0 0
hope that gives you a start ... see also the manpage and the docs :-)
geniali siite über so züügs:
The impossible missions are the only ones which succeed.