Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 00:45:37 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        Wilko Bulte <wkb@freebie.xs4all.nl>
Subject:   Re: dual booting -stable & -current
Message-ID:  <3B593321.26C7B02F@mindspring.com>
References:  <20010720183229.A9022@freebie.xs4all.nl> <20010720210609.A53370@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote:
> On Fri, Jul 20, 2001 at 06:32:29PM +0200, Wilko Bulte wrote:
> > I'm probably completely dim today so please bear with me :/
> > Thing is I want to setup a dual-boot box, running -stable & -current.
> > This box, a P2/266 has a 30G IDE disk.
> >
> > What I did is create
> >       ad0s1 -> 256MB -> holds root for -stable
> >       ad0s2 -> 256MB -> was supposed to hold root for -current
> >       ad0s3 -> roughly 14G holds tmp,var,usr,usr/obj for -stable
> >       ad0s4 -> ditto for -current
> 
> You are getting bit by the "root" aliasing code (IIRC this is the right
> way to describe the problem).  This makes it impossible to install
> multiple copies of FreeBSD on a single disk w/o hacking around the
> system. :-(
> 
> The way to do this, is 1st install -stable.
> Create all four slices in the disk slice editor.  In the label editor, do
> your normal thing, but don't bother doing anything with ad0s2.  Continue
> with install as usual.

You can do this pretty trivially by using the new boot code,
and setting the "root dev".

When booting, hit the spacebar during the countdown, type
"unload", and then type "set rootdev=xxx", where "xxx" is
your root device you want to boot from.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B593321.26C7B02F>