permanantly mounting windows drive
I know how to mount the windows drive, but when I restart
it is no longer mounted. How do I make this permanent. |
You need to edit your fstab.
|
Forgive me, I've been using linux for 1day now.
Do I just write the command I used to mount it in fstab, or is there some other info I use? |
I don't know your distro, so I don't know what command line text editors you may have. You will either have to post your distribution or discover what editor you have.
The file you need to edit is the file /etc/fstab and you must be root to edit it. The entry you need to add to the file will look similar to mine: Code:
/dev/hda1 /mnt/winc vfat defaults 0 0 mkdir /mnt/winc When you boot again, it will be mounted. |
If you're with Win98 or less, it's preferable that you use
/dev/hda1 /mnt/winc vfat noauto 0 0 But if you're with WinXP, you have to use: /dev/hda1 /mnt/winc ntfs ro,noauto,umask=0222 0 0 If none of this works, try: /dev/hda1 /mnt/winc auto noauto 0 0 -noauto will make operations faster -ro makes disk real-only -umask=022 makes disks read-only(just to make sure!) Most distros don't have ntfs support so: http://linux-ntfs.sourceforge.net/ |
FYI:
noauto will not make operations faster. Its purpose is to not mount the device on boot. see man pages for mount and fstab for details for other options. I use /dev/hda1 /mnt/win_c vfat user,umask=000 0 0 |
OOOOOOOOOOOOPS!
I meant to write 'noatime"(don't update time stanps)! My bad... sorry |
a
|
try this ;)
/dev/hda1 /mnt/myDrive vfat auto,noexec,nosuid,nouser,rw 0 0 |
All times are GMT -5. The time now is 09:30 PM. |