From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 03:26:09 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 0BBED16A4B3 for ; Tue, 7 Oct 2003 03:26:09 -0700 (PDT) Received: from smtp.covadmail.net (mx05.covadmail.net [63.65.120.65]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C09B44001 for ; Tue, 7 Oct 2003 03:26:07 -0700 (PDT) (envelope-from strick@covad.net) Received: (covad.net 20664 invoked from network); 7 Oct 2003 10:26:02 -0000 Received: from unknown (HELO ice.nodomain) (68.164.192.19) by sun-qmail10 with SMTP; 7 Oct 2003 10:26:01 -0000 Received: from ice.nodomain (localhost [127.0.0.1]) by ice.nodomain (8.12.8p1/8.12.8) with ESMTP id h97AQ7td000978; Tue, 7 Oct 2003 03:26:07 -0700 (PDT) (envelope-from dan@ice.nodomain) Received: (from dan@localhost) by ice.nodomain (8.12.8p1/8.12.8/Submit) id h97AQ7JT000977; Tue, 7 Oct 2003 03:26:07 -0700 (PDT) Date: Tue, 7 Oct 2003 03:26:07 -0700 (PDT) From: Dan Strick Message-Id: <200310071026.h97AQ7JT000977@ice.nodomain> To: freebsd-questions@freebsd.org cc: Ronj_clark@yahoo.com cc: dan@ice.nodomain Subject: RE: Another question - Boot Menu 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: Tue, 07 Oct 2003 10:26:09 -0000 On Mon, 6 Oct 2003, dstar@nildram.co.uk wrote: > I too have this problem (I dual boot Win 2K/FreeBSD on my desktop). > Everything works fine, but I think what Ron wants to know is simply can > you change the ??? into Windows for example? The partition type code -> OS name translation table is hardwired into /usr/src/sys/boot/i386/boot0/boot0.s, the source for the master bootstrap program. These are the current mappings: parition codes string ------------------ -------- 1,4,6,11,12,14 DOS 99 UNIX 131 Linux 159,166,169 BSD 165 FreeBSD There isn't enough free space left in boot0 to add any more mappings. (It has to fit in a 512 byte disk sector). You could make space by deleting some of the current mappings or other boot0 program features. I suspect that you don't want to get into that. If you want to create your own customized bootstrap menu, you might look into /usr/ports/sysutils/grub. If you are curious, you can find a larger partition code table in /usr/src/sbin/i386/fdisk/fdisk.c. For an even larger compilation, see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html Dan Strick strick@covad.net