On 5/9/19 7:04 PM, Ranjan Maitra wrote:
On Thu, 9 May 2019 17:56:51 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:
On 5/9/19 3:50 PM, Ranjan Maitra wrote:
After a three successful upgrades to F30 from F29 under my belt, a cocky me has been floored. Everything went through fine (or so it seemed) using dnf upgrade --releasever 30 but I ended with, upon reboot:
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.
Give root password for maintenance.
(or press Control-D to continue):
One problem is that I do not have a root password. I have actually gone in using a livecd and the devices (1 ext4 and 2 xfs) appear to be clean.
Using the live boot, you can chroot to the installed system and set the
root password.
Sorry but exactly how does one do this? I have no experience here with this.
In a terminal window, run "sudo -i". Do "ls /mnt" to make sure there's
nothing there. (I don't remember if the live boot uses that by
default.) Assuming that /dev/sda2 is your root partition (replace with
the real device), run "mount /dev/sda2 /mnt". Then run "chroot /mnt"
and "passwd root". Then "exit", "umount /mnt", and reboot the system.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx