From owner-freebsd-current Thu Jan 25 15: 2:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 424A937B699; Thu, 25 Jan 2001 15:01:50 -0800 (PST) Received: from timbuktu-01.budapest.interware.hu ([195.70.51.193] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14LvOZ-0007zv-00; Fri, 26 Jan 2001 00:01:36 +0100 Message-ID: <3A70B045.C4226CE1@elischer.org> Date: Thu, 25 Jan 2001 15:01:25 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Mike Smith Cc: current@freebsd.org Subject: Re: [loader?] secret to setting root elsewhere?. References: <200101252048.f0PKmZ801414@mass.dis.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > Ok so I have tried the settings in > > teh loader conf.. > > I have: > > > > #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!!!! but it will let me do what I want. > > root_disk_unit is also deprecated. > > -- > ... 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 -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message