Date: Tue, 7 Oct 2003 03:26:07 -0700 (PDT) From: Dan Strick <strick@covad.net> To: freebsd-questions@freebsd.org Cc: dan@ice.nodomain Subject: RE: Another question - Boot Menu Message-ID: <200310071026.h97AQ7JT000977@ice.nodomain>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310071026.h97AQ7JT000977>