From owner-freebsd-questions@FreeBSD.ORG Mon May 26 13:21:03 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 18EB31065671 for ; Mon, 26 May 2008 13:21:03 +0000 (UTC) (envelope-from parish@magichamster.com) Received: from jedburgh.just4dns.com (jedburgh.just4dns.com [78.129.134.130]) by mx1.freebsd.org (Postfix) with ESMTP id 27CA08FC14 for ; Mon, 26 May 2008 13:21:02 +0000 (UTC) (envelope-from parish@magichamster.com) Received: from [86.153.243.228] (helo=movens.plus.com) by jedburgh.just4dns.com with esmtp (Exim 4.68) (envelope-from ) id 1K0cd8-0006Jt-Vb for freebsd-questions@freebsd.org; Mon, 26 May 2008 14:20:51 +0100 Received: from [10.10.1.4] (redshift [10.10.1.4]) by postbag.localdomain (Postfix) with ESMTP id 051521CC32 for ; Mon, 26 May 2008 14:20:58 +0100 (BST) Message-ID: <483AB939.7040607@magichamster.com> Date: Mon, 26 May 2008 14:20:57 +0100 From: Mark Ovens User-Agent: Thunderbird 2.0.0.14 (X11/20080524) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Fuzioned-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 1K0cd8-0006Jt-Vb X-Fuzioned-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-Fuzioned-MailScanner-SpamCheck: X-Fuzioned-MailScanner-From: parish@magichamster.com X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jedburgh.just4dns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - magichamster.com X-Source: X-Source-Args: X-Source-Dir: Subject: Question about installing boot manager in sysinstall 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: Mon, 26 May 2008 13:21:03 -0000 I've got two SCSI drives, da0 and da1. FreeBSD 6.3-STABLE is installed on da0 and da1 currently has Mandriva Linux on it. The boot manager being used is Grub. I now want to replace Linux with FreeBSD 7 but I'm expecting that I may end up with an unbootable system because da0 (6.3) will still have Grub but da1 (7) will have the FreeBSD boot manager. Since Grub uses files in /boot on the Linux partition it won't work as these will have been wiped out. So, I... Run sysinstall On the partition editor screen, select da1, delete the Linux slice, create a new FreeBSD slice, then 'Q' At the bootmanager screen, select the FreeBSD boot manager In the disklabel editor, create the partitions in the slice OK, that's the new disk configured and I'm now back at the Select Disk screen. Do I now select da0 (the existing 6.3) and in the Partition Editor just hit 'Q' without changing anything, then select the FreeBSD boot manager, and finally, in the disk label editor just hit 'Q' again without changing anything - especially the NewFS flag!! Will this install the FreeBSD boot manager on da0 but not touch the existing partition/slice set up - i.e. it won't trash my 6.3 system? I've read the Handbook but the example it gives for 2 disks assumes that you are creating FreeBSD partitions/slices on *both* disks, it doesn't have an example for just adding an existing disk to the boot manager. What makes me nervous about doing this is that the boot manager is installed in the MBR where the partition table lives. The other option I may be able to use is to run boot0cfg(8) on da0 (6.3 system) *before* installing 7 - or maybe run it on both disks and don't select a boot manager during the install. So, what's the best (i.e. safest) way to proceed? Oh, and before anyone says, yes, I *have* backed up all my data ;-) Regards, Mark