From owner-freebsd-questions Sat Jan 26 10:48:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 466BB37B402 for ; Sat, 26 Jan 2002 10:48:12 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.6/8.11.6) with ESMTP id g0QImA515794 for ; Sat, 26 Jan 2002 19:48:10 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id TAA26572 for ; Sat, 26 Jan 2002 19:48:07 +0100 (CET) Received: (qmail 74370 invoked by uid 1001); 26 Jan 2002 18:48:06 -0000 Date: Sat, 26 Jan 2002 19:48:05 +0100 From: Erik Trulsson To: Doug Reynolds Cc: "freebsd-questions@FreeBSD.ORG" , "Patrick Fish (patrick@pwhsnet.com)" Subject: Re: 4.4-RELEASE to 4.4-STABLE Message-ID: <20020126184805.GA74355@student.uu.se> Mail-Followup-To: Doug Reynolds , "freebsd-questions@FreeBSD.ORG" , "Patrick Fish (patrick@pwhsnet.com)" References: <20020126074219.GA43298@student.uu.se> <20020126163139.678734844F@wastegate.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020126163139.678734844F@wastegate.net> User-Agent: Mutt/1.3.25i 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 On Sat, Jan 26, 2002 at 11:33:40AM -0500, Doug Reynolds wrote: > On Sat, 26 Jan 2002 08:42:20 +0100, Erik Trulsson wrote: > > >On Sat, Jan 26, 2002 at 02:29:51AM -0500, Doug Reynolds wrote: > >> > >> cvsup > >> > >> make buildworld > >> make kernel KERNCONF=yourkernelconf > >> reboot > >> boot single user mode by hitting the space and typing boot -s and > >> enter. hit enter when it asks you for the shell; then: > >> fsck -p > >> umount -a > >This umount seems quite unnecessary since if you just rebooted into > >single-user mode the only thing mounted will be / which is mounted > >read-only. OTOH one thing you probably do want here instead is > >swapon -a > >to make sure that any swapspace you have can be used. > >(I once forgot that on a memory-poor machine. The installworld died > > halfway through with an out-of-memory error.) > > I thought / was readonly until you fsck'd and remountd it. swapon -a > would be good, although my machine has 256megs Yes, / is readonly until you mount it readwrite. But there is no need to *un*mount anything there. The only thing which is mounted is / and you don't want to umount it. (If you do it (and I am not sure if you actually can do it) you won't be able to remount it since the mount command won't be accessible.) > > >> mount -a > >> > >> make installworld > >> mergemaster > >> reboot > >> > >> that'll up you to the latest. > >> > >> (btw, if anyone sees any safely problems with this order, lemme know, > >> seems totally redundant) > > > >Redundant? No. You can usually skip the 'reboot into single-user mode' > >part without any ill-effects but that is about it. > > however, if you just shutdown now, you wont be able to test the kernel > before you install the userland. and everyone claims it is hard to go > back to the old userland after you commit it. That is quite correct. That is why I said that you usually can skip the reboot. (usually != always) It is fairly rare that there are any problems with the new kernel. > > on my system, since it isn't production or anything, i'd probably just > do it all in multi-user mode just to see if i could break it. :) > --- > doug reynolds | the maverick | mav@wastegate.net > > PGP Public Key Fingerprint: 6E7B 9993 B503 6D45 E33A 2019 26E5 C1DB > > -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message