Grub

Hello i tried to change grub settings with chat gpt (at least now i know it s stupid) to boot on m’y usb with batocera when pluged and on bazzite when not, but it went wrong and now i have a grub menu needing a keyboard at each launch and if i dont touch anything it tries to boot on my usb stick but it doesnt Even work and i m stuck in a loading and havé to restart pc, if i unplug the usb it tries to boot on one, fails and i m back in the boot chooser still needing a keyboard Even if it says « now trying to boot on ssd «  I can t find anything to reset grub to default online and trying to delete what i changed doesnt work, or i forgot some parts of what i changed
4 Replies
HikariKnight
HikariKnight4w ago
since you dont even know what you have done and we dont know what you have done, the only thing that we can suggest is you just reset /etc/default/grub to
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.options=discard rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.options=discard rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_TIMEOUT_STYLE=menu
then run ujust regenerate-grub if that does not work, we cannot help you more since you have 0 info to give us other than i used chatgpt and it fucked up
xDsSZD
xDsSZDOP4w ago
I also changed things in /etc/grub.d/40_custom but i deleted it I also have 2 new options when i boot in the grub menu « bazzite (ssd) » and « batocera(usb » but both do not work It doesnt work sadly but is there really no way of like uninstalling grub and doing a clean install ? And is it Even really necessary ? Sry computer noob as your surely guessed
HikariKnight
HikariKnight4w ago
youre on an image and messed up your grub, the reinstall is reinstalling bazzite
xDsSZD
xDsSZDOP4w ago
Ok ty

Did you find this page helpful?