<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>