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 (ArchEX 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.

The Calamares Installer now (170627) works perfect. Before 170627 you had to install Grub (the boot loader) manually. See an example below when I have installed ArchEX in VirtualBox. Run the following commands after you have closed the Calamares Installer.
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1
arch-chroot /mnt/sda1
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
Change the commands to suit your hard drive installation of ArchEX (if you need Grub).
NOTE: If you have downloaded ArchEX after June 26, 2017 you don’t have to run the above mentioned commands. Calamares Installer works very well in ArchEX from 170627. I.e. you don’t have to manually install Grub.

To do when you start up ArchEX from hard drive for the first time
You will be logged in as root automatically (as when running ArchEX live).
1. To avoid further error messages from Wicd you must run the command wicd followed by systemctl enable wicd.service and reboot your computer. Note: Not in ArchEX Build 170626.
2. One of the cool things about Arch Linux is the Arch User Repository (AUR), where users can add their favourite packages to Arch. Read this instruction how to install Yaourt. When you have installed Yaourt you can install for example Spotify. Watch this screenshot when Spotify is running in ArchEX. Note:  In ArchEX Build 170626 Yaourt and Spotify are pre-installed.
3. To set the keyboard layout in X permanently you shall add the following two lines to ~/.xinitrc (example for Sweden):
setxkbmap se &
exec startlxde
4. Create a new ordinary user with the command useradd -m -G wheel,users,audio,storage -s /bin/bash MyNewUser
4b. Set a password for the new user with the command passwd MyNewUser
5. To be able to log in to LXQt as your created user you’ll have to enable LXDM. Do it with the command systemctl start lxdm
5b. To make LXDM start at boot run the command systemctl enable lxdm
6. 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)
locale-gen
mkinitcpio -p linux
passwd root

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

Based on Arch Linux