From owner-freebsd-questions@FreeBSD.ORG Sat Sep 16 23:59:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 096F716A40F for ; Sat, 16 Sep 2006 23:59:13 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65CEF43D46 for ; Sat, 16 Sep 2006 23:59:12 +0000 (GMT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 483FD9BE5C; Sun, 17 Sep 2006 09:29:11 +0930 (CST) Date: Sun, 17 Sep 2006 09:29:11 +0930 From: Greg 'groggy' Lehey To: Dan Bikle Message-ID: <20060916235911.GA20783@wantadilla.lemis.com> References: <74252ed10609161649se80d8d2tde7a2b04b0f78398@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <74252ed10609161649se80d8d2tde7a2b04b0f78398@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd, Suse Linux dual booting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 23:59:13 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 16 September 2006 at 16:49:17 -0700, Dan Bikle wrote: > FreeBSD and Linux people, > > I have a PC which I want to boot as windows, FreeBSD, and Suse 10.1 Linux. > > Currently, FreeBSD boot0 menu shows both Windows and FreeBSD as boot-able. > > The FreeBSD boot0 menu does not show the Linux OS (which I just installed). > > So, I did some reading of the FreeBSD handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html > > It suggests that I have 2 ways to solve this problem: > > 1. Configure the FreeBSD boot0 menu so that it can boot > Windows, FreeBSD, and Linux > > Or, > > 2. Replace The FreeBSD boot0 menu with LILO Boot Manager > > I like option 1. > > Q1: How do I add Suse 10.1 Linux to the FreeBSD boot0 menu? That depends on how you have laid out your Linux partition. Given that you have three systems on the disk, you have almost certainly put Linux in a BIOS extended partition. If that's the case, you can't use the FreeBSD boot manager, because it doesn't handle extended partitions. > As for option 2, > if I want to try LILO, I'll need to toss my FreeBSD boot0 menu in the trash. You also have the option of GRUB, which is what I used in this situation. See http://www.lemis.com/grog/diary-apr2006.html#21 for further details. > Q2: If I cannot get LILO to boot FreeBSD, how do I boot get > FreeBSD to boot and then how do I restore my old FreeBSD boot0 menu? Save the very first sector of the disk somewhere: # dd if=/dev/ad0 of=bootsector count=1 To restore it, you'll need to somehow boot, of course (I'd recommend FreesBIE (http://www.freesbie.org/), and copy it back: # dd if=bootsector of=/dev/ad0 count=1 Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFDI/PIubykFB6QiMRAvkqAJ9+cP+66NjGP0c/Tli/HtAiCPaO5QCfRvFB erNiyJrTMcvLo+dtRdjKPMc= =/BXu -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--