From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 23:37:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EE810211 for ; Fri, 25 Jan 2013 23:37:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id A05C1D8 for ; Fri, 25 Jan 2013 23:37:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tyspm-0000nZ-Mt for freebsd-questions@freebsd.org; Sat, 26 Jan 2013 00:37:22 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Jan 2013 00:37:22 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Jan 2013 00:37:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Mount Logical (ext2fs) Partitions? Date: Fri, 25 Jan 2013 23:36:45 +0000 (UTC) Lines: 80 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 23:37:10 -0000 9.1 on x86_64. No doubt this question has been asked before, but how do I mount logical partitions (e2fs) under FreeBSD? I have checked the handbook, and DuckDuckGo'ed, but without finding anything useful. The third slice on my first disk is a physical one, and will mount happily under FreeBSD. >From /etc/fstab: /dev/ada0s3 /Mail ext2fs rw 0 0 But I have a couple of logical partitions (also ext2fs) in the fourth slice, which I have been trying, unsuccessfully, to mount. For information, here is the BSD view of the disk: $ sudo fdisk ******* Working on device /dev/ada0 ******* parameters extracted from in-core disklabel are: cylinders=310101 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=310101 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 131 (0x83),(Linux native) start 2048, size 24576000 (12000 Meg), flag 0 beg: cyl 0/ head 32/ sector 33; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 24578064, size 44040150 (21503 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 255/ sector 63 The data for partition 3 is: sysid 131 (0x83),(Linux native) start 68618240, size 958464 (468 Meg), flag 0 beg: cyl 1023/ head 254/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 5 (0x05),(Extended DOS) start 69577576, size 243002520 (118653 Meg), flag 0 beg: cyl 1023/ head 254/ sector 63; end: cyl 1023/ head 254/ sector 63 $ Now here's how Linux sees it: $ sudo fdisk -l /dev/sda Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x38d5b517 Device Boot Start End Blocks Id System /dev/sda1 2048 24578047 12288000 83 Linux /dev/sda2 * 24578064 68618213 22020075 a5 FreeBSD /dev/sda3 68618240 69576703 479232 83 Linux /dev/sda4 69577576 312580095 121501260 5 Extended /dev/sda5 94158848 112590847 9216000 83 Linux /dev/sda6 112592896 118736895 3072000 82 Linux swap / Solaris /dev/sda7 118738944 159698943 20480000 83 Linux /dev/sda8 159700992 241620991 40960000 83 Linux /dev/sda9 241623040 270299135 14338048 83 Linux /dev/sda10 270301184 312580095 21139456 83 Linux /dev/sda11 69580800 94156799 12288000 83 Linux Partition table entries are not in disk order $ Can anyone provide a pointer please?