Grub entry keeps starting up in resque mode

my new Fedora install works fine, I use it together with Windows in a dual-boot mode. Though after starting it up ones in resque mode (to check the possibility to add the root passwd for the new fedora live install", it did not remove the “1” option from the kernel line after… It was mentioned it would be just a temporarily option, just for this single start up. but, when starting up the system the next day the “1” is still there and I cannot get rid of it.

[peer@localhost ~]$ cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos3)/vmlinuz-5.9.8-200.fc33.x86_64 root=UUID=4031294f-ba51-462f-b7aa-47242d4b2467 ro rootflags=subvol=root rhgb quiet 1

sudo emacs -nw /etc/default/grub:
GRUB_DISTRIBUTOR=“$(sed ‘s, release .*$,g’ /etc/system-release)”

I do not see any arg which might be related with the “1” argument in the BOOT_IMAGE. What is the proper way out here such I get my default linux kernel line back in the default grub-entry.

1 Like

Try to recreate grubenv:

sudo grub2-editenv create

thks for your fast reply, what will create do? Is it intended as a kind of reset?

1 Like

I gave it a try, but the problem remains

1 Like

Yep, it is supposed to reset grubenv.

Post the output:

sudo grub2-editenv list

Try to regenerate the GRUB2 config and initramfs:

sudo grub2-mkconfig -o /etc/grub2$(test -d /sys/firmware/efi && echo -efi).cfg
sudo dracut -f --regenerate-all

thanks vegaetera, that did do the job!

1 Like

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