From owner-freebsd-questions Thu Feb 20 21:57:54 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91CBA37B401 for ; Thu, 20 Feb 2003 21:57:52 -0800 (PST) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E7E2343FAF for ; Thu, 20 Feb 2003 21:57:50 -0800 (PST) (envelope-from bastill@adam.com.au) Received: (qmail 55985 invoked by uid 65534); 21 Feb 2003 05:57:47 -0000 Received: from 202.6.144.209 ( [202.6.144.209]) as user bastill@mail.adam.com.au by webmail.adam.com.au with HTTP; Fri, 21 Feb 2003 16:27:47 +1030 Message-ID: <1045807067.3e55bfdbd5f75@webmail.adam.com.au> Date: Fri, 21 Feb 2003 16:27:47 +1030 From: bastill@adam.com.au To: Peter Hollaubek Cc: freebsd-questions@FreeBSD.ORG Subject: Re: installkernel first? References: <1045718989.3e5467cdd1dee@webmail.adam.com.au> <20030220153710.GA19633@fif.office.inext.hu> In-Reply-To: <20030220153710.GA19633@fif.office.inext.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 202.6.144.209 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Peter Hollaubek : > As of /usr/src/UPDATING: > > To update from 4.0-RELEASE or later to the most current > 4.x-STABLE > ---------- > make buildworld > make buildkernel KERNCONF=YOUR_KERNEL_HERE > make installkernel KERNCONF=YOUR_KERNEL_HERE > reboot (in single user) [1] > make installworld > mergemaster [2] > reboot > > In single user mode only the root fs is mounted by default. So for making > installworld > you have to mount all the slices affected by such a process (usually all > other slices like > /usr, /var), and also, only the system itself boots up, nothing else is > started > preventing any problem caused by installing something new under a running old > task > in memory. If the new kernel fails you can return to the old one without > risking > incompatibility with the old kernel and the new world. Everything in this > order has a > reason :). Thanks to all, and particularly Peter for this complete explanation. I had taken makeworld.html from the handbook and used links to save as formatted text prior to printing out the contents. Not being familiar with single user mode, I didn't realise that only / was mounted in that mode (so why does the handbook put "fsck -p" as the FIRST command, before "mount -a" ? ). Not being familiar with sh (and not thinking too well either) I assumed that "make buildkernel # make installkernel" was two linked commands on the one line, wheras it should have been read as: # make buildkernel # make installkernel with the # simply indicating root prompt (Thanks, Sue). All-in-all there was actually nothing wrong (except my ignorance ) -- Brian ----------------------------------------------- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message