Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 1999 16:31:30 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        John Polstra <jdp@polstra.com>
Cc:        alpha@freebsd.org
Subject:   Re: Alpha multiboot: is it possible? 
Message-ID:  <199912130031.QAA04415@mass.cdrom.com>
In-Reply-To: Your message of "Sun, 12 Dec 1999 14:00:42 PST." <XFMail.991212140042.jdp@polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912130031.QAA04415>