From owner-freebsd-questions@FreeBSD.ORG Thu Dec 2 05:06:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E9316A4CE for ; Thu, 2 Dec 2004 05:06:50 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90ED743D1D for ; Thu, 2 Dec 2004 05:06:49 +0000 (GMT) (envelope-from smithcam@adelphia.net) Received: from [192.168.0.199] (really [68.169.225.230]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041202050649.OVOH19338.mta11.adelphia.net@[192.168.0.199]>; Thu, 2 Dec 2004 00:06:49 -0500 Message-ID: <41AEA2EB.9030007@adelphia.net> Date: Wed, 01 Dec 2004 21:06:51 -0800 From: Kevin Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rizal Ferdiyan References: <41A6FD07.1020900@adelphia.net> <8292450b04113010165bc95e74@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit cc: CHris Rich cc: freebsd-questions@freebsd.org Subject: Re: can't mount windows partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 05:06:50 -0000 Rizal Ferdiyan wrote: >hello ; >my name rizal from indonesia, I have a problem. My partition windows >(FAT >32) can't mount >in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try >write"mount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and >mount_msdosfs /node " but it don't work. Please help me and sorry for my >bad english. > >thank you. > > > > Rizal, You can set all this up very easily in your fstab file instead of typing the command to mount the file systems (unless you just want access it temporarily). Here are the entries that I have in my /etc/fstab: /dev/ad0s1 /windows/C ntfs ro 2 0 /dev/ad0s3 /windows/E msdosfs rw 0 0 (You don't need the "2", it can be "0") You need to create the directories for the mount points (/windows/C and /windows/E). The partition in /dev/ad0s3 is my FAT32 partition which is the writable one - you don't want the ntfs filesystem to be writable.....if you want the FAT32 (msdosfs) parition to be writeable, then /windows/E must be a writable mount directory. You of course, should use your own device (/dev/ad0s*) names as they are going to be different from mine. Once you have these in your /etc/fstab they will automatically mount on boot (as configured this way). If you don't want to reboot after editing the file, you can always just do a : > mount /windows/E To manually mount...or > umount /windows/E to umount it. The configuration I have just described is how I wanted to set it up on my system, but others may have different opinions/setups. Good luck. -Kevin