Add kernel parameter to specific kernel using grub?
- Date: Wed, 7 Mar 2018 17:15:26 -0500
- From: Boyan Penkov <boyan.penkov@xxxxxxxxx>
- Subject: Add kernel parameter to specific kernel using grub?
Let's say I have two kernels -- the default that's maintained by the distro, and one that I'm playing with that I compile from source to get dpkgs. Call the distro one linux4.4 and "mine" -- linux4.16 (for reference, all this is playing out on an ubuntu system...not sure if that will garner me some eyerolls.... ;) ).
I'm using 4.16 to test the effects of BFQ, and 4.4 because I need a fallback. With that in mind, I'd like to pass the kernel parameter "elevator=bfq" to 4.16 ONLY (and not 4.4).
Does anybody know where to look to add this to /etc/default/grub.cfg without passing the parameter to all kernels that are then found after grub-mkconfig (which will inevitably run after a few instances of sudo apt-get update && sudo apt-get dist-upgrade)?
- Prev by Date: Re: Open socket not connected to any real process
- Next by Date: Re: Add kernel parameter to specific kernel using grub?
- Previous by thread: Q: Host protected area (HPA), hdparm, and 4 KB sectors
- Next by thread: Re: Add kernel parameter to specific kernel using grub?