In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to configure the final work of compiling kernel in openSUSE. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The kernel has been compiled and installed, and a startup item has been added to the bottom of the grub start menu. Reboot can try a new kernel login. There are still some minor problems to be solved. Point / usr/src/linux to the source directory of the newly compiled kernel, # rm / usr/src/linux#ln-s / usr/src/linux- version number / usr/src/linux, then restart and check the kernel version with uname-r. Naturally, remember to reinstall the video driver.
OpenSUSE uses tutorials to clean up
If your kernel works stably and properly after a period of testing, you can do some cleaning to free up disk space.
OpenSUSE uses tutorials to clean up old files
Go back to the kernel source directory
# make clean
Delete the directory corresponding to other kernel version numbers under / lib/modules, that is, delete the files corresponding to other kernel version numbers under the old version kernel module file / boot
OpenSUSE uses tutorials to clean up the grub startup list
You may not want the invalid original kernel to remain on the boot menu, so
# mv / boot/grub/menu.lst.old / boot/grub/menu.lst#rm / boot/*.old & & rm / boot/grub*.old#rm / boot/vmlinuz & & rm / boot/initrd#ln-s vmlinuz- new version number-default vmlinuz#ln-s initrd- new version number-default initrd update kernel-headers =
After self-compiling the kernel, linux-kernel-header cannot be updated automatically and is controlled by the RPM software management system. In general, this package is maintained at the official kernel version. So we need to update it manually to facilitate the module compilation under the new kernel.
Rm-rf / usr/include/linuxcp-r / usr/src/linux-2.6... (the version number of the newly compiled kernel, please complete it according to your own situation) / include/linux / usr/include
This is the end of the article on "how to configure the compilation of the kernel in openSUSE". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.