can't reset bazzite password
I am atempting reset my password by following this guide https://github.com/bazzite-org/docs.bazzite.gg/blob/main/src/Advanced/Reset_Forgotten_User_Password.md but after I "append init=/bin/bash to the line beginning with linux" and the press Ctrl+X I then see the line "Booting a command list" but rather than allow me to use the GRUB command line it just boots into bazzite
GitHub
docs.bazzite.gg/src/Advanced/Reset_Forgotten_User_Password.md at ma...
Documentation website for Bazzite. Contribute to bazzite-org/docs.bazzite.gg development by creating an account on GitHub.
1 Reply
add systemd.debug_shell instead
that will boot to bazzite
BUT
you'll have a root shell on one of the TTYs
you press ctrl+alt+f1-f12
i think f9 aka terminal 9 is where the shell is
from there you can just reset the password
you're not using grub whem you init=/bin/bash
Linux boots in 2 stages usually
first the bootloader in this case grub loads the kernel & initramfs files
the linux line contains the kernel location & whatever extra text
the extra text adjusts how the kernel & software on the initramfs behaves
but anyways
now we move onto stage 1
the initramfs is a little system the kernel can use to find/prepare the real thing
in there is an
/init program
this is what does all the work
finds checks & fixes if needed the real system
& by default runs /usr/bin/init on there
this is the real system\s init
it is what starts up everything
like networking the login screen etc
when you add init=/bin/bash stage 1 init still prepares the real system & does it's whole thing but instead of running /usr/bin/init on the real system it runs /bin/bash
which just gives you a shell
as in literally the only program running on the real system is bash
this is kinda limiting but enough to set/change whatever password