Kali and Centos, Windows three system installation matters!

Source: Internet
Author: User
Tags kali linux

Chinese New Year, want to install Kali Linux directly on the hard disk, do not need to plug in the U disk every time LiveCD, but the installation process is really!! What fucking word I can say!!

First, the partition problem, NTFS has four partitions, of which three are primary partitions, the last time you install CentOS do not remember the partition of the main partitions or what, anyway, the partition of 20G space can not be used, can only convert an NTFS partition into a logical partition, and then the normal installation of Kali. The most eggs hurt, that is grub boot.

Now the Linux are used Grub2, in the CentOS/boot/grub2/grub.cfg although the writing is automatically generated, but can be modified, changed in the System boot menu can also be seen, but Kali.

Modify/BOOT/GRUB/GRUB.CFG does not work, boot can not be displayed, check the grub2 are now in/etc/grub.d/inside by the shell automatically generated, said is modified 10_linux, but novice completely do not understand AH.

Looking for a long while to find can be added in the 40_custom inside the line, so the CentOS menuentry a few lines to copy into, and then to execute Update-grub, restart or no option. Observing the grub.cfg of Kali

Found to modify Menuentry ' CentOS Linux (3.10.0-123.13.2.el7.x86_64) 7 (Core) '--class centos--class gnu-linux--class GNU--class OS--unrestricted $menuentry _id_option ' gnulinux-3.10.0-123.el7.x86_64- Advanced-2c1aa93e-851b-450a-ae6e-d236a53b35de ', to remove the contents of the--class OS, then Update-grub, restart, finally the option is good

Next CentOS again not go, directly is emergency mode, imagine yesterday is good, is not two Linux does not coexist, should not. Check to see that this is generally the boot mount failure, think of today converted partition, F disk is already sda8, and then into the rescue mode, the mounted disk number modification completed, and then restart, so that all completed!

The serial number inside the PS:GRUB.D represents the boot order of the Grub menu and can be changed in the front, so you can adjust the order!

Kali and Centos, Windows three system installation matters!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.