From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Knk1e-0005Q4-9q for mharc-grub-devel@gnu.org; Wed, 08 Oct 2008 21:09:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Knk1c-0005Po-DN for grub-devel@gnu.org; Wed, 08 Oct 2008 21:09:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Knk1b-0005Ot-04 for grub-devel@gnu.org; Wed, 08 Oct 2008 21:09:07 -0400 Received: from [199.232.76.173] (port=35727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knk1a-0005Oa-Ny for grub-devel@gnu.org; Wed, 08 Oct 2008 21:09:06 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:58437 helo=blingymail-a1.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Knk1b-0003TS-2v for grub-devel@gnu.org; Wed, 08 Oct 2008 21:09:07 -0400 Received: from jidanni2.jidanni.org (122-127-33-88.dynamic.hinet.net [122.127.33.88]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a1.g.dreamhost.com (Postfix) with ESMTP id B57A45CD89; Wed, 8 Oct 2008 18:09:03 -0700 (PDT) Cc: grub-devel@gnu.org References: <4728c15d0810081751i57cfe910x9aa321f25f89495a@mail.gmail.com> From: jidanni@jidanni.org Date: Thu, 09 Oct 2008 09:09:00 +0800 Message-ID: <87bpxu8thv.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: Thu, 09 Oct 2008 01:09:09 -0000 AW> If you have a LiveCD or recovery CD which many distros of linux have, then AW> boot under that. Then, when you are in the root shell, you can mount your AW> systems partition, and then you can use the command chroot AW> . That will make the live cd use AW> your systems file system. Then simply passwd as root, and make your new root AW> password. Yes but as happened to me before, when one digs out one's old live CDs, they often cannot deal with the newer filesystems (man mkfs.ext3 -I), so I was wondering if there was a grub way rather than burning new live CDs every few years.