if using refind you need to add boot kernelm options in another way so no need to add anything to grub if you do not use grub … but the options will not run if not added to be use don boot with refind…
the file refind uses is:
/boot/refind_linux.conf
or wherever you put the refind files …
I was looking at the Fedora 37 grub.cfg for a working NVIDIA boot. I’m not seeing the ibt=off
entry:
$ cat 12a12002b595481ca91b7d6f8d98ac23-5.19.13-300.fc37.x86_64.conf
title Fedora Linux (5.19.13-300.fc37.x86_64) 37 (Workstation Edition)
version 5.19.13-300.fc37.x86_64
linux /vmlinuz-5.19.13-300.fc37.x86_64
initrd /initramfs-5.19.13-300.fc37.x86_64.img
options root=UUID=477f3e20-4502-495f-974b-5561e12071ad ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init
grub_users $grub_users
grub_arg --unrestricted
grub_class fedora
$ nvidia-smi
nvidia-smi
Sat Oct 15 11:24:29 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 0% 39C P8 37W / 350W | 550MiB / 12288MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2131 G /usr/bin/gnome-shell 290MiB |
| 0 N/A N/A 4191 G /usr/bin/Xwayland 11MiB |
| 0 N/A N/A 4235 G ...296352705767693242,131072 154MiB |
+-----------------------------------------------------------------------------+
Curious what’s different about how Endeavour is booting / configuring the kernel.
we do not do any special boot or even kernel.
Compared to arch at least…
And the issue with the need to disable IBT is arch specific so it is not affecting fedora they have different kernel… and could be different stuff not loaded or loaded with the kernel images… initrd in different ways… it is not only possible to do so from grub kernel line. the could be also inside kernel image or modprobe setup
1 Like
system
Closed
October 19, 2022, 6:20am
24
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.