From owner-freebsd-questions Wed Apr 28 1:39:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id A46AB1561C for ; Wed, 28 Apr 1999 01:39:39 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-12.mail.demon.net with smtp (Exim 2.12 #1) id 10cPsW-000AFD-0C; Wed, 28 Apr 1999 08:39:37 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id JAA02397; Wed, 28 Apr 1999 09:39:08 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id JAA03142; Wed, 28 Apr 1999 09:39:05 +0100 Message-ID: <3726C8ED.9ECBEBC@uk.radan.com> Date: Wed, 28 Apr 1999 09:38:05 +0100 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB MIME-Version: 1.0 To: "Andy V. Oleynik" Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Extended DOS partition mount prob References: <3726C60A.FC1CB2A9@prime.net.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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