From owner-freebsd-questions@FreeBSD.ORG Sun Nov 4 08:55:25 2012 Return-Path: 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 D71E16BC for ; Sun, 4 Nov 2012 08:55:25 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id 60DFA8FC08 for ; Sun, 4 Nov 2012 08:55:24 +0000 (UTC) Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.13.6/8.13.6) with ESMTP id qA48jXxB015790; Sun, 4 Nov 2012 09:45:33 +0100 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id qA48jXPA010210; Sun, 4 Nov 2012 09:45:33 +0100 Received: (from localhost) by curry.mchp.siemens.de (8.14.5/8.14.5) id qA48jWAv016968; Date: Sun, 4 Nov 2012 09:45:32 +0100 From: Andre Albsmeier To: Mehmet Erol Sanliturk Subject: Re: Booting 2nd(!) FreeBSD installation sitting on same disk Message-ID: <20121104084532.GA81044@bali> References: <20121103165421.GA76199@bali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 08:55:25 -0000 On Sat, 03-Nov-2012 at 18:46:04 +0100, Mehmet Erol Sanliturk wrote: > > > On Sat, Nov 3, 2012 at 9:54 AM, Andre Albsmeier > wrote: > For various reasons I have to use this disk layout: > > One harddisk with MBR and 3 slices on a i386 box: > > Slice 1: Windows XP :-( > Slice 2: FreeBSD 7.4-STABLE V1 > Slice 3: FreeBSD 7.4-STABLE V2 > > The MBR is configured as: > > options=packet,noupdate,nosetdrv > default_selection=F2 (Slice 2) > > When booting, I can choose between: > > F1 Win > F2 FreeBSD > F3 FreeBSD > > However, when pressing F3, the system of slice 2(!) is > loaded. This is due to the fact that boot1 always loads > the first active FreeBSD slice ;-(. > > I have two possibilities to actually boot slice 3: > > 1. Playing with currdev when loader(8) is loaded (or > using loader.conf of slice 2). > > 2. Using boot0cfg to allow updating the MBR. > > 1. is not really fexible and 2. means that the system > remembers which slice was booted last (something I do > not want). > > Is there no chance to actually honour the fact that F3 was > pressed and boot from slice 3 without updating the MBR before? > > Thanks, > > -Andre > > > There is the following port for managing boot selections : > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/grub2.tbz > > http://www.freshports.org/sysutils/grub2/ Well, I actually wanted to stick to FreeBSD's boot stuff... -Andre