From owner-freebsd-questions Sun May 14 9:42:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by hub.freebsd.org (Postfix) with SMTP id DDC3137B5BA for ; Sun, 14 May 2000 09:42:47 -0700 (PDT) (envelope-from reader@newsguy.com) Received: (qmail 9869 invoked from network); 14 May 2000 16:43:05 -0000 Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (root@209.144.117.113) by mail.networkone.net with SMTP; 14 May 2000 16:43:05 -0000 Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id JAA01587; Sun, 14 May 2000 09:46:38 -0700 To: freebsd-questions@FreeBSD.ORG Subject: Re: Lilo->Freebsd References: From: Harry Putnam Date: 14 May 2000 09:46:30 -0700 In-Reply-To: Zhihui Zhang's message of "Sun, 14 May 2000 12:07:39 -0400 (EDT)" Message-ID: User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 59 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zhihui Zhang writes: > On Sat, 13 May 2000, TRBishop wrote: > > > Hello, > > Quick question, , but will Lilo boot freebsd? I know in Yast, the > > We use LILO to boot FreeBSD 3.3 and Linux for a while. > > -Zhihui I do this on a machine running FreeBSD-RELEASE-3.2 and Redhat Linux 6.2. I found good instructions here: http://www.freebsd.org/FAQ/admin.html#AEN1856 On my setup I have Lilo installed in first HDD. I installed FreeBSD on 2nd HDD. So let FreeBSD install routine put the FreeBSD boot loader on MBR of 2nd HDD. Then added the lines in lilo.conf (on linux bootup) other=/dev/hdc2 table=/dev/hdc label=FreeBSD An example of a full lilo.conf might look like: boot=/dev/hda map=/boot/map install=/boot/boot.b vga=5 prompt timeout=50 image=/boot/vmlinuz label=rh6.2 read-only root=/dev/hda7 other=/dev/hdc2 table=/dev/hdc label=bsd other=/dev/hda1 label=win table=/dev/hda One gotcha here is that the FreeBSD partition must be mounted while in linux to let lilo write its instructions when you call "/sbin/lilo" So: `mount -tufs /dev/hdc2 /mnt' Setting the BSD partitions device name where I have "hdc2" Assuming your linux kernel supports "ufs" (Freebsd's fs type) Then when booting I just select "FreeBSD" at the Lilo prompt and the Freebsd boot loader does the rest. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message