Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*SOLVED* Can't get it working under Nobara/Fedora 40 #238

Open
hatesigningup opened this issue Jan 26, 2025 · 1 comment
Open

*SOLVED* Can't get it working under Nobara/Fedora 40 #238

hatesigningup opened this issue Jan 26, 2025 · 1 comment

Comments

@hatesigningup
Copy link

hatesigningup commented Jan 26, 2025

Machine:
Microsoft Surface5
OS: Nobara Linux 40 (GNOME Edition) x86_64
Kernel: 6.12.10-203.nobara.fc40.x86_64
Shell: bash 5.2.26
Resolution: 2736x1824
DE: GNOME 46.6
WM: Mutter
CPU: Intel i5-7300U (4) @ 3.500GHz
GPU: Intel HD Graphics 620
Memory: 3390MiB / 7856MiB

Disk:
Disk /dev/nvme0n1: 238,47 GiB
Disklabel type: gpt
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 255119359 254912512 121,6G Microsoft basic data
/dev/nvme0n1p3 255119360 257216511 2097152 1G Linux filesystem (/boot)
/dev/nvme0n1p4 496021504 500117503 4096000 2G Linux swap
/dev/nvme0n1p5 257216512 496021503 238804992 113,9G Linux filesystem (luks)

Grub:
GRUB_TIMEOUT_STYLE=
GRUB_DEFAULT=0
GRUB_DISABLE_RECOVERY='true'
GRUB_DISABLE_SUBMENU='true'
GRUB_ENABLE_BLSCFG='true'
GRUB_TERMINAL_OUTPUT='console'
GRUB_TIMEOUT='3'
GRUB_CMDLINE_LINUX_DEFAULT='quiet rd.luks.uuid=107a150b-5534-4887-bf84-9d44894ea5c0 splash'
GRUB_DISTRIBUTOR='Nobara Linux'
GRUB_FONT=/boot/grub2/fonts/unicode.pf2
GRUB_THEME="/boot/grub2/themes/tela/theme.txt"
GRUB_BACKGROUND="/boot/grub2/themes/tela/background.jpg"
GRUB_GFXMODE=1920x1080,auto

What I did:

  1. Ran: sudo ./install.sh (no args), selected defaults and the installation semed to work but nothing on boot (just the usual micro-text grub2 bootlist.
  2. Ran: sudo ./install.sh -b, Installed theme files into /boot/grub2/themes/tela/ still no theme on reboot.
  3. Ran: sudo ./install.sh -g /boot/efi/EFI/fedora/ but still no menu.

Anyone know what I'm doing wrong here? Thanks.

@hatesigningup hatesigningup changed the title FYI: Menu will not work when using full disk encryption ;) Can't get it working under Nobara/Fedora 40 Jan 26, 2025
@hatesigningup hatesigningup changed the title Can't get it working under Nobara/Fedora 40 *SOLVED* Can't get it working under Nobara/Fedora 40 Jan 26, 2025
@hatesigningup
Copy link
Author

hatesigningup commented Jan 26, 2025

SOLVED

Found and followed this HowTo here:

https://discussion.fedoraproject.org/t/how-to-completely-reset-and-save-modifications-to-grub2/138097

First clean & reinstall grub2 by the instructions in the "Solved by Vlasislav Grigiryev" post:

sudo rm -f /boot/efi/EFI/fedora/grub.cfg
sudo dnf reinstall grub2-common
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Lastly I modified /etc/default/grub and added the changes given in the post by Ernest Boyd ernie-07, and added the missing/needed changes:

sudo vi /etc/default/grub

GRUB_TIMEOUT_STYLE=
GRUB_DEFAULT=0
GRUB_DISABLE_RECOVERY='true'
GRUB_DISABLE_SUBMENU='true'
GRUB_ENABLE_BLSCFG='true'
GRUB_TERMINAL_OUTPUT='gfxterm'
#GRUB_TERMINAL_OUTPUT='console'
GRUB_TIMEOUT='3'
GRUB_CMDLINE_LINUX_DEFAULT='quiet rd.luks.uuid=107a150b-5534-4887-bf84-9d44894ea5c0 splash'
GRUB_DISTRIBUTOR='Nobara Linux'
GRUB_FONT=/boot/grub2/fonts/unicode.pf2
GRUB_THEME='/boot/grub2/themes/tela/theme.txt'
GRUB_BACKGROUND='/boot/grub2/themes/tela/background.jpg'
GRUB_GFXMODE='1920x1080x32,auto'
GRUB_GFXPAYLOAD=keep

cd /boot/efi/EFI/fedora
su (had to su here, for some reason sudo wouldn't work!)
grub2-mkconfig > /boot/grub2/grub.cfg

Rebooted and the menu is now working perfectly :).

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant