In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Due to the needs of work and study, I need to install a linux centos7 system under the existing win10 system, so as to form a dual system to facilitate work. After Baidu found that there are many experience articles about the installation of such dual systems, so it began to operate, but there were a lot of problems in the installation process. Here I will talk about the problems and solutions I encountered, focusing on the mistakes. The rest of the steps are described by the link article. Finally, I would like to thank the author of the following link article, which has benefited me a lot.
Option 1:
Step 1: material tools
U disk (greater than 4G) A [pay attention to the things in U disk should be backed up somewhere else, then format U disk UltraIOS (floppy disk pass) [as long as it is a tool software that can make U disk boot disk, such as Lao Mao Tao / Chinese cabbage / computer store, etc.] the image file of centos7 [download address: Index of / centos/7.2.1511/isos/x86_64/]
Step 2: make a boot disk
Open ultraios [right-click to run as administrator], and then "File"-"Open"-Select the downloaded ios image file-make sure the following figure:
For detailed steps, refer to: UltraISO making USB disk system disk installation CentOS experience sharing _ Baidu experience
Note: you choose your own flash drive in ① 1. Make no mistake: choose the default USB-HDD++ ③ 3 format in ② 2 and choose the default format.
Step 3: compress the hard disk space (the future centos7 will be installed in the compressed space so as not to affect the window10 system)
Reference: how does win10 partition? win10 disk Partition Picture and text tutorial _ Baidu experience
Note: ① in order to follow up in the process of installing the centos system with clear ideas (disk partition names arranged in order), it is recommended to compress the last partition, and the compressed space is left for the installation of centos using ② if the disk partition order at this time is not cMagazine. Or there is no d type of cQuery e, in order to look clear later when viewing disk partitions, it is recommended that the order of disk partition names be changed to c_ e. This is in order, operation reference: the computer does not have a d disk how to do _ d disk missing how to add hard disk partition _ Baidu experience
Step 4: set the U disk as the first startup item
My computer is Asustek, operation such as link: Asustek notebook how to set up u disk boot (two methods) _ Baidu experience
Note: ① shut down the computer, insert the USB disk, and press and hold the ESC (or delete) key all the time (the moment the power key is pressed) to launch the item selection menu. Different motherboards have different shortcut keys to enter the BIOS. If it is not clear, find Baidu ② if everything is working normally, but there is no USB disk startup item in the BIOS, then you may not open the option to support the USB disk device. Enter BIOS--Security--Security Boot Ctrl-- Enabled, then enter Boot--LaunchCSM--Enabled, and finally press F10 to save and exit, then re-enter bios and you will have a USB flash drive startup item! What ③ uses is to press the shortcut key ESC key to start the U disk and enter the startup option of U disk directly. Compared with the method of entering BIOS to set the first startup item is U disk, the former is convenient and concise, and the shutdown will not affect the first startup item winds; of BIOS, while the latter has to restore the original settings after installing the system, otherwise, as long as the USB disk is inserted, the computer will choose to boot from the USB disk, which will lead to the problem of not being able to boot!
Lenovo computer: how to set BIOS to U disk boot _ Baidu experience Hewlett-Packard computer: HP laptop U disk boot, U disk installation system BIOS setup tutorial-U Qiwang
Step 4: install centos7
1: the following interface appears in the third step:
2: after pressing the tab key, it appears: (the purpose of the modification is to show the location of your flash drive)
3: press the enter key and appear: (remember the location of your flash drive)
4: then restart the computer, enter from the flash drive, and reach the second step of step 4:
5: enter and wait for the graphical installation interface of centos7 (the following language selection, software selection, installation location are all installed according to the following link)
①: centos7.0 installation tutorial _ Baidu experience ②: win 10 and CentOS 7 dual system installation summary-Gatherfly blog-blog channel-CSDN.NET
Note: ① in the installation language is best to choose Chinese and English, if there is an error in Chinese, it will be displayed by the second English, not garbled ② keyboard, time zone, installation source to keep the default ③ during software installation, pay attention to minimize the installation is only the character interface No image interface (so-called desktop) ④ installation location: select the free space compressed in front-- I want to assign partitions-- (I can add it myself, but note that the size units of swap and / boot are MB, and the rest are GB) except for the default swap, the rest of the partition scheme selects standard partitions, which is related to the later recovery boot
Note: after the completion of step 5 of ①, start the installation. If the installation appears at the end of the installation: (then restart and follow step 4 of step 3 to start the reinstallation)
②: after the correct installation, unplug the USB drive when prompted to restart, and then restart
Step 5: load the startup item of win10 under the centos7 system
After the restart is completed in step 4, enter the centos7 login interface:
1: enter the password for the root account and enter the centos7 desktop
2: then right-click in the desktop space-open it in the terminal
3: enter vim / boot/grub2/grub.cf in the terminal 4: edit box appears, and the cursor is positioned between # BEGIN / etc/grub.d/30_os-prober # # and # END###
5: press the I key and add at the end
Menuentry 'Windows 10' {insmod ntfs
Set root= (hd0,2)
Chainloader + 1
}
6: press the ESC key and press the uppercase Z key twice (thus saving the previous changes)
7: restart, see that the startup items have win10 and centos7, so successful!
Note: in the fifth step of ①: set root= (hd0,2) where hd0 represents the hard disk (this is not modified), 2 represents disk C, where win10 is installed, and the partition is sda2, so it is written as 2 (if your win10 is installed on disk d, then you have to change 2 to 3) ② if you cannot log in with your root account, then select the created ordinary user to log in, and add another step after step 2 Step 2-1: enter: su in the terminal-then enter (there is a space after su, followed by a dash), and enter a password (this is when you switch from an ordinary user to an administrator user, so you are required to enter your administrator (root) account password). Enter your root password, but it should be noted that the password entered at this time will not be displayed (for security reasons). Enter enter after entering the password. This will switch to the root state (if you enter and do not switch to root, your password is typed incorrectly, re-perform steps 2-1), and the remaining steps are the same as those in 1-7 above!
Finally: the installation of the dual system is completed.
Option 2
Some steps are added on the basis of scheme 1, which is different from scheme 1 in that the boot item of centos7 is added under the system of win10 (the boot item of win10 is added directly in the environment of centos system). The next step is to write a step that is different from that of scheme 1.
1: prepare another U disk (size doesn't matter) in the first step, and use the old peach (the latest version V9.3.16.906, installed version) to make a boot disk.
2: in step 4 of option 1, back up the mbr of win10, shut down-insert the old Maomao U disk-enter from the old Maomao U disk-select the second item (win8PE anti-blue screen) to enter the system, open the desktop Bootice software, select your own computer's hard disk (the default is the inserted U disk, judge the hard disk by size)-- backup mbr--Windows.-- OK-- put the backup file on a non-c disk-- OK. At this point, the mbr backup of win10 is completed. Shut down the computer, unplug the USB drive, and continue to do so according to the steps in solution 1.
3: after completing step 4 of scenario 1, skip step 5 and do the following:
① shutdown, insert the old peach U disk, start the computer from the old Maomao U disk, select the win8PE anti-blue version to enter the system
② sign in the Bootice software on the desktop, follow the backup steps, select your hard drive-- windows...-- restore mbr--- to load your mbr backup files-- OK (and then restore it)
Turn off the ③, unplug the USB drive, and start the computer (you will find that you have directly entered the window10, and the centos7 is gone again)
④ in the win10 environment, download EasyBCD (a very powerful software) (Baidu download) the next operation: Win10 dual system CentOS7 installation can not start Win10 solution-system box
Note: if it goes well, the installation of the dual system will be completed, and if it doesn't go well, there will be problems.
It is true that the startup item of centos7 appears after the completion of the ④ operation, but can not enter the centos system and display the character interface of grub >, so do this for a long time: Win8.1 + CentOS7 dual system U disk installation + + boot repair _ ZCShou_ Sina blog
4: finally complete the dual system installation!
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.