From owner-freebsd-current Thu Jan 25 15:57:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 0D30437B402 for ; Thu, 25 Jan 2001 15:57:05 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.1/8.11.1) with ESMTP id f0Q0Cl100673; Thu, 25 Jan 2001 16:12:48 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200101260012.f0Q0Cl100673@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Leif Neland" Cc: current@FreeBSD.ORG Subject: Re: [loader?] secret to setting root elsewhere?. In-reply-to: Your message of "Fri, 26 Jan 2001 00:19:22 +0100." <010a01c08725$41cf0580$0e00a8c0@neland.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Jan 2001 16:12:47 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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