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 (171129) works perfect. Before 171129 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.
mount /dev/sda1 /mnt/sda1
grub-mkconfig -o /boot/grub/grub.cfg
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 June 27, 2017. 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 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 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 171129 Yaourt 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 &
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 Enlightenment – screenshot.
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:
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
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
exit (leave chroot)
Reboot your computer if you have arranged with Grub2, Grub Legacy or…