From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 11:43:30 2004 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 B915316A4CE for ; Mon, 23 Feb 2004 11:43:30 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A78443D1D for ; Mon, 23 Feb 2004 11:43:30 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1NJhTi0077054; Mon, 23 Feb 2004 13:43:29 -0600 (CST) (envelope-from dan) Date: Mon, 23 Feb 2004 13:43:29 -0600 From: Dan Nelson To: Alan Freed Message-ID: <20040223194329.GD33450@dan.emsphone.com> References: <1077564379.3377.7.camel@celeborn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1077564379.3377.7.camel@celeborn> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: questions@freebsd.org Subject: Re: changing the boot0 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: Mon, 23 Feb 2004 19:43:30 -0000 In the last episode (Feb 23), Alan Freed said: > I have a specific ? I use several OS's, and your bootloader finds > them all; however, it prints a ?? on the screen because they are > unknown to BSD. I look at the /boot/boot0 file which contains this > information, but I don't know how to edit it. Do you have a way that > I can edit the menu so that when I select a non-FreeBSD OS I know > what I'm getting? It's a very simple boot menu. It has to fit inside the MBR, so it can't know about all partition types. If you want, you can cd to /sys/boot/i386/boot0/, edit the tables in boot0.s, run "make obj && make depend && make && make install" then run "boot0cfg -B da0" to reinstall the new bootblock into the disk. If you get an "attempt to .org backwards" message while compiling, that means you made the bootblock larger than 512 bytes, and you'll have to remove some of the other entries in the table. Note that it just goes by partition type, so it can't tell the difference between a w2k and a wxp partition, or different linux partitions. I suggest using grub from ports if you want a nice customizeable menu. > It is going to take me a good week to get everything configured > and running, but it seems that this will happen, it will just take > time. > > You really need to get teTeX in your Ports distribution!!! It's already there: ports/print/teTex -- Dan Nelson dnelson@allantgroup.com