From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 12:51:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD9C37B401 for ; Sun, 6 Jul 2003 12:51:44 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id F027344027 for ; Sun, 6 Jul 2003 12:51:43 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h66Jpfk18385; Sun, 6 Jul 2003 12:51:41 -0700 From: Kent Stewart To: Wayne Pascoe , freebsd-questions@freebsd.org Date: Sun, 6 Jul 2003 12:51:40 -0700 User-Agent: KMail/1.5.2 References: <20030706183640.GA53902@marvin.penguinpowered.org.uk> In-Reply-To: <20030706183640.GA53902@marvin.penguinpowered.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307061251.40856.kstewart@owt.com> Subject: Re: Mounting extended dos partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 19:51:45 -0000 On Sunday 06 July 2003 11:36 am, Wayne Pascoe wrote: > Hi all, > > I have an 80 Gig hard drive with the following partition layout: > Primary 1 - MS-DOS - 29996 Meg > Extended with 1 Logical drive (D) - MS DOS - 27996 Meg > FreeBSD Partition - 20167 Meg > > I'm trying to mount the extended partition. My primary dos partition is > /dev/ad4s1 > > I've tried mounting the extended as follows: > > mount_msdos /dev/ad4s2 /mnt/dose > mount_msdos /dev/ad4s2a /mnt/dose > mount_msdos /dev/ad4s2b /mnt/dose > mount_msdos /dev/ad4s2c /mnt/dose > mount_msdos /dev/ad4s2d /mnt/dose > > All of these return with > mount_msdos: /dev/ad4s2x: Invalid argument > > Any ideas on how I mount this logical drive in this extended partition ? The extended partitions all start at 5 because you can have 4 primary partitions. Kent > > For the record, fdisk ad4 presents the following output: > > # fdisk ad4 > ******* Working on device /dev/ad4 ******* > parameters extracted from in-core disklabel are: > cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA) > start 63, size 61432497 (29996 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 2 is: > sysid 15,(Extended DOS, LBA) > start 61432560, size 57335985 (27996 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 3 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 118768545, size 41303115 (20167 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 4 is: > > > Thanks in advance, -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html