From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 22:41:32 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 51CC31065672 for ; Fri, 13 Jun 2008 22:41:32 +0000 (UTC) (envelope-from simias.n@gmail.com) Received: from moulinette.org (moulinette.org [87.98.217.87]) by mx1.freebsd.org (Postfix) with ESMTP id 252D98FC21 for ; Fri, 13 Jun 2008 22:41:31 +0000 (UTC) (envelope-from simias.n@gmail.com) Received: from simias.hd.free.fr (vit94-5-82-243-51-8.fbx.proxad.net [82.243.51.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by moulinette.org (Postfix) with ESMTP id 4E38A3FF for ; Sat, 14 Jun 2008 00:08:39 +0200 (CEST) From: Lionel To: freebsd-questions@freebsd.org Date: Sat, 14 Jun 2008 00:12:50 +0200 Message-ID: <86abhp6l25.fsf@simias.hd.free.fr> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Restoring freeBSD boot loader 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: Fri, 13 Jun 2008 22:41:32 -0000 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. Any help would be most welcome... -- Lionel