From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 11:26:49 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 F326037B401 for ; Sun, 6 Jul 2003 11:26:48 -0700 (PDT) Received: from smtp.mailbox.co.uk (smtp.mailbox.co.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1205643FD7 for ; Sun, 6 Jul 2003 11:26:48 -0700 (PDT) (envelope-from wayne@penguinpowered.org) Received: from [212.18.244.168] (helo=marvin.penguinpowered.org.uk) by smtp.mailbox.co.uk with esmtp (Exim 3.36 #1) id 19ZEDm-0001uJ-00 for freebsd-questions@freebsd.org; Sun, 06 Jul 2003 19:26:46 +0100 Received: from waynep by marvin.penguinpowered.org.uk with local (Exim 3.33 #1) id 19ZENM-000E1k-00 for freebsd-questions@freebsd.org; Sun, 06 Jul 2003 19:36:40 +0100 Date: Sun, 6 Jul 2003 19:36:40 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Message-ID: <20030706183640.GA53902@marvin.penguinpowered.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-System: FreeBSD i386 with kernel 4.8-STABLE Sender: Wayne Subject: 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 18:26:49 -0000 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 ? 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, -- Wayne Pascoe