bootmanager-icon_64.pngBootManager

Deskbar:No entry, normally started from Installer's Tools menu
Location:/boot/system/apps/BootManager
Settings:none
MBR backups are saved by default in ~/config/settings/bootman/


If you don't add the Haiku partition to an existing boot manager like GRUB, BootManager can install a small boot menu in the Master Boot Record (MBR) that looks something like this:

bootmenu.png
BootManager isn't yet tested very well and still has a few restrictions that it will complain about if they aren't met: the menu can only be installed on your first harddisk and there has to be a 2KiB space after the Master Boot Record (MBR).

BootManager guides you through the installation process of the boot menu.

index Choosing the destination drive

bootmanager-1.png

The BootManager starts off with a list of all available drives from which you choose the destination. If there's already a boot menu on that drive, the Uninstall button becomes active, leading you through the simple procedure to restore a formerly backed-up MBR, thereby removing the boot menu. Otherwise, choose Install to continue.

index Backing up the Master Boot Record (MBR)

In case anything goes wrong or you want to remove the boot menu again, the Master Boot Record (MBR) is now saved. This is obviously a very important step, make sure you don't accidentally overwrite some other MBR-backup maybe from some earlier experimentation, for example!

bootmanager-2.png bootmanager-3.png

Just select a destination for the backup file "MBR" or leave the default path. After clicking Next you'll get a confirmation if the backup was successful.

Be aware that the "/boot" in that path is the install media (e.g. USB stick). Makes sense if something goes wrong and you need to revert immediately. For a long term backup, you should save the MBR on your new Haiku disk as well, because likely as not, you've already formatted and used your install USB stick for other things in the meantime...

index Configuring the boot menu

bootmanager-4.png bootmanager-5.png

Next you're presented with a list of all partitions on the destination drive. By setting checkmarks you decide what entries will appear in the boot menu, the text boxes allow you to rename an entry.

After that, you pick from the pop-up menu which partition will be booted from by default and set a timeout with the slider below. Here, "Immediately" will skip the boot menu entirely, "Never" will just stop at the boot menu. You can override the timeout setting by holding ALT while booting.

index Writing the boot menu

bootmanager-6.png bootmanager-7.png

Before the boot menu is written to the MBR, you'll get a summary of your configuration and then one last chance to abort the operation. Don't worry though, as long as you keep the MBR backup safe, you can easily revert the changes. Should things get thoroughly messed up, you can always boot from a Haiku install CD or USB stick and write back the MBR backup with BootManager.

index Restoring the backup of the Master Boot Record (MBR)

It's currently not possible to uninstall the boot menu with the BootManager application. There is a workaround however: You can use the dd command in Terminal to restore the backup of the MBR.

dd can be a very destructive tool.
Be very careful and check especially the device path parameter!

The dd commandline is something like this:

dd if=/boot/home/config/settings/bootman/MBR of=/dev/disk/[...]/raw

The input parameter ("if") is the path to the backup of the MBR.
The output parameter ("of") is the path to the raw disk the MBR will be written to. You find all devices and their paths in the DriveSetup application.