Date: Thu, 25 Jan 2001 12:48:35 -0800 From: Mike Smith <msmith@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: current@freebsd.org Subject: Re: [loader?] secret to setting root elsewhere?. Message-ID: <200101252048.f0PKmZ801414@mass.dis.org> In-Reply-To: Your message of "Thu, 25 Jan 2001 12:08:34 PST." <3A7087C2.36A126AB@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. 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 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?200101252048.f0PKmZ801414>