Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 16:12:47 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Leif Neland" <leif@neland.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: [loader?] secret to setting root elsewhere?. 
Message-ID:  <200101260012.f0Q0Cl100673@mass.dis.org>
In-Reply-To: Your message of "Fri, 26 Jan 2001 00:19:22 %2B0100." <010a01c08725$41cf0580$0e00a8c0@neland.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > If you mean "it loads the kernel from the wrong place", that's one thing.
> > If you mean "it mounts / from the wrong filesystem", then you should be
> > aware that the loader reads /etc/fstab, and the kernel will mount
> > whatever you've put in there.
> >
> Just curious, but isn't there a checken-and-egg problem here?
> 
> If there is two complete systems, on each disk. If the root on disc 0
> contains an /etc/fstab showing root to be mounted from disk 0, and the root
> on disk 1 contains an /etc/fstab showing root to be mounted from disk 1?
> 
> How is it then possible to mount the root on disk 1?

By loading a kernel from disk 1, or subsequent to loading the kernel, 
change $rootdev to point somewhere else.

Please don't assume I'm *entirely* stupid. 8)

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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