Goal: Examine arch install for multiboot situation.
The last time I wrote about Arch install is in 2014 (nine years ago).
I do every single command in black TTY terminal under arch installer. But for illustration, I give it some white terminal screenshot. So my article could be easier to be read.
Nine years ago I wrote this: Arch philosophy is about knowing your system. It doesn’t give fancy installer. In fact you have to do it all manually with command line without installer. Before you step in, you have to be brave to walk with command line. And be sure you have read the manual.
The difference is, now you can have archinstall script that can guide you, and that means you can entirely skip this article.
I still prefere manual install. Because I still need to update my knowledge.
Nine years ago I wrote this article:
It is worth the risk. Your few days of installing Arch give you more knowledge than a year with Kali. After you get the knowledge for a while, you can install it again in just a few minutes.
Many beginners asking for guidance to install Arch. There is actualy two steps. First step is Install Vanilla Arch itself. Until you get your first root login after boot. The second step is Post Install. e.g. setup Wireless, or setup WM/DE (Desktop Environment).
If you feel that you are not ready for Arch, you can still improve your skill with other distro.
Table of Content
- Table of Content
- A: Prepare the Bootable
- B: BIOS and Windows Setting
- C: Partition Setup
- D: Wireless Connexion
- Arch :: Install Log
- 1: Changing Root
- 2: Basic Setting
- 3: Prepare System
- What is Next?
Better safe than sorry
For multiboot situtation, the longest time you need to do is not installling. But, backup.
Please prepare your journey by backuping your data first.
A: Prepare the Bootable
If you are a windows user, you can use
Linux user would simply love
Since I also use pipe to
and pipe don’t do well with sudo,
I intentionally use
so the next command (
pv) already has the priviliges.
B: BIOS and Windows Setting
Yes we need to learn to coexist.
Please disable the boot secure.
If you are using Windows 10 or later,
without boot secure, you need to disable
C: Partition Setup
As usual we need to prepare the partition.
My SSD capacity is about 500 GB, This is what I plan.
In real life situtation
We have to deal with
and also swap.
I also preserved about 74 GB empty space for Gentoo. Note that the number is rounded, and the total sum is just approximation.
I’m using the free Easeus to manage the partition. First I create the Docs as NTFS. Then I create empty space for swap, rot and other partition as well.
As a linux user, you can see the GPT artition structure is flat, different with MBR.
The docs is, my data partition in windows. And the works is, my data partition for daily usage in linux.
For more multiboot fun, you can read in my other article series.
D: Wireless Connexion
This is something you can try in other linux, as practice preparation, before you get into real arch linux installation.
The arch linux install comes with this good
More about iwd can be read here:
iwd is definitely easy to be used.
Arch :: Install Log
Let’s get into it. Boot the arch installer. And see what we’ve got.
What I feel is the boot take a little bit longer than I expect. Maybe it becuase of my notebook.
Then I found that sometimes my terminal suffocated with a lot of information. I try to reboot, then it’s gone. But sometimes it comes again, very annoying. I solve this with this two commands:
Connecting to the internet
Yes, of course, first thing to do is,
connecting to the internet.
As I said you can use
After connected with internet,
you can immediately use
1: Changing Root
Formatting The Root Partition
I wpuld like a fresh start.
So I format the
nvme0n1p71 partition with ext4.
Mount All Partition
We are going to chroot, so we need to mount all required partition.
And also the EFI part.
And finally the swap.
Note that, some tutorial mount the EFI in
But I choose different method.
Now we can fill with some basic packages, required to run the system.
You are going to see packages downloaded from internet, similar to below figure:
Generate File System Configuration
And we also need to configure
in order to
This is the most important part. Changing the root, from the arch installer, into your newly installed one.
I’m a fan of chroot in multiboot situation. You can also chroot, from any running linux partition. Not just arch installer from bootable flash disk, but also from different partition.
I would like to know the result of our previous
Since it has a lot of comment
I filter using
-v grep exclusion .
The fstab format is concise,
but it doesn’t seems clear to me in narrow terminal.
so I’d better use
I really think that text editor can be useful.
Do this inside the chroot.
2: Basic Setting
Also uncomment your chosen locale, or just write it if you dpn’t have any text editor already.
Here I invert the grep with
Now we have required file to build by
The system wide setting,
that actually used the locale is in the
You can still set without text editor.
Let’s change a bit,
utama is the hostname I want.
Now we see what’s in there.
3: Prepare System
I understand in install process we become doer, without really understanding of what is really going on.
This will make the
initramfs as below:
If you are curious you can go further examining,
lsinitcpio after you finish your install,
and do not forget the sudo thing.
We can do it later.
This is also a task you don not want to forget.
If you forget, you can always
I should learn new knowledge about EFI stuff.
The command would install the
or something similar.
We require the EFI boot manager, to understand the situation.
Now you can see this:
With BIOS managed boot, we do not need to worry about windows boot in the first place. This means, we can ignore os-probe while doing installation, and take care of the windows boot in GRUB later on.
Your screen would output text similar to this menu entry:
The configuration itself would looks like something below:
I will skip this part. My goal is succeed in booting linux.
The windows menu configuration can be configured later after boot.
Prepare Post Install.
Networking is only one thing to be rpepared for post install.
So you’d better install
iwd in the first place.
You can change to network manager later.
Or if you can also install network manager.
That is all.
We can finally
exit your chroot.
go back to acrh installer.
Check if your arch linux can boot correctly using EFI from BIOS. Also check from BIOS if your windows boot is still there, and run correctly.
What is Next 🤔?
Form Installment, we can dive into post installment.
Consider continue reading [ Arch: Post Install ].