Date: Thu, 29 Oct 1998 19:36:31 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com> To: Peter Wemm <peter@netplex.com.au> Cc: hackers@FreeBSD.ORG Subject: Re: The new bootloader - how do you set it up? Message-ID: <199810291136.TAA05338@ariadne.tensor.pgs.com> In-Reply-To: Your message of "Thu, 29 Oct 1998 14:38:40 %2B0800." <199810290638.OAA04511@spinner.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Eureka - it works! Now for the modules..... > Chuck Robey wrote: > > On Wed, 28 Oct 1998, Mike Smith wrote: > > > > > > Can someone give me a pointer? I'm still running an a.out kernel on a sys > tem > > > > that was installed from a 3.0 snapshot CD and has been kept upto date via > cvs > > > > since. > > > [Deletia] > I'll also mention that this is jumping in at the deep end. You can > shortcut and do this: echo "/boot/loader" > /boot.config > as an intermediate step and test that. This will cause the existing > bootblocks to load the 3rd stage boot loader by default instead of > /kernel - but you are not yet committed. You still have the old boot: > prompt and can load /kernel.aout explicitly. The command that Mike has > given puts the new boot *blocks* on the disk which are not strictly > necessary to use the /boot/loader boot loader. > > You can actually test the new bootloader out by explicitly typing in > /boot/loader at the existing boot: prompt. > > > Excuse me (I'm worried about doing something inordinately dumb), just to > > verify, if I do that line above, after a buildworld/installworld, and > > then build a new kernel with KERNFORMAT set to elf, and install it, I > > should be running ok, right? All my newly regenned lkms will keep on > > humming fine, same obj files that powered the aout kernel, right? > > If you build an ELF kernel, you throw out the lkm's. They are a.out only, > because it depends on the a.out 'ld' command. Instead you can use the src/ > sys/modules stuff with kldload/kldunload and/or loading them at boot time > via the /boot/loader command prompt or the /boot/loader.conf script. > > One of my machines has: > > peter@overcee[2:34pm]~src-240> cat /boot/boot.conf > load kernel > load nfs.ko > autoboot 10 > -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810291136.TAA05338>