Usually Gentoo systems have their own upgrades. If the system cannot be upgraded automatically, how do you manually upgrade the system? How to upgrade the kernel? The following small series will introduce you to the Gentoo upgrade system and kernel method, I hope to help everyone.
a kernel upgrade
1. # emerge --sync //upgrade the entire portage directory can also write scripts
2. #emerge -s sources emerge -avq gentoo-sources
[ebuild NS ] sys-kernel/gentoo-sources-3.10.4 [3.9.0] USE=“-build -deblob -symlink”
Compile the kernel
3.# cd /usr/src/linux-3.10.4-gentoo
#make -j5 menuconfig Compiling the kernel no longer goes into details. Make -j5 && make install modules_install
Modify grub to enable the new kernel.
vim /boot/grub/grub.conf
123456 default 1
timeout 5
splashimage=(hd0,0)/boot/grub/Splash.xpm.gz
title Gentoo 3.10.4
root (hd0,0)
kernel /boot/vmlinuz-3.10.4-gentoo ro root=/dev /sda1 rootfstype=ext4 quiet
Second, the system upgrade.
4.#emerge -avq portage //If it is not the latest portage, you need to follow the prompts to do this
5.#emerge -avq python //If it is not the latest python, you need to press Prompt to do this
6.#/usr/sbin/update-python or python-updater //Update python configuration //Execute this operation after executing python
7.#emerge -avquDN world //Rebuild the entire system according to the package under the /var/lib/portage/world file
Parameter Description: --ask (-a) Controls Portage to display a list of packages it wants to update. And let you decide whether to continue to update
--verbose (-v) Output a complete file list on the screen
--update (-u) The best version of the update package
--deep (-D) Update each package in the system
--newuse (-N) After the USE flag is changed, let Portage check if the change of the USE flag causes
Need to install a new package or recompile an existing package
8.#emerge -av --depclean //Clear unwanted (isolated Package
9.#revdep-rebuild //A software in the gentoolkit package to check if the dependencies of the system are met, and automatically install packages that do not satisfy the relationship
10. #perl-cleaner --all -- -avq //Check and fix the perl related modules and files
11.#dispatch-conf //Update the system configuration file
12.eselect news read all //View the prompt message
#emerge -e world //Recompile the entire system locally. This step is not needed.
The above is a description of Gentoo's method of upgrading the system and kernel. With the method described in this article, you can upgrade Gentoo and its kernel to the latest version, but the latest version may have bugs and cannot be blindly upgraded.
A network protocol is a collection of communication rules between all devices on th
Every user who has certain mastery of Linux system must start to learn some common commands of Linux
Some compilers under the Linux system need root privileges to run if they use raw s
Linux uses FTP, connects to FTP server, uploads files, and downloads files through commands. The fol
CentOS system Lighttpd installation skills
What are the file attributes of the Linux system?
How to check the integrity of downloaded files on Linux system
Linux prompts gzip:stdin:not when extracting tar.gz file?
Steps to install Brackets on Ubuntu
X11 forwarding request failed on channel 0 error under Linux
What should I do if Ncurses shows Chinese garbled under Linux?
Getting Started with Arch Linux
How to solve the problem that Linux does not limit the Limit value after opening SSH
Linux system uses the command line to execute the php file transfer step
How to do unrecognized network on Win7 computer
Win7 system browser open web page garbled solution
What can I do if I can't find the installed fonts in win7 computer software?
Reject IE8 to access the Https website pop-up tips
How long can the win10 preview be used? Win10 preview release time
How to set ROOT permission for ROOM Android Simulator ROOT permission setting method
How to solve the problem that Win7 can't operate webpage in Win7
How to solve the Win7 audio service is not running
How to uninstall software in Windows 10 system in the start menu
How to solve the win7 system can not delete the desktop IE browser icon?