From owner-freebsd-questions@FreeBSD.ORG Wed May 30 02:09:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD16C16A400 for ; Wed, 30 May 2007 02:09:49 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 7B33413C45B for ; Wed, 30 May 2007 02:09:39 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l4U29YfB038426; Tue, 29 May 2007 21:09:34 -0500 (CDT) (envelope-from dan) Date: Tue, 29 May 2007 21:09:33 -0500 From: Dan Nelson To: Richard Knebel Message-ID: <20070530020933.GA22090@dan.emsphone.com> References: <45ABA6D0-A4FF-4C29-8709-7A1FD41D8DA5@suddenlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45ABA6D0-A4FF-4C29-8709-7A1FD41D8DA5@suddenlink.net> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-questions@freebsd.org Subject: Re: grub 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: Wed, 30 May 2007 02:09:49 -0000 In the last episode (May 29), Richard Knebel said: > I had freebsd installed on my 1st hardrive withour difficuties. I > then installed Debian Linux on my 2nd hard drive and the grub > bootloader overwrote my mbr and now I can only boot debian. How can > I get my freebsd back ? Assuming grub is functional, you might want to just keep it and add another entry like this: title FreeBSD root (hd1,1,a) kernel /boot/loader savedefault replacing (hd1,1,a) with whatever "find /boot/loader" at the grub CLI returns. If your grub doesn't have UFS support, then the find and kernel commands won't work, and you'll have to chainload to the FreeBSD slice's bootblock instead of using the "kernel" command. If you really want booteasy back, boot into FreeBSD and run "boot0cfg -B /dev/ad0" (or whatever your 1st hardrive's device is) -- Dan Nelson dnelson@allantgroup.com