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 1QLd8q-0006xm-9M for garchives@archives.gentoo.org; Sun, 15 May 2011 15:22:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BB361C035; Sun, 15 May 2011 15:20:16 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 096EC1C035 for ; Sun, 15 May 2011 15:20:15 +0000 (UTC) Received: by wwj40 with SMTP id 40so3836617wwj.10 for ; Sun, 15 May 2011 08:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=6ROGsxdnWtNlwQpOYzOEfIfS4vqWXxiQG+qttJ/vCj4=; b=hDrmLy0cvlqCKbC+M8yUe2njtJ5m1kI1/cuqWZ7gURnRmBNccSaOiQqyO7qhsuyYi0 gR9kOldlOCvjgE14aLB8JtaiuN0vvMPcif4nKN1M8u2pabjhay/aueZSsGk0fUASKf21 92jK4KvcXWuXtBIICktwlp5FsDJ5eLPIjdbYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=M/Jdk38Yhiyq0w5BqTACuhW/8ub5u1pX3/1BgfdpE58Fd/HoLcvBD5r2bi0/RokTPb xgcV/mcOnS/AoqHOvrWKJNxVjKmmPRnSq+HsbOtdDdk81Gea5rwkmYiY1Kv66KxPzAqe W0loFTh7wU+NWQ66oxZDdnYnND4QJwsnx+N9g= Received: by 10.227.206.21 with SMTP id fs21mr3458645wbb.40.1305472815262; Sun, 15 May 2011 08:20:15 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id bd8sm2582421wbb.48.2011.05.15.08.20.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 May 2011 08:20:14 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grub menu and the new openrc Date: Sun, 15 May 2011 16:20:37 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.37-gentoo-r4; KDE/4.6.2; x86_64; ; ) References: <4DCFAC1F.1030101@gmail.com> In-Reply-To: <4DCFAC1F.1030101@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: multipart/signed; boundary="nextPart1783829.vTCrQMihCy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105151620.49268.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 68a3f98429edd011745665dd1b86c11c --nextPart1783829.vTCrQMihCy Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sunday 15 May 2011 11:34:07 Dale wrote: > Hi, >=20 > I updated my kernel and had to reboot. I usually boot to single user > mode and rebuild my video drivers. Since I have this in my grub list, I > just select single user and it boots to single user mode. Well, not any > more. This is my current settings: >=20 > title Gentoo > kernel (hd0,0)/bzImage-2.6.38-r5-1 root=3D/dev/sda3 >=20 > title Gentoo boot level > kernel (hd0,0)/bzImage-2.6.38-r5-1 root=3D/dev/sda3 softlevel=3Dboot >=20 > title Gentoo single user > kernel (hd0,0)/bzImage-2.6.38-r5-1 root=3D/dev/sda3 softlevel=3Dsingle >=20 > root@fireball / # >=20 > I went back and looked at the guide but no mention of this. I don't see > anything in the man pages either. What is the correct way to define a > runlevel to boot to in grub with the new openrc? >=20 > Thanks. >=20 > Dale >=20 > :-) :-) According to my /etc/inittab: # new-style single-user su0:S:wait:/sbin/rc single su1:S:wait:/sbin/sulogin so softlevel=3Dsingle should get you there. However, you say it doesn't ... # rc-update show single # Hmm ... nothing there. Sure enough its empty: $ ls -la /etc/runlevels/single/ total 8 drwxr-xr-x 2 root root 4096 Jan 21 2010 . drwxr-xr-x 8 root root 4096 May 2 10:54 .. So, what you would need to do I think is add the services you want starting= at=20 single runlevel there and you should be good to go. =2D-=20 Regards, Mick --nextPart1783829.vTCrQMihCy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk3P71EACgkQVTDTR3kpaLbK7wCdGJu+g//okqKKbhK62qhqeRcD ZQYAoLGwWu5L2uhnWz3fNCs/XSWzps43 =j0Np -----END PGP SIGNATURE----- --nextPart1783829.vTCrQMihCy--