Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 09:38:05 +0100
From:      Mark Ovens <marko@uk.radan.com>
To:        "Andy V. Oleynik" <andyo@prime.net.ua>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@freebsd.org>
Subject:   Re: Extended DOS partition mount prob
Message-ID:  <3726C8ED.9ECBEBC@uk.radan.com>
References:  <3726C60A.FC1CB2A9@prime.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andy V. Oleynik" wrote:
> 
> Hi, everybody,
> 2 years ago when using 2.1.5-R I was failed mounting EDOS.
> I gave up then. But now I need it again strickty:(
> As said in FAQ:
> The secondary DOS partitions are found after ALL the primary partitions.
> For example, if you have an "E" partition as the second DOS partition on
> the second SCSI drive, you need to create the special files for "slice
> 5" in /dev, then
> mount /dev/sd1s5:
> 
>         # cd /dev
>         # ./MAKEDEV sd1s5
>         # mount -t msdos /dev/sd1s5 /dos/e
> In my case it's "D" on wd0 e.g. /dev/wd0s4 'cos
> there are Primary DOS part at /dev/wd0s1 (mounted w/o prob),
> FreeBSD at /dev/wd0s3 (btw Fdisk partition editor sais that
> EDOS resides at /dev/wd0s2?).
> Anyway mounting it  either wd0s4 or wd0s2 sais:
>   volodya# mount -t msdos /dev/wd0s4 /mnt
>   mountmsdosfs(): bad signature
>   msdos: /dev/wd0s4: Invalid argument
>   volodya# Apr 28 11:24:36 volodya /kernel: mountmsdosfs(): bad
> signature
>   Apr 28 11:24:36 volodya /kernel: mountmsdosfs(): bad signature
>   volodya# mount -t msdos /dev/wd0s2 /mnt
>   mountmsdosfs(): bad bpb
>   msdos: /dev/wd0s2: Invalid argument
>   volodya# Apr 28 11:24:50 volodya /kernel: mountmsdosfs(): bad bpb
>   Apr 28 11:24:50 volodya /kernel: mountmsdosfs(): bad bpb
>   volodya#
> What I do wrong?
> 

The extended partition itself is wd0s2, but you can't mount it, only
the "logical drives" inside it. These "logical drives" *always* start
at s5, so your (first) "logical drive" in your extended partition is
/dev/wd0s5, the second /dev/wd0s6....

Note, if you are still using 2.1.5 I don't think it supports extended
partitions.

> --
> WBW  Andy V. Oleynik  (When U work in virtual office
>                        U have good chance to obtain virtual money %-)
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com                  http://www.radan.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3726C8ED.9ECBEBC>