From owner-freebsd-stable Fri Aug 9 6:19:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91DC937B400 for ; Fri, 9 Aug 2002 06:19:31 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4408443E65 for ; Fri, 9 Aug 2002 06:19:19 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g79DJHh1012513; Fri, 9 Aug 2002 06:19:17 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g79DJG3u012512; Fri, 9 Aug 2002 06:19:16 -0700 (PDT) Date: Fri, 9 Aug 2002 06:19:16 -0700 (PDT) From: David Wolfskill Message-Id: <200208091319.g79DJG3u012512@bunrab.catwhisker.org> To: freebsd-stable@FreeBSD.ORG, pfrench@firstcallgroup.co.uk Subject: Re: mbr selection list In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >From: Pete French >Date: Fri, 09 Aug 2002 11:43:29 +0100 >...whist we are on the subejct of the MBR - what defines which >partititons map to F1-4 ? I thought it would be partititons 1-4 in order, but >it doesnt seem to be. This is exasperating as I know what order they are >on th disc inmy head, but I always end up hoitting the wrong F as >the first two come out backwards on one of my systems! Empirical evidence suggests that the F1-4 keys map to the corresponding entries in the partition table of the MBR. [Hope I get the terms reasonably close....] Thus: d144(4.6-S)[7] sudo boot0cfg -v ad0 Password: # flag start chs type end chs offset size 1 0x80 73: 0: 1 0xa5 349:239:63 1103760 4188240 2 0x00 350: 0: 1 0xa5 626:239:63 5292000 4188240 3 0x00 627: 0: 1 0xa5 1023:239:63 9480240 29589840 4 0x00 0: 1: 1 0xa0 72:239:63 63 1103697 version=1.0 drive=0x80 mask=0x7 ticks=182 options=nopacket,update,nosetdrv default_selection=F1 (Slice 1) d144(4.6-S)[8] In the above case, F1 corresponds to the entry labelled "1" (and so on), even though I set things up so that it's the 4th entry that refers to the first slice one would encounter on the disk. Cheers, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between Microsoft and the discipline of systems administration, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message