From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 14:40:29 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 E30E516A4BF for ; Sat, 13 Sep 2003 14:40:29 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15EAD43FCB for ; Sat, 13 Sep 2003 14:40:26 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19yI7r-0003U1-00 for ; Sat, 13 Sep 2003 23:40:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yGyy-0002s2-00 for ; Sat, 13 Sep 2003 22:27:00 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19yGz7-0007gt-00 for ; Sat, 13 Sep 2003 22:27:09 +0200 From: Kai Grossjohann Date: Sat, 13 Sep 2003 22:27:09 +0200 Lines: 54 Message-ID: <868yossaci.fsf@slowfox.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:UmdIIgy+hgVKHg0WRrr1qJqq2+U= Sender: news Subject: Extended partitions under FreeBSD: more info, and how to mount? 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: Sat, 13 Sep 2003 21:40:30 -0000 I'm running -current as of a couple of days ago (using the GENERIC kernel). I have this disk layout: ~> fdisk ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=232632 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=232632 heads=16 sectors/track=63 (1008 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 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 63, size 10474317 (5114 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 651/ head 254/ sector 63 The data for partition 2 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 10474380, size 20964825 (10236 Meg), flag 0 beg: cyl 652/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 31439205, size 62910540 (30718 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 15 (0x0f),(Extended DOS (LBA)) start 94349745, size 140140287 (68427 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 83/ sector 63 First question: how to find out what is inside that extended DOS partition? And devd has created these devices for me: ~> ls /dev/ad* /dev/ad0 /dev/ad0s2 /dev/ad0s3a /dev/ad0s3c /dev/ad0s5 /dev/ad0s1 /dev/ad0s3 /dev/ad0s3b /dev/ad0s4 So it seems to me that /dev/ad0s5 ought to be the right place to look for my FAT32 partition inside the extended DOS partition: ~> mount_msdosfs /dev/ad0s5 /mnt mount_msdosfs: /dev/ad0s5: Invalid argument Second question: how to mount that partition? -- Two cafe au lait please, but without milk.