If you haven’t already, grab your copy of new AP-Linux here.
– USB thumb drive to burn the iso file
– blank disk or free partition on the disk. Use at least 25GB minimum.
– internet access
dd bs=4M if=/path/to/apl-v4.iso of=/dev/sdX status=progress && sync
After boot finishes, use this commands:
If you have 4K Monitor, the fonts will be very small. Execute this command if you have 4K Monitor:
# setfont ter-232b
‘fdisk -l’ command will list disks and partitions on your machine.
This is needed for you to know where you are going to install AP-Linux. When you are sure where you are going to install AP-Linux, write down on peace of paper your disk name. For example “/dev/sda”.
Fdisk or Cfdisk.
# fdisk /dev/sda or # cfdisk /dev/sda
# fdisk -l
to view your new partition tables. If you used disk /dev/sda, then you should see your new partition. For example as /dev/sda1.
# mkfs.ext4 /dev/sdXX. Replace /dev/sdXX with your partition. For example
# mkfs.ext4 /dev/sda1
Mount that partition to /mnt folder
# mount /dev/sda1 /mnt
Then type these commands:
# time cp -ax / /mnt # arch-chroot /mnt /bin/bash # cd /etc/apl-files
The next command will ask you to put your username and password and install some packages.
Answer “yes” to question and wait till it finishes. If there are no errors, continue with
# grub-install --target=i386-pc /dev/sda
Replace /dev/sda with your disk, then execute this:
# grub-mkconfig -o /boot/grub/grub.cfg
Next command will set up super user password.
# passwd root
Next command will setup your timezone
# ln -s /usr/share/zoneinfo/Europe/Dublin /etc/localtime
Replace Europe/Dublin with your city. Full list is available with
# ls /usr/share/zoneinfo/
# ls /usr/share/zoneinfo/Europe
Then continue with:
# hwclock --systohc --utc # ./autologin.sh
If you have 4k monitor execute also ./4k-mon-setup.sh
# exit # genfstab -U /mnt >> /mnt/etc/fstab
To summarize, these are all commands you need to run after disk partitioning:
$ ping 188.8.131.52
You should see something like this:
Then become root with:
Execute these commands. First command will take a while…
# pacman-key --init # pacman-key --populate archlinux # pacman -Sy # pacman -S archlinux-keyring
April 5th 2018 fix. This command brakes
# pacman -Suy
The solution is to first remove libxfont like this:
# pacman -Rc libxfont
Answer yes and do it again
# pacman -Suy # pacman -S terminus-font # pacman -S xorg-server # pacman -S chromium
programs like deadbeef, audacious or firefox.
We need to reboot because April 5th fix
# nano /etc/fstab
and add ‘noatime,discard’ option. Your “/dev/sdX1” line should look like this
/dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1
If you didn’t install AP-Linux on SSD, remove the ‘discard’ part.
/dev/sda1 / ext4 rw,noatime,data=ordered 0 1
Music play setup
1. Select “List cards” from the menu
2. Put your card in /etc/mpd.conf. Select “Edit mpd.conf”
3. Change this line:
It’s better to put the name of your card in mpd.conf like this:
Because cards in Linux often switch numbers.
Restart mpd when you made changes to mpd.conf
Copy your music files in Music directory and launch “Play music” from the menu.