From owner-freebsd-alpha Sun Dec 12 16:29: 2 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from mass.cdrom.com (castles552.castles.com [208.214.165.116]) by hub.freebsd.org (Postfix) with ESMTP id C854714EA1 for ; Sun, 12 Dec 1999 16:28:59 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id QAA04415; Sun, 12 Dec 1999 16:31:31 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912130031.QAA04415@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: John Polstra Cc: alpha@freebsd.org Subject: Re: Alpha multiboot: is it possible? In-reply-to: Your message of "Sun, 12 Dec 1999 14:00:42 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Dec 1999 16:31:30 -0800 From: Mike Smith Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have an Alpha with one disk and two root filesystems. The root > filesystems are on da0a and da0f. I want to be able to boot either > one, but I can't seem to find the magic recipe to boot from da0f. > >From man loader, I would expect this to work at the loader prompt: > > unload > set currdev=disk0f > set rootdev=disk0f > load /kernel > boot > > That loads the correct kernel (the one on da0f) but the kernel still > thinks its root filesystem is da0a. I tried adding > > set boot_askname > > and (next try) > > set boot_askname=true > > in an attempt to get the kernel to let me tell it which root > filesystem to use. That had no effect. I also tried adding "-a" to > the boot command, again with no effect. > > Is this just broken, or am I doing something wrong? I just got a report that $rootdev doesn't parse correctly without a trailing ':', and indeed the original design was for the trailing colon to be mandatory. Under -current you shouldn't have to set $rootdev at all, as the loader should pick up the contents of /etc/fstab. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message