Install HD

How to install ArchEX 64bit to hard drive
This can be done in two ways, the “normal” Arch Linux way or using Calamares Installer (System Installer). When installing the “normal” way you can add programs which is not included in my Arch Linux Build (ArchEX). When using ArchEX Installer you will get an exact copy of the ArchEX system on your hard drive. After that you can of course install all “extra” packages you want.

1) Using Calamares Installer (ArchEX new Installer)
Start Calamares from the LXQt menu >> System Tools >> ArchEX Installer. Go through every step. Watch a slideshow below showing all Calamares installation steps. As regards ArchEX Build 190612 you’ll have to install the boot loader Grub manually (if you need it). Run the following commands (after you have closed the Calamares Installer).
sudo su
mkdir /mnt/sda1

mount /dev/sda1 /mnt/sda1
arch-chroot /mnt/sda1
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Change the commands to suit your hard drive installation of ArchEX. I.e. if you need Grub. NOTE: The Calamares Installer works perfectly well in ArchEX Build 210305. I.e. you don’t have to chroot and install Grub.

The Calamares Installer now works perfect.

You should not trust Calamares/ArchEX to replace a working Grub configuration on an UEFI computer. I mean if you already have a ESP (EFI System Partition). Instead you should read my articleHow To dual boot, triple boot or multi boot Linux with Windows in a simple way and be happy”.  I.e. you should install ArchEX without installing Grub. Just edit /boot/grub/grub.cfg on the partition where you have Grub installed. Add the following start lines for ArchEX:
menuentry ‘ArchEX Install 200930 (sda5-Samsung_T5)’ –class arch –class gnu-linux –class gnu –class os $menuentry_id_option ‘osprober-gnulinux-simple-74ec6153-873d-4617-9d9a-873444c273fc’ {
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search –no-floppy –fs-uuid –set=root 74ec6153-873d-4617-9d9a-873444c273fc
search –no-floppy –fs-uuid –set=root 74ec6153-873d-4617-9d9a-873444c273fc
linux /boot/vmlinuz-linux root=UUID=74ec6153-873d-4617-9d9a-873444c273fc rw splash
initrd /boot/initramfs-linux.img

NOTE: You shall of course change UUID to suit your setup. NOTE also: On one of my UEFI computers I have10 (10) OS installed today. Windows 10, ArchEX and eight (8) other Linux systems. Study my Grub configuration.

To do when you start up ArchEX from hard drive for the first time

You can now login to Deepin or LXQt from LightDM login screen as your own created user or as user exton (as when running ArchEX live).
1. One of the cool things about Arch Linux is the Arch User Repository (AUR), where users can add their favorite packages to Arch. Read this instruction how to install Yay. When you have installed Yay you can install for example Spotify. Watch this screenshot when Spotify is running in ArchEX. Note:  In ArchEX Build 200930 Yay and Spotify are pre-installed.
2. To set the keyboard layout in X permanently you shall add the following two lines to ~/.xinitrc (example for Sweden):
setxkbmap se &
exec startdde
3. Create a new ordinary user with the command useradd -m -G wheel,users,audio,storage -s /bin/bash MyNewUser
3b. Set a password for the new user with the command passwd MyNewUser
4. Possibly go on and install the Cinnamon and/or KDE Plasma Desktops. Screenshot when Cinnamon is running in ArchEX
Screenshot when KDE is running in ArchEX
7. Or perhaps you prefer the Xfce4 Desktop Environment – screenshot – or Enlightenmentscreenshot.

2) Installing the normal Arch Linux way
Start up your computer with ArchEX Live DVD and read the official Arch Linux instructions – install.txt (included in /root in ArchEX) and the Installation Guide. See also my example below. I use /dev/sda5 as install (root) partition. Run the following commands etc:

mkfs.ext4 /dev/sda5
mount /dev/sda5 /mnt
pacstrap /mnt base base-devel
pacstrap /mnt nano leafpad lxqt xorg-server xorg xorg-apps xorg-xinit wicd wicd-gtk gparted xterm libreoffice firefox alsa-utils gimp gdk-pixbuf2 ntfs-3g ttf-dejavu libvdpau-va-gl mesa-vdpau

(Just examples. You can of course add other or more packages)
Copy the file xinitrc-lxqt to /mnt/root and change the name to .xinitrc
arch-chroot /mnt pacman -S grub-bios (if you need Grub2)
genfstab -p -U /mnt >> /mnt/etc/fstab
To use your SWAP partition change /mnt/etc/fstab to look like this
arch-chroot /mnt
nano /etc/hostname (choose the name you want)
ln -s /usr/share/zoninfo/Europe/Stockholm /etc/localtime
nano /etc/locale.conf (example: LANG=sv_SE.UTF-8)
nano /etc/vconsole.conf (example: KEYMAP=sv-latin1)
nano /etc/locale.gen (uncomment for example sv_SE.UTF-8)
mkinitcpio -p linux
passwd root

exit (leave chroot)
umount /mnt
Reboot your computer if you have arranged with Grub2, Grub Legacy or…

How To dual boot, triple boot or multiboot Linux with Windows in a simple way and be happy
Before installing ArchEX/Arch Linux or any other Linux system my general installation instructions may be of interest.


Based on Arch Linux