Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 09:38:58 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        hunterr@iafrica.com (Rob Hunter)
Cc:        cjclark@home.com, freebsd-newbies@freebsd.org
Subject:   Re: mounting fat32
Message-ID:  <199902231438.JAA26478@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.3.96.990223115526.27296K-100000@hole.noc.iafrica.com> from Rob Hunter at "Feb 23, 99 12:03:47 pm"

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902231438.JAA26478>