My setup is:
-Windows 10 on a M.2 SSD
-Ubuntu 18.04 on a normal ssd (sdb)
-Arch Linux on sdb as well but on different partitions
I first installed ubuntu with grub and later added arch linux without installing a seperate boot loader, basically the same set-up this guide advises. I can add kernel parameters to ubuntu via editing /etc/default/grub
and then running sudo update-grub
. I can confirm the changes made here are persistent through cat /proc/cmdline
.
But while I have a etc/default/grub on arch I don't have a grub.cfg for it so I can't apply the changes. sudo grub-mkconfig -o /boot/grub/grub.cfg
outputs that there is no such file or directory. Obviously the changes made in archs grub-file won't transfer to ubuntu when I update the .cfg nor will the ubuntu .cfg load parameters for arch.
Is there any way I can add kernel parameters to my arch installation without installing a second instance of grub?
EDIT: I was able to get persistent changes to arch's kernel parameters by editing ubuntu's grub.cfg's arch linux entry manually but this I don't think this is a real solution, is it? Wouldn't I have to manipulate it again every time I ran update-grub
?