Booting FreeBSD from LILO

If you are running Linux and want to boot FreeBSD from Linux's LILO, it is fairly easy to do.

In Linux, edit the file /etc/lilo.conf, and add the following lines:

other=/dev/hda2
    table=/dev/hda
    label=FreeBSD

You will need to change the other line to reflect whatever device Linux recognizes your FreeBSD drive as.

After you have changed the configuration file, you will need to reinstall LILO by typing lilo as the root user.

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.