I’m primarily posting this more for my own benefit as I have installed two systems with dual boot and if I need to do this procedure again I will have all the information I used compiled into 1 web page rather than 3 or 4.
Primary Reference (I take no credit for this info simply posting it here for reference and will be editing/expanding upon already known information):
PS: sorry for no screenshots didn’t have time to add them so refer back to this reference for pictures.
Back up your data: Most common and often ignored advice. Usually, I keep my documents backed up in Dropbox and pictures and music backed up in Copy cloud storage. It is up to you to decide how to backup your data. Just do not keep important stuff on your system’s hard disk.
Have at least two USB drives: One of live Windows version and the other with live Antergos on it. This will ensure that in case something goes wrong, you can repair or re-install either of the two operating systems.
Have a very good internet speed: Even if you download the ISO of full version of Antergos Linux (which is around 1.6 GB in size), you’ll still need to have a good internet speed because it requires to download the packages for the installation. The download and the installation take some time. Keep around 30-45 minutes free just for the installation.
Once you have the prerequisites, let’s see how to install Antergos on top of Windows.
Dual boot Windows and Antergos Linux
Let’s go one by one over the steps to dual boot Antergos and Windows.
Always good to have backups. If you want, you can read this article in detail on how to backup data in Windows.
Download Antergos Linux ISO
There are two versions of Antergos Linux ISO. One is Antergos Live, around 1.7 GB in size. It comes preinstalled with a number of packages. If you could, prefer to download this one. The second version is Anergos Minimal which is around 450 MB in size and as the name suggests, it comes with minimal packages. Both versions have 32 bit and 64 bit builds. You can download Antergos from the link below:
Create a live USB
Since the article is about dual booting with Windows, you can easily create a live USB in Windows using Rufus.
I personally use the following command in terminal to create the live USB of Antergos:
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:
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)
- Create a backup of Windows
Also create a live USB of Windows. It is optional but if you have a spare USB key, better to have a live Windows USB ready. This gives a fall back option.
You can find the Recovery drive creator by opening Control Panel (Windows key + X)
Click Create Recovery drive
This is where a second USB flashdrive comes in handy for making a backup for Windows 10
- Make free space for installing Antergos
The next thing you need to do is to free up some space where you would install Antergos. Anything above 30 GB should be good. The more, the merrier.
If you already have several partitions on your hard drive, delete one of them
(prefer to delete the last one i.e if you have C, D, E and F drives, delete F),
if you do not have important data on it because all the data on the aid partition will be lost.
If you have only one drive i.e. C drive, you need to shrink it to free some space.
Go to Disk Management tool. You can find disk management tool by searching for ‘disk’ in Control Panel.
In the Disk Management tool, right click on the drive which you want to partition and select shrink volume. In my case, I shrank the C drive to make some free space: (Reference link for photos)
Now when you have some free space to install Antergos. Don’t rush. We still need to do a few things before dual booting Antergos with Windows.
- Disable fast startup
An advisable thing to do before installing Antergos is to disable fast boot in Windows.
To disable fast startup, go to Control Panel > Hardware and Sound > Power Options > System Setting > Choose what the power buttons do and uncheck the Turn on fast startup box.
If you have trouble check out this screenshot tutorial on turning off fast startup in Windows. (see Reference link)
- Disable secure boot
This is a must to do thing for installing any Linux with UEFI boot system. If you won’t do this, you might end up with with no bootable device found or similar booting issue. Go to UEFI firmware settings and look for Secure Boot option under the Boot tab. Change the value to disable it.
disabling secure boot option in UEFI
If you do not know where to access it, refer to this tutorial to know how to disable secure boot. If you are using Acer laptops like me, read this article to see how to disable secure boot in Acer laptops. (REFERENCE LINK or quick summary below)
I have an Acer and a Lenovo. Getting into BIOS to disable secure boot is different with each manufacturer. With Lenovo I believe it is F2 and then you just turn secure boot OFF. In Acer I believe it is F10 and then you have to set a password for your BIOS before it will give you permission to turn secure boot OFF. (Yes it is sometimes a pain to do this as manufacturers don’t like users in the BIOS.)
Change boot order to boot from USB
Since by this time you should know how to access UEFI firmware settings. Just go to UEFI boot settings and under the Boot tab, change the boot order to USB or removable disk. This way when you plug in the USB, you will be booted from USB first instead of the hard disk.
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: Sometimes. Lol. 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 (Possible Bug?):
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.
Some preinstall checks
At one point, it will ask which desktop environment you want to install. There are six choices. Choose the one you prefer. I have chosen GNOME because it looks awesome when coupled with Numix theme.
Next it will give you the option to install some additional software. You can choose to install them or skip them for the moment. You choice.
When you come at the screen, here 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. (Reference link photo)
Using a mb to gb converter is an awesome 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. In here, create a Root partition. Root partition is where the operating system will be installed and so will be the applications. An amount of 15-20 GB should be sufficient for it. But if you could give it more, it will be better.
The root partition will be of type ext4 and of type Primary.
Next is to create the /boot/efi partition. Actually, we don’t need to create it. Windows already have it. We can just specify the path to it. Just make sure to NOT format it.
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? (No, so go to reference link) 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 of 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.
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.
That’s it. 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.
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:
(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
Great! You found it. Now to update your grub so that it can see it.
grub-mkconfig -o /boot/grub/grub.cfg
- 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 and enjoy to your heart’s content. 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:
- 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:
- 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 a Antergos/Windows or even 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 even 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, however, 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 else 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.
Hope this helps! If you have any questions or if there is anything I need to change/add let me know!