Reputation: 689
I need to send kernel command line parameter in raspbian os to turn off spectre/meltdown patches. as i know we can do this in other linux distros through "/etc/default/grub" file by changing "GRUB_CMDLINE_LINUX=". but in raspbian os this file did not exist and even "grub-update" command and also "grub-mkconfig" did not installed.
could anyone tell me how i can pass kernel command line parameter in raspbian os?
Upvotes: 2
Views: 3481
Reputation: 81
You should be able to edit /boot/firmware/cmdline.txt
with any editor in privilege mode.
sudo nano /boot/firmware/cmdline.txt
This would allow you to send any kernel command. source
However, I think the mitigation isn't built in Raspbian.
Upvotes: 3
Reputation: 141698
From the official documentation on how to add kernel command line arguments you have to edit /boot/cmdline.txt
with the kernel options you want to pass.
Upvotes: 1