[NTLUG:Discuss] fstab entry for a Windoze partition
terry
linux at cowtown.net
Sat Jun 14 19:02:34 CDT 2003
Wayne Dahl wrote:
>On Sat, 2003-06-14 at 00:28, terry wrote:
>
>
>>Wayne Dahl wrote:
>>
>>
>>
>>>Hi guys. I just installed the latest version of Wine (wine-20030508) on
>>>my computer running RH 8.0 and noticed that it didn't recognize the
>>>Windoze partition because it didn't find an entry for it in the fstab.
>>>I've wondered about that before...what is the correct entry for a Win98
>>>partition in the fstab?
>>>
>>>
>>>
>>Assuming your MS Windows partition is hda1:
>>/dev/hda1 /mnt/hda1 vfat rw,defaults 0 0
>>should do it.
>>
>>
>
>Ok, I tried that and on bootup, when Linux tries to mount the local
>filesystem, I get an error that the mountpoint /mnt/hda1 does not exit.
>
It's prolly telling you that mountpoint /mnt/windows does not exist,
so try:
# mkdir /mnt/windows
# chmod 2777 /mnt/windows
Then try mounting it manually:
$ mount -t vfat /dev/hda1 /mnt/windows
$ ls /mnt/windows (to test, and see if your reading your windows
partition)
>When I attempt to mount it from a shell, this is the error I get...
>
>[root at crtntx1-ar6-4-64-082-233 dev]# mount -t vfat /dev/hda1 /mnt/hda1
>mount: mount point /mnt/hda1 does not exist
>
Again, it's telling you that /mnt/hda1 does not exist.
(you have to create the directory first, [so that it can become a mount
point])
ie.
# mkdir /mnt/hda1
# chmod 2777 /mnt/hda1 (so that anyone can read and write to it)
(You can name your mount point [directory] what ever you want, that's up
to you.)
>
>>From one of the books I have, I modified the above fstab entry to look
>like this...
>
>/dev/hda1 /mnt/windows vfat defaults,rw 0 0
>
>and I still get the error message that the mountpoint /mnt/windows does
>not exit.
>
>What am I doing wrong here? The entry is in the fstab, is there
>someplace else you have to create the actual mountpoints? The way I
>understand it, the mountpoint is the file you actually want to mount and
>on a Windoze box, if I wanted to mount the root directory, what would I
>use for the mountpoint? I understand /mnt/windows (would be the windows
>directory) or /mnt/my_files (a directory called my_files), etc.
>
>Again, any help would be appreciated. I can't believe I'm not getting
>this. :P
>
>Thanks again,
>
>Wayne
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>.
>
>
>
--
Registered Linux User #188099
<><
More information about the Discuss
mailing list