From owner-freebsd-questions@FreeBSD.ORG Sat Nov 3 17:46:11 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 30845B66 for ; Sat, 3 Nov 2012 17:46:11 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D5D498FC12 for ; Sat, 3 Nov 2012 17:46:10 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so6132628vba.13 for ; Sat, 03 Nov 2012 10:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=utgdV3R3ZTbuLCq4e0UV69jtEZEodKs6beF8BiYD0sQ=; b=taeE1WPmRMsrl4ltoy5NKeU6wYmD+fnh7F8lkwuZJGv+F+HIW/kIii7wZdaDaWHoRN M3HdK4d22YyVEfOcuYwNYIy0TVN+Ty4MyYYz9APVe10jp+O5Gpx89NuBn9oaMAVng3Kz cZVbC5lsSHw03yKGwJRai/bPyaeDn4Suz7HXP+FkCwuZe3bswOqmkmAUXeK/oU0wWA8e rhfexasSwldVwSJfIZaEBczN2VUNujaD4EhtI0242EKuELZ6yW6ZVwpcBsxLW9KOU1HS 8/7tlxqUBmCopDS6ogEBJgqgPUMmVifjQMqI36AnFG6TelyXtyVMwy1pHNzNx4XPEHfU G3/A== MIME-Version: 1.0 Received: by 10.221.0.10 with SMTP id nk10mr4924977vcb.39.1351964764570; Sat, 03 Nov 2012 10:46:04 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 10:46:04 -0700 (PDT) In-Reply-To: <20121103165421.GA76199@bali> References: <20121103165421.GA76199@bali> Date: Sat, 3 Nov 2012 10:46:04 -0700 Message-ID: Subject: Re: Booting 2nd(!) FreeBSD installation sitting on same disk From: Mehmet Erol Sanliturk To: Andre Albsmeier Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sat, 03 Nov 2012 17:46:11 -0000 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/ I do NOT know whether it may be useful for you or not . Thank you very much . Mehmet Erol Sanliturk