Click to See Complete Forum and Search --> : lilo & FreeBSD


martin_blank
03-09-2001, 01:19 PM
Here is my situation:
I had linux and Win98 installed on my machine and recently installed FreeBSD on another harddrive...
Can anyone tell me how to setup LILO to boot
the BSD installation, that is, I need to know how to setup lilo.conf

Tidbits of info:
BSD drive : hdc5
Kernel Location (BSD) : /kernel

Any help would be much appreciated.
:confused:

freaker
03-09-2001, 01:24 PM
my guess would be to add a line in your /etc/lilo.conf

image = /kernel
root = /dev/hdc5
label = FreeBSD (or whatever)
read - only

and then rerun
>lilo (as root)

that should do it...

freaker :cool:

bdl
03-09-2001, 01:33 PM
Im not certain if BSD can boot from that partition or not; but lets say it was installed on a primary partition on your first hdd, in order to make it compatible with LILO, you'll have to install the BSD bootloader to that particular partition only, then load it as you would any 'other' OS from LILO:

## example

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

Of course assuming LILO owns the MBR.
Again, I dont believe BSD can boot from a logical partition on the Secondary Master drive, but it's worth a shot.

martin_blank
03-09-2001, 01:37 PM
Thanks alot for those of you who were so quick to help...I will try these suggestions.
Thanks!

freaker
03-09-2001, 02:57 PM
yeah, like I said, it was a guess, I never worked with BSD before..
sorry

freaker :cool: