You are not logged in.

#1 2004-04-26 20:26:42

sear
Member
Registered: 2004-04-24
Posts: 42

mount windows partition automaticly

hey

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 smile


thanks
sear

Offline

#2 2004-04-26 20:54:18

DanEE
Member
From: Fribourg, Switzerland
Registered: 2003-07-10
Posts: 43

Re: mount windows partition automaticly

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! smile

Offline

#3 2004-04-26 21:00:48

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: mount windows partition automaticly

[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:
http://wiki.linuxquestions.org/wiki/Fstab


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB