[Bug 1084400] Reset root password when booting with init=/bin/bash crash the system

bugzilla at redhat.com bugzilla at redhat.com
Sat Dec 27 13:05:29 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1084400

Michael De La Rue <mvyynqbgerqungqbgpbz.yeuhc at spamgourmet.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mvyynqbgerqungqbgpbz.yeuhc@
                   |                            |spamgourmet.com



--- Comment #22 from Michael De La Rue <mvyynqbgerqungqbgpbz.yeuhc at spamgourmet.com> ---
I have a fedora 20 install, more or less default on a laptop + encrypted disk.  

I tried the above instructions in all possible variations and none of them
worked.  Eventually I found this

  http://tower.voleg.info/fc19_boot_grub2_systemd.html

and the key comment was to use 

  rd.break

instead of single; init=/bin/sh  or all the other variants.

* interrupt boot
* edit boot entry
* delete "silent" and "rhgb"
* add "rc.break"
* ctrl-x to execute
* wait for boot (type password for disk encryption when asked;  n.b. sometimes
prompt gets overwritten) 
* mount -o rw,remount /sysroot
* chroot /sysroot
* passwd
* give new password twice
* touch /.autorelabel
* sync
* exit

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the docs-qa mailing list