From owner-freebsd-questions@FreeBSD.ORG Thu Dec 2 09:44:30 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 5AD3C16A4CE for ; Thu, 2 Dec 2004 09:44:30 +0000 (GMT) Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C13E43D31 for ; Thu, 2 Dec 2004 09:44:30 +0000 (GMT) (envelope-from bbobowski@cogeco.ca) Received: from [24.150.215.98] (d150-215-98.home.cgocable.net [24.150.215.98]) by fep3.cogeco.net (Postfix) with ESMTP id 74D1B2103; Thu, 2 Dec 2004 04:44:26 -0500 (EST) Message-ID: <41AEE38E.6090201@cogeco.ca> Date: Thu, 02 Dec 2004 04:42:38 -0500 From: Brian Bobowski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Thunderbird/0.7.1 Mnenhy/0.6.0.104 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: Kevin Smith 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 09:44:30 -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. > > Please provide the error text and the output of "uname -a" if this doesn't work, but... Are you certain that it's a FAT32 disk and not an NTFS? Windows XP, for instance, can use the NTFS file system(my Home edition does by default). That said, there is a problem with your mount syntax. That or I can't figure out exactly what you're typing. I don't know which of your disk partitions is which. I'm going to give examples as though /dev/ad0s1 is the Windows partition and /dev/ad0s2 is the FreeBSD slice; in /dev, such a slice would show up with letters after the "slice" number to indicate the FreeBSD partition, such as /dev/ad0s2a, ad0s2c, ad0s2d... etc. (I believe b is not currently used, left open for convention; a is for the / partition; and c is swap. This is all convention, but it's convention the FreeBSD installer's auto-partition option in fdisk would adhere to.) Anyway, if the Windows partition is indeed /dev/ad0s1, make sure /mnt/win1 exists and try the following as root: mount -r -t msdosfs /dev/ad0s1 /mnt/win1 This will attempt to mount the device read-only, which may at least be a stepping stone. If this doesn't work, you can also try using NTFS(just in case), thus: mount -r -t ntfs /dev/ad0s1 /mnt/win1 If either works, then you will be able to: mount -uw /mnt/win1 and update the already-mounted filesystem to read-write. If you can get this working, Mr Kevin Smith has given an excellent example of how to place an entry into your /etc/fstab file. In fact, it might be easier to put that entry in /etc/fstab and then simply type: mount -a to automatically mount the unmounted entries in the fstab. If this doesn't work, please post the exact error text and what you typed to receive it. Also, the output of "ls /dev/ad*" may be helpful, and as I mentioned above, "uname -a" never is amiss. -BB