How to install ArchEX 64bit to a USB stick with persistence
I’ve discovered a way to install ArchEX to a USB stick and enjoy persistence. I.e. all your system changes will be saved directly on the stick. This is how to do it. We are using the same installer (Calamares) as for a hard drive installation.
1. Start up ArchEX from a live DVD or from a USB stick (created with Etcher).
2. Insert a USB stick of (at least) 8GB.
3. Your root partition (the USB stick) will probably be called /dev/sdb1. Choose it during the installation. I.e. to install ArchEX to. Start ArchEX Installer (Calamares). Go on and install ArchEX to your USB stick – screenshot.
4. Now be careful when you come to choosing where to install Grub. Choose to install it to /dev/sdb. I.e. your USB stick. Be sure to choose Manual partition – screenshot.
Watch a slideshow below showing all installation steps. It’s for a hard drive installation. The only difference is that you now shall choose /dev/sdb1 (your USB stick) to install ArchEX to and /dev/sdb for the boot loader installation. I.e. Grub2.
Watch a summary before the installation starts to a USB stick. In this case /dev/sdb1 – screenshot.
To do when you start up ArchEX from the USB stick for the first time
You will be logged in as root automatically (as when running ArchEX live from a DVD/USB stick).
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 needed 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 &
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
and screenshot when KDE is running in ArchEX.
7. Or perhaps you prefer the Xfce4 Desktop Environment – screenshot – or Enlightenment – screenshot.
Install ArchEX to a USB Pen Drive without persistence
Can be done with the dd-command in Linux. Please read this instruction. In Windows you can preferably use Etcher. Watch this screenshot when Etcher is running.