COME: Dual Boot Antergos & Windows UEFI (Expanded) – by linuxhelmet

COME: Dual Boot Antergos & Windows UEFI (Expanded) – by linuxhelmet

Hardware & Software Requirements

  1. Pre-existing Windows 10 device or other operating system (x64).
  2. External HDD / USB flash drive / cloud storage to backup personal files.
  3. USB flash drive for Windows live recovery media (16gb or larger recommended).
  4. Decent internet speed to download and install Antergos ISO.
  5. Antergos ISO of your choosing.
  6. Software to burn Antergos live install ISO onto USB flash drive.
  7. USB flash drive for Antergos live install media (2gb or larger recommended).

Prerequisites

  1. Back up all pictures, documents and other personal files onto an external storage location. This can be a external HDD, a USB flash drive, or even onto your choice of cloud storage. Just ensure that all your files are backed up so as to prevent data loss during the Antergos installation process.

  2. Write down or acquire any product keys for paid software to prevent loss of software if something does fail during the installation process.

  3. Be prepared with two USB flash drives. One drive will be used to create the live recovery media for Windows, while the second drive will be used to make the live media for Antergos.

  4. Decent or fairly fast internet is needed to download the full live install ISO for Antergos. The ISO itself is 1.8 GB roughly and depending on internet speeds the install will require a solid internet connection during the install process. Install can take 30 min. and up depending on internet speed.

Backup Windows Operating System

This is a practice that is recommended regardless of if you are installing a new operating system or just trying to recover your existing Windows.

  1. You can find the Recovery drive creator by opening Control Panel (Windows key + S)
  2. Type in "Control Panel"
  3. In the Control Panel you can either search for Recovery in the "Search Content" box OR change "View by: Category" to "View by: Large Icons"
  4. Open Recovery
  5. Click "Create a recovery drive"
  6. Insert the USB flash drive (16 GB or <)
  7. WARNING: Make sure nothing important is on the flash drive before starting this process!
  8. It's recommended to check the box stating "Back up system files to the recovery drive" before clicking next.
  9. Make sure you know which drive is your flash drive before continuing.
  10. Proceed to follow prompts to create recovery media. This may take some time. When done proceed to safely remove the USB flash drive.

Downloading the Antergos ISO

There are four versions of Antergos Linux ISO when installing the system. però, no matter which ISO is used, the end result will be the same.

  1. Antergos Live: 1.8 GB approx. It comes pre-installed with extra packages and a live desktop. This is the recommended version to download.
  2. Anergos Minimal: 450 MB approx. It comes with minimal packages. The first two versions can be found here.
  3. Antergos Nvidia: 1.3 GB approx. It offers an easy way to install Antergos with the latest Nvidia card drivers. The third version is here.
  4. Antergos Custom: It offers additional DE's available in the installer that may not be in the official Antergos Live ISO. The fourth version is here.

Installing Antergos Live to USB flash drive

If you are starting with Windows as your main operating system software is needed to create the Antergos Live USB. Popular software for this include programs such as Rufus or Etcher. Fare così, simply download either of the tools and then, for Rufus simply follow the instructions here. For Etcher, simply select the desired ISO and the drive, and then hit "Flash!"

Rufus

Rufus

Etcher

Another option if you are using a Linux operating system is to use the following commands in terminal to create the live USB of Antergos:

sudo su
cd Downloads (Downloads is where I saved my Antergos ISO)

cat antergos.iso > /dev/sdX

sdX is just a placeholder. Replace the X with your proper location for your flashdrive (in my case this was /dev/sdb)
antergos.iso is also a placeholder. You can right click on the iso and go to “Rename” where you can just copy the name into terminal.

To find out where your flashdrive is located use the following command:
lsblk
This will spit out all of your sda/sdb/sdc ect. outputs. Find your usb then replace that with sdX
(As far as I know you won’t need the drive numbers only the drive letters Ex: sdb NOT sdb1)

  1.  

  2. Install Antergos

    We have everything set now for the installation. Insert the live USB of Antergos and reboot the system. Since you have changed the boot order to USB, you should be able to boot from Antergos live.

  • FYI, if you see that Antergos live session is not booting in to GUI and you only see commands running, turn it off and on again. I know it’s cliche but it actually works.

Expansion: I have ran into this issue a number of times. I also know that sometimes the cat command you performed earlier ONLY finishes when your terminal looks like this (with no blinking cursor or any commands running):
[[email protected] ~]$ [_]

If it doesn’t you will have to run the command AGAIN and re-install the live USB. I also have found that reformatting the drive to fat32 sometimes helps.

  • Once you are in the live session (default session is GNOME), you’ll be presented with the option to install Antergos.

Expansion:
I have found with the current install process (2/2016) you are presented with Antergos USB for UEFI and Antergos CD/DVD. If you select USB you may get this error:
“antergos error loading \arch\boot\vmlinuz not found”
In which case selecting Antergos CD/DVD should fix the issue.
If you continue to experience an issue feel free to report the bug in these forums.

  • You’ll be presented with a number of screens afterward. You just have to click next in most of them.

    Choose Language

    Some preinstall checks

    Location preference

    Timezone selection

    Keyboard layout

  • At one point, it will ask which desktop environment you want to install. There are six choices. Choose the one you prefer.

  • Next it will give you the option to install some additional software. You can choose to install them or skip them for the moment. Your choice.

  • Partitioning

    When you come at the screen, select the second option (Choose EXACTLY Where Antergos is Installed). If you choose the first option, you’ll lose Windows. In the second option, we’ll manually edit the partition and tell the system where to install Antergos.

Side note:
Using a mb to gb converter is an great way to calculate how much you want to shrink and define all your partitions.

  • You’ll see a partition table, something like the one below. If you have already made some free space, you should be able to see it. If you have not, just delete some partition (except C drive).

  • Select the free space partition and click on + New. Now, create a Root partition. Root partition is where the operating system and the applications will be installed . An amount of 15-20 GB should be sufficient for it. But if you could give it more, it would be better.

  • The root partition will be type ext4 and type Primary.

  • Next is to create the /boot/efi partition. Actually, we don’t need to create it! Windows already has it. We can just specify the path to it. Just make sure to NOT format it.

Expansion:
Even if you are re-installing Antergos on a dual boot DO NOT format the /boot/efi partition. Only edit it.

  • In the screenshot of partition table, see the /dev/sda2 partition? This is where UEFI settings are and this where the system decides how to boot. The sda number could be different for you, but the label should be ESP and the type fat32. Select it and just add the mount point as /boot/efi

  • So, we have root, we have boot. Now make Swap partition around the size of your system’s RAM. If you have more than 4 GB of RAM, swap memory size should be half of the size of RAM.

Expansion:
Swap is an important part of any system. Without swap memory certain programs can crash or cause errors without it. Swap is a good practice but NOT required. You may go without this step AT YOUR OWN RISK. I always dedicate at least 2-4gb of swap to keep things from going haywire. But to each his/her own.

  • And in the similar fashion, create a Home directory. Home directory is where your documents, downloaded files and music will go.

  • Questo è tutto. We have root, boot, swap and home. We are good to go. Hit on Install now to proceed with the installation:

  • Rest of the things are again a walk in the park. You’ll be asked to enter a username and password. I presume that you know what to do here.

 

Expansion:
There were a few elements I found that the author did forget to mention is after you install Antergos. I will add these steps as well as how to re-install Antergos should something go wrong.

Finding Windows 10 for Grub

Once you are inside your nice new Antergos OS, you may notice that on boot up you are given an option for Antergos or Troubleshooting in grub but NO option for Windows. Don’t freak out your Windows should NOT be gone.

  • Go into Antergos, find terminal and type in the following command:
    sudo os-prober

    (if you don’t have os-prober install it using the following: sudo pacman -S os-prober)

  • Once this is done it should list something similar to what I have below:/dev/[email protected]/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

    (If it didn't find the windows partition you might have to install the ntfs-3g package using the following:

    sudo pacman -S ntfs-3g)

     

  • Great! You found it. Now to update your grub so that it can see it.
    Update grub:
    grub-mkconfig -o /boot/grub/grub.cfg

  • Reboot

    Final OPTIONAL Tweaks

Now you should see both Antergos and Windows 10 on /dev/sda2 when you start your machine. You can now use the arrows to select either option. But wait…what if you need longer to decide or you don’t want to have to wait 5 seconds for it to automatically select Antergos?

  • Go to terminal and edit grub for faster/slower countdown:sudo nano /etc/default/grub Your grub file should show up. In nano you can use CTRL + O to save and CTRL + X to exit. Be CAREFUL with this file. To edit your countdown time look for the following lines:

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=“Antergos”

  • You can now change the GRUB_TIMEOUT to the number in seconds you desire. (Don’t use 0 seconds unless you don’t want to be able to select an option!) I personally like a 1 second countdown due to rarely using Windows. My grub looks like the following:

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=“Antergos”

  • CTRL + O to Save the document then CTRL + X to exit back into terminal. Next you want to update your grub file by using the following:grub-mkconfig -o /boot/grub/grub.cfg Reboot and your done!

    Re-installing Antergos on a Dual Boot System

This is for anyone with an Antergos/Windows or multi-boot situation in which you need to re-install Antergos. You will need to go back to your live USB you made for Antergos and get into the live desktop. There may be troubleshooting tools with the live media so if you can use those if there is a system problem with Antergos or the troubleshooting options available at grub boot up. If not keep reading.

  • Boot into live media and go through the steps for installing Antergos again.

  • Select the option for:
    “Choose exactly where Antergos is installed”

  • This time, go in and wipe out all of the partitions you created from the earlier steps until you have the same amount of hard drive space that you originally allocated for Antergos.

  • DO NOT delete/format the /boot/efi, Only edit it again.

  • Everything should work the same from here on out. Just follow the instructions above for installing and you should be back up and running in no time.

  • EDIT: Some Skylake processors (6th generation) have been noted to have issues with the dual boot sequence referred to above. It is speculated this issue is due to a kernel problem and should be fixed by kernel 4.6.

Sources:
http://answers.microsoft.com/en-us/windows/wiki/windows_10-win_upgrade/how-to-create-a-recovery-drive-for-reinstalling/58df9c7d-84de-4652-9952-8bac34abc6c5

http://www.techrepublic.com/article/be-prepared-create-a-windows-10-recovery-drive/

http://www.fosslinux.com/1234/how-to-create-a-antergos-live-usb-drive-in-windows.htm

https://linuxundich.de/gnu-linux/anwendungen-stuerzen-unter-antergos-ab-adwaita-workaround/

Issues with Cnchi

If your problem isn't here, please ask on the Forum.

 

*** The above HOWTO is a copy/paste of linuxhelmet sole work, whom I wish to thank for his contribution.

***Edit 06/06/2016: linuxhelmet here fixing a few typos and other things. Thanks anarch for posting this in my behalf!

 

Contributors:

(visitato 266,412 volte, 5 visite di oggi)

Pin It on Pinterest

Share This