can't get grub to use /etc/default/grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to disable the spectre mitigations. I've set up /etc/default/grub:

cat grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
#GRUB_CMDLINE_LINUX="resume=UUID=d695f875-5220-49ab-8b0d-4f58649cd8ad nomodeset rhgb quiet" GRUB_CMDLINE_LINUX="resume=UUID=d695f875-5220-49ab-8b0d-4f58649cd8ad nomodeset pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier"
GRUB_DISABLE_RECOVERY="true"

but the command line is not used when I update the kernel. I tried again with dnf reinstall kernel*.

menuentry 'Fedora (4.19.2-200.fc28.x86_64) 28 (Twenty Eight)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.16.3-301.fc28.x86_64-advanced-6558c91f-7319-41a5-93cc-8c6d0737212b' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 f9fcdc3c-9cc3-4444-abc3-b8cbf1772e8e
	else
search --no-floppy --fs-uuid --set=root f9fcdc3c-9cc3-4444-abc3-b8cbf1772e8e
	fi
linuxefi /vmlinuz-4.19.2-200.fc28.x86_64 root=UUID=6558c91f-7319-41a5-93cc-8c6d0737212b ro resume=UUID=d695f875-5220-49ab-8b0d-4f58649cd8ad nomodeset LANG=en_US.UTF-8
	initrdefi /initramfs-4.19.2-200.fc28.x86_64.img


And BTW, which kernel package contains the scriptlet that updates grub.cfg ?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux