Forgotten Root Password Reset from Grub

Hey everyone , I know there’s a lot about this topic but still just need a confirmation

so the one way i have decided to change my password is using init=/bin/bash
but as discussed in

okay the thing is I do find the line starting with linux and then i have to remove ‘quiet’ from there and add ‘init=/bin/bash’
but the issue is quiet is not the last word of that line , and its followed by a long line and i hope it will not break the system , i have tried to share the details as i receive on my screen

                              GNU GRUB version 2.12-4
setparams 'Garuda Linux (Soaring) (on /dev/sdb4)'
            
             savedefault  
             insmod part_gpt
            insmod ext2
           set root='hd1, gpt4'
           if [ x$feature_platform_search_hint = xy ]; then
               search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt --hint-efi=hd1,gpt --hint-baremetal=ahci1.gpt 427984c1-6f4d-4c2c-84da-d8455e70fd15
           else
               search -no-floppy --fs-uuid --set=root 427984c1-6f4d-4c2c-84da-d8455e70fd15
           fi
          linux /boot/vml inuz-1inux-tkg-bmg root=uUID=427984c1-6f4d-4c2c-84da-d8455e70fd15 rw quiet splash rd.udev. log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy\
resume=UUID=4ddeeafa-1e01-40b5-9acd-1964b5d7d904 loglevel=3
         initrd /boot/intel-ucode.img /boot/initramfs-linux-tkg-bmq.img






Minimum Emacs-like screen editing is supported. TAB lists completions. Press CtrI-* or F10 to boot, Ctri-c or F2 for a command-line or ESC to discard edits and return to the GRUB
menu.

see its followed by some other thing

On watching this video from 1:10 , i saw that his line ended with quiet , which he has mentioned as well to locate the line but that’s not in my case , so can i make the changes?
https://www.youtube.com/watch?v=AXSLkrd92BY

Also I have multiple OS loaded , like a multi boot system , will changing the grub , cause issue in any other systems, also my bootloader is of a different of OS , do i need to switch to Garuda Bootloader?
Thank you

I’m not sure if I understood that correctly :thinking:
I change my passwords in the terminal with passwd.

1 Like

ah so you mean , i can change my root password from terminal itself ? but the thing is i don’t remember my root password , I only remember my user password

I remember a similar question here in the forum in 2021, but I can’t find the post right now.
Someone competent will surely answer you soon.

Edit Reset lost root password - ArchWiki

1 Like

By default, it is the same.

3 Likes

Man , i know this , but i haven’t been home from a long time and yesterday i got the chance to boot my Computer and on almost on 10 tries , i failed to find a root password , garuda was my first linux distro so i thought , i might have unchecked the default option and might have selected different pass for user and root .

Surprisingly after reading this , i thought i should try once again entering the password and it worked
idk what had happened and now this is actually embarrassing , can i deleted this topic , since it’s not worth having anymore?

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.