From owner-freebsd-current Tue Jun 29 20:51: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 630B614ED6 for ; Tue, 29 Jun 1999 20:51:04 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id WAA17903; Tue, 29 Jun 1999 22:49:37 -0500 (CDT) (envelope-from dan) Date: Tue, 29 Jun 1999 22:49:37 -0500 From: Dan Nelson To: Thomas Dean Cc: freebsd-current@FreeBSD.ORG Subject: Re: Boot Manager says F1 ?? for WINNT Message-ID: <19990629224937.A17683@dan.emsphone.com> References: <87d7yeu1it.fsf@muon.xs4all.nl> <199906300202.TAA02845@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199906300202.TAA02845@ix.netcom.com>; from "Thomas Dean" on Tue Jun 29 19:02:06 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jun 29), Thomas Dean said: > I installed -current on a notebook with WINNT on the disk. The > notebook has the ide disk limitation. So, I chopped the disk do get > around it. Maybe I should buy a new notebook, but, this one works. > > Everything worked OK, except the boot manager. I get: > > F1 ?? > F2 FreeBSD > F3 ?? > F4 FreeBSD > > Pressing F1 boots WINNT, F2 boots FreeBSD. The other partitions are > not bootable. > > How do I get something other than ?? for F1 and lose F3 and F4? Part of the problem is the bootblock has to fit in 512 bytes, so there's no room for all possible partition types. At the moment, there are 8 whole bytes free :), so you should be able to fit an "NT" type in there. It would take two bytes to map the NT partition type to the "DOS" string, and two+stringlen to map it to another string. Source is in /sys/boot/i386/boot0/boot0.s As for removing slices from the menu, man boot0cfg. The -m option lets you mask out any or all of the partitions. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message