From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DvaLi-00007f-PJ for garchives@archives.gentoo.org; Thu, 21 Jul 2005 12:40:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6LCcmU8012272; Thu, 21 Jul 2005 12:38:48 GMT Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.140.230]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6LCTmRu026326 for ; Thu, 21 Jul 2005 12:29:48 GMT Received: from localhost.localdomain (ool-4355e59d.dyn.optonline.net [67.85.229.157]) (authenticated bits=0) by smtp.cs.nyu.edu (8.13.1/8.13.1) with ESMTP id j6LCU0An011328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 21 Jul 2005 08:30:05 -0400 (EDT) Received: by localhost.localdomain (Postfix, from userid 1502) id 8ECC653DB8; Thu, 21 Jul 2005 08:29:55 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] whither booting into single user mode References: <20050720075224.GA19203@lisa.tutaj> From: Allan Gottlieb Date: Thu, 21 Jul 2005 08:29:55 -0400 In-Reply-To: <20050720075224.GA19203@lisa.tutaj> (Mariusz =?iso-8859-4?q?P=EAkala's?= message of "Wed, 20 Jul 2005 09:52:24 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-4 X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6LCTmRu026326 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j6LCcmUP012272 X-Archives-Salt: 1b41fe42-4b41-469e-9dca-cdfeebee9056 X-Archives-Hash: 364a84957a7b450e117a81153700b52d At Wed, 20 Jul 2005 09:52:24 +0200 Mariusz P=EAkala wrote: > On 2005-07-19 14:28:20 -0400 (Tue, Jul), Allan Gottlieb wrote: >> Previously I could boot into single user mode with the following line >> in grub >>=20 >> kernel /boot/kernel-2.6.8-gentoo-r3 root=3D/dev/hdc7 single >>=20 >> After a recent emerge sync and update of world, the above is just a >> normal multiuser boot. >>=20 >> I can use >>=20 >> kernel /boot/kernel-2.6.8-gentoo-r3 root=3D/dev/hdc7 softlevel= =3Dsingle >>=20 >> but this is not the same as booting into single user mode. For >> example, there are virtual terminals, and hitting ^D does not then put >> you into multiuser mode. >>=20 >> I like single user mode for doing (incremental) backups each day >> before logging in. I realize I can write "init.d scripts" and will >> probably do so, but having an interactive shell "on the way up to" >> full multiuser mode seems useful. >>=20 >> Does anyone know the current method of achieving what >>=20 >> kernel /boot/kernel-2.6.8-gentoo-r3 root=3D/dev/hdc7 single >>=20 >> use to do a few weeks ago? >>=20 > > I am not sure and I cannot test it right now, but for last few years if > I was in need of single user mode a kernel parmaeter 's' was doing its = job. > > So, check whether: > kernel /boot/kernel-2.6.8-gentoo-r3 root=3D/dev/hdc7 s > works. > It should be the same as 'single' but maybe there is some magic in it ;= -) No magic found. > 'man init' has some info about runlevel 'emergency' or '-b' which promi= ses > to enter single user mode without running any scripts from /etc/inittab. > > kernel /boot/kernel-2.6.8-gentoo-r3 root=3D/dev/hdc7 emergency > > I believe that's what you're looking for. This does work, thanks. It is not the same as the old single (or s) as you mention (no scripts run). Thanks for the pointer and tip. allan --=20 gentoo-user@gentoo.org mailing list