From owner-freebsd-questions@FreeBSD.ORG Sun Jan 1 10:50:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53CF4106564A for ; Sun, 1 Jan 2012 10:50:12 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0702E8FC08 for ; Sun, 1 Jan 2012 10:50:11 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-238-95.pitbpa.east.verizon.net [96.236.238.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 5A6F47B23E; Sun, 1 Jan 2012 05:50:10 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 9C5535CE7; Sun, 1 Jan 2012 05:50:09 -0500 (EST) Date: Sun, 1 Jan 2012 05:49:58 -0500 From: Janos Dohanics To: Polytropon Message-Id: <20120101054958.0d4218f3.web@3dresearch.com> In-Reply-To: <20111231093941.23c62fb9.freebsd@edvax.de> References: <20111231005704.7a31cfb1.web@3dresearch.com> <20111231093941.23c62fb9.freebsd@edvax.de> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Single user mode exits unexpectedly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 10:50:12 -0000 On Sat, 31 Dec 2011 09:39:41 +0100 Polytropon wrote: > On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote: > > I have just rebuilt world and kernel according to the Handbook, > > installed the new kernel, rebooted, logged in, issued "sudo shutdown > > now" - the machine entered single user mode, then immediately exited > > without any intervention by me and continued to boot into multiuser > > mode. > > That's not the procedure required. From the comment section > of /usr/src/Makefile: > > 1. `cd /usr/src' (or to the directory containing your source > tree). > 2. `make buildworld' > 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). > 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). [steps 3. & 4. can be combined by using the "kernel" target] > 5. `reboot' (in single user mode: boot -s from the loader > prompt). > 6. `mergemaster -p' > 7. `make installworld' > 8. `make delete-old' > 9. `mergemaster' (you may wish to use -i, along with -U > or -F). > 10. `reboot' > 11. `make delete-old-libs' (in case no 3rd party program uses them > anymore) > > Step 5: reboot _into_ single user mode. After installing > the kernel and shutting down the system, let it come up > to the kernel loader. You can enter that stage by pressing > the space bar several times. If I remember correctly, > you'll then see prompt Well, rebuilt World, kernel, installed kernel, rebooted into single user mode, installed world, but still have the same problem. When going from multi user mode to single user mode: the computer immediately exits single user mode and boots into multi user mode. When starting the system and booting into single user mode, this does not happen. I'd appreciate your suggestions... -- Janos Dohanics