*BSD News Article 47714


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!news.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!tubsibr!petri
From: petri@ibr.cs.tu-bs.de (Stefan Petri)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can Linux and FreeBSD coexist (peacefully)
Date: 1 Aug 1995 14:47:37 GMT
Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
Lines: 37
Distribution: world
Message-ID: <3vleq9$232@ra.ibr.cs.tu-bs.de>
References: <alegre.807056451@mars.superlink.net> <3vg8qe$e1c@trauma.rn.com>
Reply-To: petri@ibr.cs.tu-bs.de (Stefan Petri)
NNTP-Posting-Host: achill.ibr.cs.tu-bs.de

>>I would like to use LILO to choose at boot time between 
>>Linux and FreeBSD.

My lilo.conf to do exactly this is appended. Lilo doesnt know
about FreeBSd and just passes vontrol on to its boot sector, like it
would do for DOS or whatever.
Note however, that you need to install FreeBSD in an fdisk partition
on its own, it can't access the ext2fs partitions.


# LILO configuration file
# generated by 'liloconfig' and hacked by hand
#
# Start LILO global section
boot = /dev/sda
#compact        # faster, but won't work on all systems.
delay = 50
vga = normal    # force sane state
ramdisk = 0     # paranoia setting
# End LILO global section
# FreeBSD bootable partition config begins
other = /dev/sda3
  label = FreeBSD
  alias = bsd
  table = /dev/sda
  password = foobar
  restricted
# FreeBSD bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/sda2
  label = Linux
  alias = l
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
  password = foobar
  restricted
# Linux bootable partition config ends