Grub
From Whonix
Kernel Boot Parameter Change[edit]
TODO: document
Similar to:
- https://grumpymole.blogspot.com/2007/05/ubuntu-how-to-edit-grub-boot-parameters.html [archive]
- https://wiki.ubuntu.com/Kernel/KernelBootParameters [archive]
- https://docs.fedoraproject.org/en-US/Fedora/22/html/Multiboot_Guide/GRUB-runtime.html [archive]
This is a grub, not a Whonix ™ feature. Therefore Free Support Principle applies.
Permanent Configuration Changes[edit]
1. Learn.
- See folder
/etc/default/grub.d
. - See file
/etc/default/grub.d/40_kernel_hardening.cfg
. - Just look around.
2. Create a new configuration file.
Open file /etc/default/grub.d/50_user.cfg
in an editor with root rights.
(Qubes-Whonix ™: In TemplateVM)
This box uses sudoedit
for better security [archive]. This is an example and other tools could also achieve the same goal. If this example does not work for you or if you are not using Whonix, please refer to this link.
sudoedit /etc/default/grub.d/50_user.cfg
3. Paste.
Notes:
- The following example uses kernel parameter
nomodeset
. - You need to replace
nomodeset
with the actual kernel parameter you want to add. - Don't remove the leading text.
- Visual elaboration: Marked with underline
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX nomodeset"
. Do not remove underlined part.
- Visual elaboration: Marked with underline
- Don't remove the trailing quote (
"
)- Visual elaboration: Marked with bold:
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX nomodeset"
. Do not remove bold part.
- Visual elaboration: Marked with bold:
- Replace only
nomodeset
with the actual kernel parameter you want to add.
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX nomodeset"
4. Save.
5. Regenerate grub configuration.
sudo update-grub
The process is complete.
See Also[edit]
Footnotes[edit]
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
Love Whonix ™ and want to help spread the word? You can start by telling your friends or posting news about Whonix ™ on your website, blog or social media.
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.
Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)
Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].
Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.
By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.