From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 22:46:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBC461065672 for ; Fri, 13 Jun 2008 22:46:18 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id CE5AB8FC15 for ; Fri, 13 Jun 2008 22:46:18 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 2A2531CCC2; Fri, 13 Jun 2008 15:46:18 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id 6VeDGtyLv39o; Fri, 13 Jun 2008 15:46:15 -0700 (PDT) Date: Fri, 13 Jun 2008 18:46:13 -0400 From: Sahil Tandon To: Lionel Message-ID: <20080613224612.GA2267@shepherd> Mail-Followup-To: Lionel , freebsd-questions@freebsd.org References: <86abhp6l25.fsf@simias.hd.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86abhp6l25.fsf@simias.hd.free.fr> Cc: freebsd-questions@freebsd.org Subject: Re: Restoring freeBSD boot loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2008 22:46:18 -0000 Lionel wrote: > I've had to install Windows XP in dual boot on a freeBSD box, and of > course it erased the bootloader to replace it with its own. Now I'd like > to restore the freeBSD bootloader. > > I've tried booting with the install CD and I use the fdisk utility to > mark the fbsd partition bootable and then said I wanted to install the > freeBSD bootloader, but I didn't know how to make it actually write the > changes to the disk. > > So... is it possible to restore the bootloader this way? Maybe I could > install lilo from a live CD but I don't want to install grub from > windows because I'll probably remove it soon, but I think lilo just > places itself in the boot segment so it should be fine. 3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html -- Sahil Tandon