This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:configurations:user-config [2022/08/11 03:56] hyphop [How-to customize linux kernel bootargs] |
products:sbc:vim4:configurations:user-config [2022/09/28 08:45] nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VIM4 kernel bootargs user config ====== | + | {{indexmenu_n> |
- | ===== Introduction | + | ====== VIM4 Kernel Bootargs User Config ====== |
- | This page mainly introduces how-to user can customize linux kernel bootargs under Ubuntu. | ||
- | |||
- | ===== How-to customize linux kernel bootargs ===== | ||
- | |||
- | You can edit file ''/ | ||
- | |||
- | The default file contents are similar as below: | ||
- | |||
- | ```shell | ||
- | $ cat / | ||
- | ############################# | ||
- | rootdev=root=UUID=a92f7f2f-0d4a-4607-a45a-4549cfe71036 | ||
- | partitiontype=partition_type=generic | ||
- | ############################# | ||
- | ## Add user args here, spilt with space. | ||
- | ## e.g. Add bootargs ' | ||
- | ## boot_user_args=test1=111 test2=222 | ||
- | boot_user_args= | ||
- | ``` | ||
- | |||
- | You can append your bootargs to node '' | ||
- | |||
- | e.g. Add bootargs '' | ||
- | |||
- | ```shell | ||
- | boot_user_args=cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0 | ||
- | ``` | ||
- | |||
- | <WRAP important > | ||
- | Please make sure the bootargs are spilt with space and don't add quotation marks. | ||
- | </ | ||
- | |||
- | |||
- | <WRAP info > | ||
- | Save the file and reboot to take effect. | ||
- | </ | ||
- | |||
- | ===== How-to check linux kernel bootargs ===== | ||
- | |||
- | After reboot system, we can check current linux kernel bootargs | ||
- | |||
- | ```shell | ||
- | $ cat / | ||
- | ``` | ||
+ | {{page> |