Since you have all the things ready, it’s time to finally install the Arch Linux. reflector -c "US" -f 12 -l 10 -n 12 -save /etc/pacman.d/mirrorlistĪll good to go now. You can change the country from US to your own country. Now, get the good mirror list with reflector and save it to mirrorlist. Make a backup of mirror list (just in case): cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak Now, install reflector too that you can use to list the fresh and fast mirrors located in your country: pacman -S reflector
First sync the pacman repository so that you can download and install software: pacman -Syy The top mirror is chosen automatically and it may not always be a good choice. It’s because the mirrorlist (located in /etc/pacman.d/mirrorlist) has a huge number of mirrors but not in a good order. In some cases, it’s so slow that the download fails.
If you just go on installing it, you might find that the downloads are way too slow. This is a big problem with installing Arch Linux. If you get bytes in reply, you are connected. Now, we’re connected to the network, but to make sure, you can check if you could use the internet by using the ping command: ping If it is protected by a password, you will be asked for it, enter the credentials and you should be connected to it.Įxit the network setup prompt using Ctrl + D. So, to see the connections available, you can type in: station wlan0 get-networksĪmong the listed networks, you can connect to your target Wi-Fi using the command: station wlan0 connect "Name of Network/WiFi" While it scans for the network, you don’t get to see the network names yet. Once you select the wireless interface, scan for available network using the command below: station wlan0 scan Next, you can list all your wireless interfaces/devices connected using the command: device list Just enter this command and follow the on-screen instructions: iwctl You can connect to WiFi interactively using this helpful utility called iwctl. So just make it ext4: mkfs.ext4 /dev/sda1 Step 5: Connect to WiFi Once you have the entire disk space free, it’s time to create new partitions with command n.įor non-UEFI system, you only have one single root partition. I suggest that you delete any existing partitions on the disk using command d. I am using /dev/sda because that’s more common.įirst, select the disk you are going to format and partition: fdisk /dev/sda Please use the appropriate disk labeling for your system. Your hard disk should be labelled /dev/sda or /dev/nvme0n1. Use this command to list all the disk and partitions on your system: fdisk -l Step 4: Partition the disksįor partitioning the disks, we’ll use command line based partition manager fdisk. You miss one step or ignore something and you’ll have a difficult time installing Arch. Next steps include partitioning disk, creating the filesystem and mounting it.Īgain, read all the instructions properly and follow each steps carefully. For example, if you want German keyboard, this is what you’ll use: loadkeys de-latin1 If you face difficulty, you can list out all the supported keyboard layout: ls /usr/share/kbd/keymaps/**/*.map.gzĪnd then change the layout to the an appropriate one using loadkeys command. While most English language keyboards will work just fine, the same cannot be true for French, German and other keyboards.
The systemd files are there to automatically update the stuff on the EFI partition when you run mkinitcpio or update the kernel.The default keyboard layout in the live session is US. The first line is the default, other lines can be selected by pressing '+' at the refind menu.Īt this point, it should boot, but it will break when you update anything boot related. I recall there being an EFI partition already there, so I mount that as /boot/efi in linuxĬreate a new directory for arch, which (IIRC) would be /boot/efi/EFI/ARCH (I already had a directory /boot/efi/EFI/APPLE, so just sitting next to that)Ĭopy your initramfs, kernel, etc to that ARCH directory, giving the kernel an extension 'efi' (eg vmlinuz.efi)Ĭreate a file 'nf' (I think I called it 'nf' but we'll follow the wiki), which includes all your boot parameters. If the directions seem complicated, you probably don't need to do that part.Īnd then I don't use any bootloaders (grub/ syslinux/ etc), just boot linux directly as per the documentation is under EFISTUB, but in essence: That site has much more information than you need for a basic install.
I believe that is installed on the Mac partition and blessed. If it would be helpful, I can verify later.Įssentially, I use refind (which is supposed to be 'refit refined'). I dualboot Arch on a MacBook Pro, but I don't have it with me, so this is from memory.