In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to set kernel command line parameters in Fedora 30. In order to solve this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a simpler and easier way.
Adding options to the kernel command line is a common task when debugging or testing the kernel. The upcoming version of Fedora 30 will be changed to use the Bootloader specification (BLS). Depending on how you modify kernel command line options, your workflow may change. Keep reading for more information.
To determine whether your system uses BLS or the old specification, check the file:
/ etc/default/grub
If you see:
GRUB_ENABLE_BLSCFG=true
Seeing this, you are running BLS, and you may need to change the way kernel command line parameters are set.
If you only want to modify a single kernel entry (for example, temporarily fix the display problem), you can use the grubby command:
$grubby-update-kernel / boot/vmlinuz-5.0.1-300.fc30.x86_64-args= "amdgpu.dc=0"
To delete the kernel parameter, pass the-- remove-args parameter to grubby:
$grubby-update-kernel / boot/vmlinuz-5.0.1-300.fc30.x86_64-remove-args= "amdgpu.dc=0"
If you have an option that should be added to each kernel command line (for example, you want to disable the rdrand instruction to generate random numbers), you can run the grubby command:
$grubby-update-kernel=ALL-args= "nordrand"
This updates the command line for all kernel entries and saves the command line options for future entries.
If you want to remove this option from all kernels, you can use-- remove-args and-- update-kernel=ALL again:
$grubby-- update-kernel=ALL-- remove-args= "nordrand" the answer to the question about how to set kernel command line parameters in Fedora 30 is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.