From owner-freebsd-questions Wed Apr 28 2:30:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 4912014C1B for ; Wed, 28 Apr 1999 02:30:10 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost.prime.net.ua [127.0.0.1]) by volodya.prime.net.ua (8.8.8/8.8.8) with ESMTP id MAA00318 for ; Wed, 28 Apr 1999 12:37:50 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <3726D6EC.8C9E1BD9@prime.net.ua> Date: Wed, 28 Apr 1999 12:37:49 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Re: Extended DOS partition mount prob References: <3726C60A.FC1CB2A9@prime.net.ua> <3726C8ED.9ECBEBC@uk.radan.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Special thanks to Mark :) File closed :) Mark Ovens wrote: > "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 -- 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