Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 08:13:39 +0200 (SAT)
From:      Rob Hunter <hunterr@iafrica.com>
To:        cjclark@home.com
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: mounting fat32
Message-ID:  <Pine.BSF.3.96.990224081306.5822B-100000@hole.noc.iafrica.com>
In-Reply-To: <199902231438.JAA26478@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990224081306.5822B-100000>