<div dir="ltr">Do you have an /etc/grub.d/ directory? I would think that would be the better place anyway since /etc/default/grub may be owned by the grub package and be liable to be overwritten.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 26, 2018 at 4:30 PM, Brian E. Lavender <span dir="ltr"><<a href="mailto:brian@brie.com" target="_blank">brian@brie.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">there is no /etc/default/grub on my system. I installed with Xen-tools.<br>
I wonder if I add that file and a configuration setting if it will use<br>
it?<br>
<br>
brian<br>
<span class=""><br>
On Thu, Jul 26, 2018 at 12:55:06PM -0700, Kevin Lucas wrote:<br>
> It may depend on the distro but I believe it's in /etc/default/grub on<br>
> Debian. Run update-grub after your change to apply it.<br>
> <br>
> Kev.<br>
</span>> On Thu, Jul 26, 2018, 12:02 PM <[1]<a href="mailto:vox-tech-request@lists.lugod.org">vox-tech-request@lists.<wbr>lugod.org</a>><br>
<span class="">> wrote:<br>
> <br>
> Send vox-tech mailing list submissions to<br>
</span>> [2]<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<span class="">> To subscribe or unsubscribe via the World Wide Web, visit<br>
</span>> [3]<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
<span class="">> or, via email, send a message with subject or body 'help' to<br>
</span>> [4]<a href="mailto:vox-tech-request@lists.lugod.org">vox-tech-request@lists.<wbr>lugod.org</a><br>
<span class="">> You can reach the person managing the list at<br>
</span>> [5]<a href="mailto:vox-tech-owner@lists.lugod.org">vox-tech-owner@lists.lugod.<wbr>org</a><br>
<span class="">> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of vox-tech digest..."<br>
> Today's Topics:<br>
> 1. kernel options for grub (Brian E. Lavender)<br>
> ------------------------------<wbr>------------------------------<wbr>--------<br>
> --<br>
> Message: 1<br>
> Date: Thu, 26 Jul 2018 09:59:31 -0700<br>
</span>> From: "Brian E. Lavender" <[6]<a href="mailto:brian@brie.com">brian@brie.com</a>><br>
> To: [7]<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<span class="">> Subject: [vox-tech] kernel options for grub<br>
</span>> Message-ID: <[8]<a href="mailto:20180726165931.bzfctu5xjrxge5e5@brie.com">20180726165931.<wbr>bzfctu5xjrxge5e5@brie.com</a>><br>
<span class="">> Content-Type: text/plain; charset="utf-8"<br>
> I want the update-grub to add the following option<br>
> pti=off<br>
> to the auto generated kernels in /boot/grub/menu.lst<br>
> Where do I add the option?<br>
> <br>
> I see /etc/grub.d/<br>
> <br>
> I see a bunch of files there, but I have no clue where to<br>
> automatically<br>
> add this option so that it adds it to the kernel line for the<br>
> kernel.<br>
> brian<br>
> --<br>
> Brian Lavender<br>
</span>> [9]<a href="http://www.brie.com/brian/" rel="noreferrer" target="_blank">http://www.brie.com/brian/</a><br>
<span class="">> "There are two ways of constructing a software design. One way is to<br>
> make it so simple that there are obviously no deficiencies. And the<br>
> other<br>
> way is to make it so complicated that there are no obvious<br>
> deficiencies."<br>
> Professor C. A. R. Hoare<br>
> The 1980 Turing award lecture<br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: signature.asc<br>
> Type: application/pgp-signature<br>
> Size: 488 bytes<br>
> Desc: not available<br>
> URL:<br>
</span>> <[10]<a href="http://lists.lugod.org/pipermail/vox-tech/attachments/20180726/" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>pipermail/vox-tech/<wbr>attachments/20180726/</a><br>
<span class="">> 304a6f6e/attachment-0001.sig><br>
> ------------------------------<br>
> Subject: Digest Footer<br>
> ______________________________<wbr>_________________<br>
> vox-tech mailing list<br>
</span>> [11]<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
> [12]<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
<span class="">> ------------------------------<br>
> End of vox-tech Digest, Vol 153, Issue 1<br>
> ******************************<wbr>**********<br>
> <br>
</span>> References<br>
> <br>
> 1. mailto:<a href="mailto:vox-tech-request@lists.lugod.org">vox-tech-request@lists.<wbr>lugod.org</a><br>
> 2. mailto:<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.<wbr>org</a><br>
> 3. <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
> 4. mailto:<a href="mailto:vox-tech-request@lists.lugod.org">vox-tech-request@lists.<wbr>lugod.org</a><br>
> 5. mailto:<a href="mailto:vox-tech-owner@lists.lugod.org">vox-tech-owner@lists.<wbr>lugod.org</a><br>
> 6. mailto:<a href="mailto:brian@brie.com">brian@brie.com</a><br>
> 7. mailto:<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.<wbr>org</a><br>
> 8. mailto:<a href="mailto:20180726165931.bzfctu5xjrxge5e5@brie.com">20180726165931.<wbr>bzfctu5xjrxge5e5@brie.com</a><br>
> 9. <a href="http://www.brie.com/brian/" rel="noreferrer" target="_blank">http://www.brie.com/brian/</a><br>
> 10. <a href="http://lists.lugod.org/pipermail/vox-tech/attachments/20180726/304a6f6e/attachment-0001.sig" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>pipermail/vox-tech/<wbr>attachments/20180726/304a6f6e/<wbr>attachment-0001.sig</a><br>
> 11. mailto:<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.<wbr>org</a><br>
> 12. <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
<span class="im HOEnZb"><br>
> ______________________________<wbr>_________________<br>
> vox-tech mailing list<br>
> <a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
> <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">-- <br>
Brian Lavender<br>
<a href="http://www.brie.com/brian/" rel="noreferrer" target="_blank">http://www.brie.com/brian/</a><br>
<br>
"There are two ways of constructing a software design. One way is to<br>
make it so simple that there are obviously no deficiencies. And the other<br>
way is to make it so complicated that there are no obvious deficiencies."<br>
<br>
Professor C. A. R. Hoare<br>
The 1980 Turing award lecture<br>
</div></div><br>______________________________<wbr>_________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" rel="noreferrer" target="_blank">http://lists.lugod.org/<wbr>mailman/listinfo/vox-tech</a><br>
<br></blockquote></div><br></div>