From owner-freebsd-newbies Tue Feb 23 6:37:45 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 459A411001 for ; Tue, 23 Feb 1999 06:37:42 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id JAA26478; Tue, 23 Feb 1999 09:38:58 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902231438.JAA26478@cc942873-a.ewndsr1.nj.home.com> Subject: Re: mounting fat32 In-Reply-To: from Rob Hunter at "Feb 23, 99 12:03:47 pm" To: hunterr@iafrica.com (Rob Hunter) Date: Tue, 23 Feb 1999 09:38:58 -0500 (EST) Cc: cjclark@home.com, freebsd-newbies@freebsd.org Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rob Hunter wrote, > this is the drive with which I'm having problems. Just to clarify (I don't > think my 1st mail was too clear) it's the 2nd partition on the 2nd drive > (primary slave) that won't mount... > [root@sticky] ~# mount_msdos /dev/wd1s2 /win2 > mount_msdos: /dev/wd1s2: Invalid argument > [root@sticky] ~# Feb 23 11:53:59 sticky /kernel: mountmsdosfs(): bad bpb > Feb 23 11:53:59 sticky /kernel: mountmsdosfs(): bad bpb > > This is what fdisk wd1 shows: > > The data for partition 1 is: > sysid 11,(DOS or Windows 95 with 32 bit FAT) > start 63, size 1644993 (803 Meg), flag 80 (active) > beg: cyl 0/ sector 1/ head 1; > end: cyl 203/ sector 63/ head 127 > The data for partition 2 is: > sysid 5,(Extended DOS) > start 1645056, size 4693248 (2291 Meg), flag 0 > beg: cyl 204/ sector 1/ head 0; > end: cyl 785/ sector 63/ head 127 > > Is the 2nd partition supposed to be wd1s2? No. This is what I eluded to in my first mail. Extended DOS partitions are handled differently. But it's easy, they start numbering at '5' rather than the next slice number. So, to mount the first extended DOS partition, you type, # mount -t msdos /dev/wd1s5 /win2 The biggest chanllenge is that you might have toe create the device with MAKEDEV, # cd /dev # ./MAKEDEV wd0s5 If you have troubles with this, we ought to move it to -questions. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message