Editing the boot menu

Hanspeter Roth hampi at rootshell.be
Wed Jun 8 20:55:00 GMT 2005


  On Jun 08 at 14:17, Paul Schmehl spoke:

> When you use FreeBSD's boot manager, you get a menu like this at bootup:
> 
> F1 DOS
> F2 FreeBSD
> F3 Linux
> F4 ??
> F5 Drive 1
> 
> Default: F2
> 
> Is there a way to edit the list?  Or is that fixed when boot manager is 
> installed and not configurable?
> 
> By edit, I mean, for example, change F4 ?? to F4 MyOS.

This boot selector has no configuration file. It resides within the
512 Byte MBR.
You may change Lables by editing
/usr/src/sys/boot/i386/boot0/boot0.S.
It's probably easier if you don't touch the length of the label.
After making boot0 copy it to /boot and run boot0cfg.

-Hanspeter


More information about the freebsd-questions mailing list