Subject: Re: Dual boot NetBSD and Linux
To: Tobias Anderberg <email@example.com>
From: Rick Byers <rb-netbsd@BigScaryChildren.net>
Date: 11/06/2001 16:16:40
Where is (was) Lilo installed (the "boot" config file parameter)? You
probably want to put lilo at the beginning of the Linux boot
partition, which should be a primary partition (i.e. "hda2"). I think the
default (depending on your distribution) may be to put Lilo in the MBR
(beginning of the disk, "hda" - same place the netbsd bootselect code has
to be installed).
Basically the netbsd bootselect code just jumps to the first block of
whatever partition you select. The OS bootloader should get installed
there (installboot under NetBSD, lilo under linux).
Another option is to put lilo in the MBR and use it as a bootselector.
You just have to add an entry to your lilo.conf like:
other = /dev/hda3
label = netbsd
table = /dev/hda
You can then enter "netbsd" at the Lilo prompt and get it to chain-load
(i.e. jump to ) the code at the beginnign of the NetBSD partition.
On Tue, 6 Nov 2001, Tobias Anderberg wrote:
> Date: Tue, 6 Nov 2001 09:07:31 +0100 (CET)
> From: Tobias Anderberg <firstname.lastname@example.org>
> To: email@example.com
> Subject: Dual boot NetBSD and Linux
> Maybe I've suffered from temporary blindness or something, but I've
> spent the entire morning searching netbsd.org and various other
> resources for information on howto dual boot NetBSD and Linux.
> I tried the fdisk -i -c /usr/mdec/mbr_bootsel; fdisk -B, but although
> they both appear in boot menu, I'm unable to boot the Linux partition.
> I was unable to boot NetBSD from the Linux bootloader as well, so
> I must be missing something here. Maybe I must resort to another
> bootloader, like osboot?
> Any hints?