From owner-freebsd-current Thu Jan 25 15:56: 4 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 2F28237B712 for ; Thu, 25 Jan 2001 15:55:39 -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 f0Q0BO100646; Thu, 25 Jan 2001 16:11:24 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200101260011.f0Q0BO100646@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Julian Elischer Cc: current@freebsd.org Subject: Re: [loader?] secret to setting root elsewhere?. In-reply-to: Your message of "Thu, 25 Jan 2001 15:01:25 PST." <3A70B045.C4226CE1@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Jan 2001 16:11:24 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > #autoboot_delay="10" # Delay in seconds before autobooting > > > #console="vidconsole" # Set the current console > > > currdev="disk1s1a" # Set the current device > > > module_path="/boot/kernel;/boot/modules" # Set the module search path > > > #prompt="\\${interpret}" # Set the command prompt > > > root_disk_unit="1" # Force the root disk unit number > > > rootdev="disk1s1a" # Set the root filesystem > > > > > > > > > but it still loads disk0 as root.. > > > > > > what am I doing wrong? > > > > You don't "load a disk as root". > > > > 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. > > YUUUKKKKKKKK!!!!!!!! > > I'm specifying a different place because the place where fstab is is SCREWED!!!! Ah, shut yer trap. It reads /etc/fstab from wherever the kernel is loaded from, and if /etc/fstab is hosed/can't be parsed, it'll fall back to trying to guess using the old algorithms. The new behaviour is a functional superset of the old. > but it will let me do what I want. Of course, you don't actually bother to mention what your problem is, so I still can't actually *help* you. -- ... 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