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 1Md9NV-0005In-0C for garchives@archives.gentoo.org; Mon, 17 Aug 2009 21:04:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65BA3E0410; Mon, 17 Aug 2009 21:04:27 +0000 (UTC) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by pigeon.gentoo.org (Postfix) with ESMTP id 50D19E0410 for ; Mon, 17 Aug 2009 21:04:27 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 0DF4E421FF for ; Mon, 17 Aug 2009 17:04:27 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 17 Aug 2009 17:04:27 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=messagingengine.com; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:content-transfer-encoding; s=smtpout; bh=7BThqzIPufajumZ6MdlcnXpjxQM=; b=jGilJaEBtJEXMN3VhkOAiqggFHgqtpBaH5fW3YO1I6ZYItiNEdlQ97n5uH/GUSFmwZElNX+6VwvwLT5+F3olZqGCYYglfYsgfgaD9Wxxvo65jiTh1KsW7C3IdCyDwYhtSnCOs+kdc+OJnFkIl55VNcQzZDV5EnmOKw26h3O8Jrs= X-Sasl-enc: 5Q5uGqgf9RGeTt6Z0n9qWy81GEOmvPl2NpU8HbapiJWb 1250543066 Received: from [192.168.31.12] (cpe-024-211-156-075.nc.res.rr.com [24.211.156.75]) by www.fastmail.fm (Postfix) with ESMTPSA id B9D7EFF38 for ; Mon, 17 Aug 2009 17:04:26 -0400 (EDT) Subject: Re: [gentoo-user] Re: I lost the ability to boot into single user From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: References: <4A89BF3B.9060807@gmail.com> Content-Type: text/plain Date: Mon, 17 Aug 2009 17:03:31 -0400 Message-Id: <1250543011.22959.41.camel@centar.nbk> 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 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: a3b1e5ec-7d55-4f89-9ffe-ba323f55a46e X-Archives-Hash: f8005e62b940dc013af994f3645bbdaf > 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). This is possibly an (unreported) bug. Just for S&G I booted with "softlevel=BOOT" on an Openrc and it reports that there is no runlevel BOOT and then basically puts me in single level mode :|, but "softlevel=boot" seems to be ignored. I think it "should" support it... why else would rc-update work with different runlevels it you are not able to use them? Also the man pages for rc-update and rc seem to reflect this. FWIW I usually forgo the runlevels and just use init=/bin/bash because it doesn't prompt for the root password and pretty much the only time i need to boot into single user is when I've forgotten the root password :P -a