From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Md97X-0001kJ-Gx for garchives@archives.gentoo.org; Mon, 17 Aug 2009 20:47:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AA60E0454; Mon, 17 Aug 2009 20:47:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E8610E0454 for ; Mon, 17 Aug 2009 20:47:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A19E364274 for ; Mon, 17 Aug 2009 20:47:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.974 X-Spam-Level: X-Spam-Status: No, score=-2.974 required=5.5 tests=[AWL=-0.375, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xemGb+fqV9l3 for ; Mon, 17 Aug 2009 20:47:48 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 916A56423D for ; Mon, 17 Aug 2009 20:47:44 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Md97F-00037R-Ur for gentoo-user@gentoo.org; Mon, 17 Aug 2009 22:47:41 +0200 Received: from pool-173-71-218-206.clppva.fios.verizon.net ([173.71.218.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2009 22:47:41 +0200 Received: from en.ABCD by pool-173-71-218-206.clppva.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2009 22:47:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: ABCD Subject: [gentoo-user] Re: I lost the ability to boot into single user Date: Mon, 17 Aug 2009 16:47:15 -0400 Message-ID: References: <4A89BF3B.9060807@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-71-218-206.clppva.fios.verizon.net User-Agent: Thunderbird 2.0.0.22 (X11/20090702) In-Reply-To: <4A89BF3B.9060807@gmail.com> X-Enigmail-Version: 0.95.7 Sender: news X-Archives-Salt: f5d08c0f-bee7-4a70-b932-60868b79292e X-Archives-Hash: 10939f939513143c1fd447ff9f84683a -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dale wrote: > Nikos Chantziaras wrote: >> I used to specify this: >> >> softlevel=boot >> >> in the Grub screen to boot to single user. However, this doesn't work >> anymore; it boots right into the "default" runlevel. I think this >> happened after I upgraded to GCC 4.4.1 (and rebuilt system and world >> with it, and also the kernel.) >> >> What can the problem be? What is needed for "softlevel=" selection to >> work? >> >> >> > > Try softlevel=single and see if that works. I go to single user using > the command rc single so it should exist and should work from grub too. > > Maybe grub has changed its options? > > Dale > > :-) :-) > > Openrc no longer supports the softlevel= option on the kernel command line (this hit me as well, as I use a number of different runlevels). Instead, pass "S" to skip just about everything, and start a root shell (via sulogin), or "1" to do the equivalent of "/sbin/rc single" (that is, drop the softlevel=boot completely, and add the single character "S" or "1" after a space). An example from my grub.conf: title Gentoo, current kernel (single user) kernel (hd0,0)/vmlinuz root=/dev/sda5 1 title Gentoo, current kernel (root shell) kernel (hd0,0)/vmlinuz root=/dev/sda5 S I also have my /etc/inittab set up so that init's runlevels 2-5 go into rc's various runlevels (on my machine, 2=default, 3=gui, 4=network, 5=gui-network). - -- ABCD -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqJwdMACgkQOypDUo0oQOrXJACfbCNpIYYmy4LJVeTI8Mz9W7RB ETgAoLkoM9knBUV48E6R853MZhVR1SiR =6rbI -----END PGP SIGNATURE-----