From owner-freebsd-current@FreeBSD.ORG Sat Feb 9 17:08:13 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5895816A417 for ; Sat, 9 Feb 2008 17:08:13 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (acme.spoerlein.net [217.172.44.86]) by mx1.freebsd.org (Postfix) with ESMTP id F076A13C4EB for ; Sat, 9 Feb 2008 17:08:11 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180151104.adsl.alicedsl.de [85.180.151.104]) by acme.spoerlein.net (8.14.1/8.14.1) with ESMTP id m19H7dZZ019896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 9 Feb 2008 18:07:40 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m19H7bdD006726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Feb 2008 18:07:38 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m19H7aXi006725; Sat, 9 Feb 2008 18:07:36 +0100 (CET) (envelope-from uspoerlein@gmail.com) X-Authentication-Warning: roadrunner.spoerlein.net: uqs set sender to uspoerlein@gmail.com using -f Date: Sat, 9 Feb 2008 18:07:36 +0100 From: Ulrich Spoerlein To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= , David Wolfskill , current@freebsd.org Message-ID: <20080209170736.GE1584@roadrunner.spoerlein.net> Mail-Followup-To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= , David Wolfskill , current@freebsd.org References: <86wspecq42.fsf@ds4.des.no> <7ad7ddd90802090517q60923862ncef89ee652d99a6e@mail.gmail.com> <20080209141041.GS53191@bunrab.catwhisker.org> <20080208185405.GA1479@roadrunner.spoerlein.net> <47ACAE62.2060706@FreeBSD.org> <47ACB7BB.7090305@samsco.org> <20080209102415.GC1584@roadrunner.spoerlein.net> <86wspecq42.fsf@ds4.des.no> <7ad7ddd90802090516v602796a4t2e2a8b4b24a3a3d4@mail.gmail.com> <86sl02clpm.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080209141041.GS53191@bunrab.catwhisker.org> <86sl02clpm.fsf@ds4.des.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: boot0sio working for anyone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 17:08:13 -0000 On Sat, 09.02.2008 at 14:18:13 +0100, Dag-Erling Smørgrav wrote: > "Ulrich Spoerlein" writes: > > Can you boot from different disks and slices using this approach? > > No, but I don't need to :) > > > Or can the loader be tricked into chain-booting another loader on > > another disk and slice? > > You know you can use Grub to boot FreeBSD, right? Including multiple > installations on multiple disks / slices. Thank you Dag-Erling! Somehow I did not consider GRUB. I'm now using the following menu.lst which gives me *exactly* what I wanted. igor# cat /boot/grub/menu.lst serial --unit=0 --speed=9600 terminal --timeout=10 serial console root (hd0,0) setup (hd0) title FreeBSD 8 root (hd0,1,a) kernel /boot/loader -Dh title FreeBSD 7.0 root (hd1,2,a) kernel /boot/loader -Dh title FreeBSD 6.0 root (hd1,1,a) kernel /boot/loader -Dh title FreeBSD 5.5 root (hd1,3,a) kernel /boot/loader -Dh title FreeBSD 4.11 root (hd1,0,a) kernel /boot/loader -Dh On Sat, 09.02.2008 at 06:10:41 -0800, David Wolfskill wrote: > On Sat, Feb 09, 2008 at 02:17:06PM +0100, Ulrich Spoerlein wrote: > I'm a bit hesitant to chime in, as my approach appears to differ both in > means and ends from yours, but perhaps the ends aren't all that > different after all, and it might help, so: > > For my "build machine," which I run headless, I also use the regular > boot0. However, my /boot/loader.conf is empty. > > Rather, I created /boot.config; it contains > > -DP > > and I have its sio0 connected to one of the serial ports of the > nearest other machine (a SPARCstation 5/170) via a "null MODEM" cable. > > I also configured the BIOS to use "serial redirection" (so I have access > to poke at BIOS stuff when I'm physically distant form the machine) -- > though that doesn't matter for boot disk/slice selection. > > I'm using the FreeBSD boot loader; hitting F[1-5] when the FreeBSD boot > loader prompts does the usual disk & slice selection, though I only use > that ability when I've forgotten to set the next boot slice via > boot0cfg(8). Are you doing this via keyboard or serial line? Is it possible to get that F1-F5 output via serial *without* BIOS support?? I'm just curious, although I found a pretty decent solution, thanks to Dag-Erling. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.