Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
Cc: grub-devel@gnu.org
Subject: Re: forgot passwd, cannot login, [rd]init=/bin/sh don't work
Date: Thu, 09 Oct 2008 09:09:00 +0800	[thread overview]
Message-ID: <87bpxu8thv.fsf@jidanni.org> (raw)
In-Reply-To: 4728c15d0810081751i57cfe910x9aa321f25f89495a@mail.gmail.com

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> <place_where_you_mounted_your_filesystem>. 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.



       reply	other threads:[~2008-10-09  1:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4728c15d0810081751i57cfe910x9aa321f25f89495a@mail.gmail.com>
2008-10-09  1:09 ` jidanni [this message]
2008-10-17 12:26 forgot passwd, cannot login, [rd]init=/bin/sh don't work James Shewey
2008-10-18  3:44 ` Cameron Braid
2008-10-18 12:20   ` Steven Trotter
     [not found] <20081007095652.GD7127@fencepost.gnu.org>
2008-10-08 21:40 ` jidanni
2008-10-08 23:09   ` walt
2008-10-09 18:19   ` Niels Böhm
2008-10-11  2:46     ` jidanni
2008-10-15 18:41       ` jidanni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpxu8thv.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox