From owner-freebsd-hackers Sat Jun 19 10:53:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ceia.nordier.com (m1-11-dbn.dial-up.net [196.34.155.11]) by hub.freebsd.org (Postfix) with ESMTP id 6353D14E25 for ; Sat, 19 Jun 1999 10:53:25 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id TAA02512; Sat, 19 Jun 1999 19:52:24 +0200 (SAST) From: Robert Nordier Message-Id: <199906191752.TAA02512@ceia.nordier.com> Subject: Re: Changing Bootmgr display In-Reply-To: <199906191706.LAA86038@harmony.village.org> from Warner Losh at "Jun 19, 1999 11:06:07 am" To: imp@harmony.village.org (Warner Losh) Date: Sat, 19 Jun 1999 19:52:21 +0200 (SAST) Cc: dennis@etinc.com (Dennis), hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > In message <199906191602.MAA10374@etinc.com> Dennis writes: > : F3 is a non-bootable file system...is there a way to get the boot manager > : to only display F1 and F2? > > More generally, I'd like my Win98 partition to be identified as Win98, > not ????. Also, is there a list of partition types to ignore > somehwere? My suspend partition also shows up as ????. The present boot manager is limited in size to 446 bytes, so there's just not space to provide an adequate list of known partitions. The best solution is probably to customise the sources or use a "proper" boot manager. (I see that at the FreeBSD Mall, they're offering Partition Magic and System Commander with FreeBSD.) To ignore a partition by type, see the following patch as an example (we ignore type 0x42). -- Robert Nordier --- boot0.s.orig Sat Jun 19 19:50:23 1999 +++ boot0.s Sat Jun 19 19:50:44 1999 @@ -24,7 +24,7 @@ .set PRT_OFF,0x1be # Partition table - .set TBL0SZ,0x3 # Table 0 size + .set TBL0SZ,0x4 # Table 0 size .set TBL1SZ,0xa # Table 1 size .set MAGIC,0xaa55 # Magic: bootable @@ -231,7 +231,7 @@ # Partition type tables tables: - .byte 0x0, 0x5, 0xf + .byte 0x0, 0x5, 0xf, 0x42 .byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x63, 0x83 .byte 0xa5, 0xa6 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message