Win8 and Ubuntu dual system installation

Source: Internet
Author: User
Tags change settings

Made a dual system of Windows and Ubuntu, reference some articles. A lot of information on the Internet, I will not repeat. Refer to some of the articles below: Ubuntu 14.04 and Windows 8.1 dual-system installation steps: Http://os.51cto.com/art/201405/439158.htmUEFI mode installation WIN8 and Ubuntu dual system: http:/ /www.enjoydiy.com/1961.html full version of WINDOWS8 Uefi Secure Boot Protocol interpretation: http://article.pchome.net/content-1405932.html Pre-installed Win8 CentOS dual system dual HDD EFI boot: http://blog.51yip.com/linux/1539.htmlwin8 Ubuntu dual system installation: http://blog.csdn.net/koffuxu/article/ details/8845922 In addition, here is a document: http://pan.baidu.com/share/link?shareid=909965749&uk=3374282709----------------- ------------------------------------------------just bought the ThinkPad t430u 64-bit notebook, found that install Linux is a very troublesome thing, previously installed a Linux system, configuration of dual-boot, It takes 1 hours to get it done, and this time I've been able to install the centos6.4 with a dual-boot, which took three weeks. After the success of the double start and installed the arch, now the notebook is three systems, three weeks of time, the notebook restarts less than 300 times. I don't know if I can succeed, so I didn't make any detailed notes beforehand. So below, just a rough record. Note that before the actual operation, be sure to read this blog a few times, understand clearly, in action. One, close secure boot boot press F1 enter Bios=>security=>secure boot notebook different, may secure boot configuration is different, will it disabled off, otherwise, choose USB drive, disc start is not valid, The report has no permissions. Second, the BIOS configuration startup item, the default EFI only, changed to bothbios=>startup=>uefi/legacy boot boot priority There are three choices, 1,efi only (note: default) 2,both (Note: Two ways are available) 3,legacy only (Note: GRUB1) said here that the startup root select USB flash drive, the disc boot is not the same. Here the startup is, multi-system installed, and select the startup mode. While the USB drive starts, the disc starts this situation is the system has not installed when the selected installation starts. My book, press F12 can choose USB boot, or CD-ROM boot. Why do this step, if not changed, the default is installed on the second hard disk above, that is, EFI's default boot disk, when installing CentOS: Win8 installed Centoswin8 CentOS There is no "replacement settings" this button, and the bootloader can only be installed in/dev/ Sda2 above, select the case, centos6.4 64 bit, the basic installation is not successful, all packages after installation, the configuration prompt error, an unhandled exception have occurred.this is most likely a Bug.plese C Opy the full text of this exeception and file a detailed bugs Report.against anaconda at http://bug.centos.org/Let's commit the bug to Cento S, this is a bit of a pit dad. After you change EFI only to both, reinstall, the "Change settings" will appear, and the boot program to the CentOS partition, so that CentOS can be successfully installed, how to install the Internet too much, here will not shiver. Third, with EASYBCD and pure Grub1 realize double Kai is impossible with EasyBCD and pure grub1 realize double Kai simply impossible, we don't waste time. Online has said easybcd2.2 can realize, I tried countless times not. In the boot priority selection, legacy only, save restart, the long-lost CentOS interface appeared, that call an excitement. The lower arrow key selection Others,windows not go in. Anyway still a little happy, CentOS installed successfully, my confidence increases, through GRUB1, I think can start Win8, then I began to try to use Grub1 start Win8, and try not to know how many times not. I think it's impossible to start entirely on grub1. Four, with the CentOS self-made EFI implementation of the double-start, or is multi-kai, this piece is the focus of this article, I hope you can understand my ideas. 1, start priority, select Legacy only, go to Centos2, download three files, bootx64.conf Bootx64.efi splash.xpm.gzhttp://mirrors.163.com/centos/6.4 /os/x86_64/efi/boot/or from an ISODecompression in the mirror is OK. 3. Mount the EFI boot disk to view the copy print? Mkdir/mnt/usb mount/dev/sda2/mnt/usb cd/mnt/usb mkdir image cp/boot/initramfs-2.6.32-358.el6.x86_ 64.img./image/initrd.img cp/boot/vmlinuz-2.6.32-358.el6.x86_64./image/vmlinuz on the root of the EFI startup disk, which is/dev/sda2 above, Build an image folder, put the loaded cenots kernel, why should I do this, because bootx64.conf this file is so dry. View copy print? [[email protected] image]# ll/mnt/usb/image/total dosage 26812-rwxr-xr-x. 1 root root 16532286 June 1 18:11 initrd.img-rwxr-xr-x. 1 root root 3089184 June 1 19:11 initrd.img-arch//This is arch, fitted with a three-system-rwxr-xr-x. 1 root root 4043888 June 1 18:10 vmlinuz-rwxr-xr-x. 1 root root 3778496 June 1 19:10 vmlinuz-arch//This is also the arch, 4, this step to build Redhat directory is superfluous, I was in accordance with the steps of the operation time to write this blog view copy print? [[email protected] efi]# mkdir/mnt/usb/efi/redhat Why Redhat, not CentOS, installed centos,/boot/efi/ EFI (Note: This directory under boot of the system, not sda2), this directory has redhat, later I know that this directory is useless. Take the above three files bootx64.conf Bootx64.efi splash.xpm.gz,copy to the/mnt/usb/efi/redhat directory to see my configuration: View copy print? [[email protected] redhat]# cat bootx64.conf #debug--graphics default=1 #splashimage =/efi/boot/splash.xpm.gz timeout=5 #hiddenmenu title CentOS 6.4 kernel/image/vmlinuz ro root=/dev/sda7 initrd/image/initrd. img title Windows8 chainloader/efi/microsoft/boot/win8.efi title ArchLinux kernel/image/vmlinuz-arch ro root=/dev/sda9 Initrd/image/initrd.img-arch above the Win8.efi is Bootmgfw.efi Backup, later I bootmgfw.efi also replaced, the following will be mentioned, this thing started win8 with. Five, restart the test restart F1, enter the BIOS, set the boot priority to EFI only, save the re-start grubgrub> configfile/efi/redhat/ BOOTX64.CONF Note: Grub Below is fixed, the Linux system is capitalized, it is best to use the TAB key. Then three startup options appeared, I chose, all can enter, that call an excitement ah, not far from success. Grub> Chainloader/efi/microsoft/boot/win8.efiwin8 is also possible to enter as long as the boot can let EFI recognize bootx64.conf this file, and read, make this set. Then I began to redhat this directory everywhere copy, found no, I bootx64.conf Bootx64.efi splash.xpm.gz, the three files everywhere Copy,efi below each directory I tried. No way. Six, Refind EFI Launcher no way ah, on Google above to find EFI boot tool, see a lot, found the Refind boot Manager is still more reliable. : HTTP://SOURCEFORGE.NET/PROJECTS/REFIND/?SOURCE=DLP, this is the two-in-plate. Official address of the tool: http://www.rodsbooks.com/refind/, download, installation, and instructions for use. Installation configuration address: Http://www.rodsbooks.com/refind/installing.html#linux Here is my operation: Cp-r refind/mnt/usb/efi/cd/mnT/USB/EFI/REFINDRM-RF drivers_ia32rm-f refind_ia32.efirm-rf tools_ia32 viewing copy printing? [[email protected] boot]# ll/mnt/usb/efi/refind///After deletion is such a total amount of 224 drwxr-xr-x. 2 root root 4096 June 1 17:52 drivers_x64 drwxr-xr-x. 2 root root 8192 June 1 17:52 icons-rwxr-xr-x. 1 root root 17774 June 1 20:55 refind.conf-rwxr-xr-x. 1 root root 17911 June 1 17:52 refind.conf-sample-rwxr-xr-x. 1 root root 170824 June 1 17:52 refind_x64.efi drwxr-xr-x. 2 root root 4096 June 1 17:52 tools_x64 If you are a 64 system, remove the 32 and delete 64 instead. MV Refind.conf-sample refind.conf Then configure the refind.conf, my configuration is definitely wrong, if you want to, directly can be used refind into the centos,win8,arch. Instead of Refind to call grub to start the installing Refind manually Using Linux in Http://www.rodsbooks.com/refind/installing.html#linux, Installation method, 6,7 These two steps, did not dare to do, I really can not predict, efibootmgr-c-l \\EFI\\refind\\refind_x64.efi-L refind, the execution of this command will have any consequences. Seven, after reboot, unable to enter the Refind interface and then read the file carefully rename Efi/boot/refind_x64.efi to the name of the BOOT loader it's replacing-it should become Efi/boot/bootx64.efi or Efi/microsoft/boot/bootmgfw.efi. Find something above, operate as follows: ViewCopy print? [[email protected] efi]# cp-r/microsoft/boot/./microsoft/boot_bak [[email protected] EFI]# cp-r./refind/ *./microsoft/boot/[[email protected] efi]# CD./microsoft/boot/[[email protected] Boot]# CP Bootmgfw.efi Win8.efi//The Win8.efi mentioned above is here [[email protected] boot]# mv Refind_x64.efi Bootmgfw.efi First efi/microsoft/boot/ This directory backup, so I do not care how to configure the boot directory, I can restore, into the WIN8 absolutely no problem. EFI boot, will default to read/efi/microsoft/boot/bootmgfw.efi, my machine is such a son, the provisions of the dead. Eight, after restarting, you can enter the Refind's boot interface, but no system can go in. Refind is not configured correctly to enter any system, but I found that the second boot entry for Refind was read to/grub/bootx64.conf, and is the default CentOS Bootx64.conf,grub when it was built I forgot that it was downloaded from the original CentOS bootx64.conf bootx64.efi splash.xpm.gz view copy print? [[email protected] refind]# cp/mnt/usb/efi/redhat/*/mnt/usb/efi/grub [[email protected] refind]# cd/mnt/ usb/efi/microsoft/boot/[[email protected] boot]# vim refind.conf timeout 2 default_selection 2//Turn second boot entry to default Know refind read which boot file is good to do, the Redhat below has been configured to copy the files to the Grub directory is done. So my three-system start-up, but there are shortcomings, first, the boot is divided into two steps, the first is Refind boot, and then refind call BoOtx64.conf is booted through grub before it can enter the system. Second, the kernel version, is copy to, EFI boot disk above, upgrade the kernel, also can not use, unless after re-copy the kernel to sda2 above.

Win8 and Ubuntu dual system installation

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.