Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 13:43:29 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Alan Freed <AlFreed@ohio.net>
Cc:        questions@freebsd.org
Subject:   Re: changing the boot0 menu
Message-ID:  <20040223194329.GD33450@dan.emsphone.com>
In-Reply-To: <1077564379.3377.7.camel@celeborn>
References:  <1077564379.3377.7.camel@celeborn>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223194329.GD33450>