Practice: Install both Windows 8 and archlinux on EFI and GPT

Source: Internet
Author: User

The company's new Dell e6430 has no Bluetooth, no camera, and no charge. It only assigned a zone. Last week, the system was completely redone. The basic solution is EFI boot and GPT partitioning.

Windows 7 is pre-installed in the notebook. after July, Windows 7 is pre-installed in Microsoft and can be upgraded to the Win8 Professional Edition through the official version of Windows 15.53. Directly upgrade to Win8. Microsoft's Win8 update assistant can launch a USB flash drive. Saving yourself the trouble of creating a Windows boot disk.

Because it is an EFI + GPT solution, you need to format all the disks, and the Dell will not be able to recover all of these features.

  1. Enter the BIOS settings of the notebook (the BIOS is already simulated by EFI) and change the startup mode to EFI.
  2. Insert the Win8 boot USB flash drive and choose to start it from the USB flash drive at startup.
  3. Windows 8 will prompt you to format the hard disk into GPT to support EFI, delete all the original partitions, create a partition of more than 15 GB, the installer will automatically add two partitions, in this way, MSR (Microsoft system backup) is m, ESP (EFI system partition) is m, and Windows system partition is G. Leave the remaining space empty for Linux
  4. Select a Windows system partition for installation. The Windows Installer automatically bootmgfw the Windows boot program under the ESP partition. when EFI is added to EFI, we keep it to prevent grub from urgently standby when Windows cannot be started. The installation and configuration of windwos are complete.
  5. Use archlinux to start the USB flash drive and use parted or cgdisk to partition the remaining space. I divided three zones, one/home, one/, and one/swap. The ESP partition directly uses the Windows Installer partition.
  6. Follow the steps to install grub-install. Note that you need to mount the ESP partition to/boot/EFI. Otherwise, it will be directly installed to the/boot/GRUB/directory, then you can manually copy the EFI file to this directory. The EFI file searches for grub-related configurations based on the parameters during installation.
  7. In this way, grub boot may not be added to the EFI boot option. You can manually add it in BIOS settings.
  8. Add Windows 8 boot to grub. Set GRUB boot to the default startup Item.

Precautions for grub Installation

  1. The best way to use the root path of grub is to use UUID, because some computers will occupy the ID number of the external device to the front.
    Search-l label
    Search-U or -- FS-UUID use UUID
    Search -- FS-UUID -- set = root xxxxxx
    Use sudo blkid to view the uuid of the partition
    The settings are as follows:
    set root=(hd0,gpt1)  //msdos1windowsinsmod chainchainloader /efi/Microsoft/Boot/bootmgfw.efi
  2. If you do not use EFI boot, you can do this directly.
    insmod ntfsinsmod ntldrntldr bootmgr

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.