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 1MdBBm-0000nB-Eb for garchives@archives.gentoo.org; Mon, 17 Aug 2009 23:00:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEE82E03F0; Mon, 17 Aug 2009 23:00:28 +0000 (UTC) Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.210.177]) by pigeon.gentoo.org (Postfix) with ESMTP id BF230E03F0 for ; Mon, 17 Aug 2009 23:00:28 +0000 (UTC) Received: by yxe7 with SMTP id 7so3986854yxe.32 for ; Mon, 17 Aug 2009 16:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=FNRsctwnFca7f3pKJDkNaON9rzpNXrI3xvggKeiPjxs=; b=j+E1K5vePx7zDZ1B2uFeqFKFkfPVHq0lpSBno8XUVHWx1wq1rFZOD83lJ/vMrpqvUO EF+aChHTZXSQ4QUaLtdV/81QCToiMxbXrvfIArnVM/Pub/RXGQ3niDJSNLYM2/iey+qN lEgcreOqrJ3RdE+8Y56gvEqbsQO/GXfwyns1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=DHhbSmMYQ6SeLYEBO7s+5k/zr/vSXjekmgGFf8WxGwAB5BnYOW+L8+NStUpdpAPtR6 Y7O5qHf866KgREdjSwY1eN0sN3CoEfLi3XmbKntB4LXPz8GunmtIOnJXnXJFoTJBI3pe QaRAgQDr0bEKLroGp1VkB5Jn4dp7rRs+5pXnw= Received: by 10.91.74.3 with SMTP id b3mr3193390agl.36.1250550027640; Mon, 17 Aug 2009 16:00:27 -0700 (PDT) Received: from ?64.89.169.173? (r169h173.dixie-net.com [64.89.169.173]) by mx.google.com with ESMTPS id 6sm3867879agb.68.2009.08.17.16.00.24 (version=SSLv3 cipher=RC4-MD5); Mon, 17 Aug 2009 16:00:26 -0700 (PDT) Message-ID: <4A89E106.3080807@gmail.com> Date: Mon, 17 Aug 2009 18:00:22 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22) Gecko/20090628 SeaMonkey/1.1.17 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: I lost the ability to boot into single user References: <4A89BF3B.9060807@gmail.com> <1250543011.22959.41.camel@centar.nbk> In-Reply-To: <1250543011.22959.41.camel@centar.nbk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1d7eb763-95a2-41dc-af27-af725d657ff9 X-Archives-Hash: 539240ef31eb0aa218418d06253656ea Albert Hopkins wrote: >> 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 > > > I agree, this should be reported so it can be fixed. While init-/bin/bash would work, it shouldn't be the only option. Who would want to put that option in grub and make it easy for someone to hack in? I did try softlevel=single a bit ago and it booted all the way but with no GUI. It went waaaay past single tho. rc-status reported it was in single user mode but it wasn't. Console #2 and up was working but X didn't start. Pretty darn weird. :/ Who's going to open the can of Raid? Dale :-) :-)