From owner-freebsd-newbies Wed Feb 24 17: 8: 9 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from hole.noc.iafrica.com (hole.noc.iafrica.com [196.31.1.191]) by hub.freebsd.org (Postfix) with ESMTP id 999AF14C49 for ; Wed, 24 Feb 1999 17:07:25 -0800 (PST) (envelope-from robh@hole.noc.iafrica.com) Received: from robh (helo=localhost) by hole.noc.iafrica.com with local-smtp (Exim 2.04 #1) id 10FXZj-0001fh-00; Wed, 24 Feb 1999 08:13:39 +0200 Date: Wed, 24 Feb 1999 08:13:39 +0200 (SAT) From: Rob Hunter X-Sender: robh@hole.noc.iafrica.com To: cjclark@home.com Cc: freebsd-newbies@freebsd.org Subject: Re: mounting fat32 In-Reply-To: <199902231438.JAA26478@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 23 Feb 1999, Crist J. Clark wrote: > 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. Not necessary. Thanks, it worked. --Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message