From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 04:12:50 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 A121837B401 for ; Mon, 16 Jun 2003 04:12:50 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E61943F3F for ; Mon, 16 Jun 2003 04:12:49 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp2159.sa.padsl.internode.on.net [150.101.28.110]) h5GBCiCT012923; Mon, 16 Jun 2003 20:42:45 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Brian Astill , Andy Farkas Date: Mon, 16 Jun 2003 20:42:44 +0930 User-Agent: KMail/1.4.3 References: <20030519151603.J93323-100000@hewey.af.speednet.com.au> <200306141625.50797.bastill@adam.com.au> In-Reply-To: <200306141625.50797.bastill@adam.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306162042.44474.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: Can't mount ad0s2 - sourced 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: Mon, 16 Jun 2003 11:12:50 -0000 On Mon, 16 Jun 2003 10:58, Brian Astill wrote: > On Mon, 19 May 2003 02:52 pm, Andy Farkas wrote: > > > > Sure there is [a solution]. Show us what fdisk and disklabel say. > > referring to my being unable to access ad0s2 from FBSD. > The drive is partitioned DOS-DOS-FBSD. > > If I set up the partitions Primary1-Primary2-Primary3, WinNT "hides" > Primary2, and I have to "unhide" using Partition Magic every time I > boot into that hateful OS. However, I CAN acess Primary2 from FBSD. > If I set up the partitions Primary1-Logical1-Primary2, WinNT is happy, > but Logical1 cannot be mounted by FBSD. > Never had occassion to use this but:- It's my understanding that so called logical partitions/slices are availa= ble=20 to FreeBSD as slice 5, 6 ... Thus you should be able to mount the elusive partition as ad0s5. Of course you'll probably need to first make the device:- #cd /dev #./MAKEDEV ad0s5 > herewith details of the latter case: > As you can see, fdisk can see the extended partition, but not the > logical partition inside it. (tho' windoze is happy) > > #fdisk /dev/ad0 > ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=3D1027 heads=3D255 sectors/track=3D63 (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=3D1027 heads=3D255 sectors/track=3D63 (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 6,(Primary 'big' DOS (> 32MB)) > start 63, size 2056257 (1004 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 127/ head 254/ sector 63 > The data for partition 2 is: > sysid 5,(Extended DOS) > start 2056320, size 2088450 (1019 Meg), flag 0 > beg: cyl 128/ head 0/ sector 1; > end: cyl 257/ head 254/ sector 63 > The data for partition 3 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 4144770, size 12353985 (6032 Meg), flag 0 > beg: cyl 258/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 4 is: > > Since logical slices are rather like primary slices but referenced from a primary slice or another logical slice, rather than the MBR, they can usually be "viewed" by=20 pointing fdisk at a slice instead of the entire disk: #fdisk /dev/ad0s2 Malcolm