From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KoUUg-00005n-IQ for mharc-grub-devel@gnu.org; Fri, 10 Oct 2008 22:46:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoUUe-0008V0-CR for grub-devel@gnu.org; Fri, 10 Oct 2008 22:46:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoUUc-0008Rs-45 for grub-devel@gnu.org; Fri, 10 Oct 2008 22:46:11 -0400 Received: from [199.232.76.173] (port=50817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoUUc-0008Rg-0t for grub-devel@gnu.org; Fri, 10 Oct 2008 22:46:10 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:54729 helo=blingymail-a1.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoUUb-0006Uv-Gt for grub-devel@gnu.org; Fri, 10 Oct 2008 22:46:09 -0400 Received: from jidanni2.jidanni.org (122-127-43-81.dynamic.hinet.net [122.127.43.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a1.g.dreamhost.com (Postfix) with ESMTP id 1612B90483 for ; Fri, 10 Oct 2008 19:46:07 -0700 (PDT) To: grub-devel@gnu.org References: <200810092019.59531.bitbucket@arcor.de> From: jidanni@jidanni.org Date: Sat, 11 Oct 2008 10:46:04 +0800 Message-ID: <87bpxru9w3.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: forgot passwd, cannot login, [rd]init=/bin/sh don't work X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 02:46:13 -0000 Ah, no wonder. These need rewording: Use the %C and %C keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting or 'c' for a command-line. Minimum Emacs-like screen editing is supported. TAB lists available completions. Press C-x ('x' with Ctrl) to boot, C-c ('c' with Ctrl) for a command-line or ESC to return menu. Here, I have reworded the latter, preserving terseness, and fixing grammar: Minimum Emacs-like editing is supported. TAB lists available completions. Press C-x ('x' with Ctrl) to boot, C-c for a command-line or ESC to throw away changes and return to menu. Kindly integrate it into your next version. Thank you. (There is also a grub screen with its several lines of help text enclosed by "[ ]". Might as well chuck them too.) By the way, I indeed now could login now without remembering the password. Use linux /boot/vmlinuz-... root=... rw init=/bin/sh initrd /boot/initrd.img-... The key is the "rw init=/bin/sh". (And after editing /etc/passwd to change root's :x: to ::, be sure not to just exit the shell, but hit CTRL-ALT-DEL, else one has to push the reset button.)