Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)


What links here:

Installing Artix linux on external SSD to boot on Mac

Links:

Install hfsprogs

pacman -Sy git base-devel
su - artix
git clone https://aur.archlinux.org/hfsprogs
cd hfsprogs && makepkg -si
exit
modprobe hfsplus

Partition disks:

part mount size type label
/dev/sdx1 /boot 300 MiB vfat EFI
/dev/sdx2 /swap adjust swap swap
/dev/sdx3 root remain ext4 root
mkfs.ext4 -L ROOT /dev/sdx3
mkfs.hfsplus -v 'Artix Linux' /dev/sdx1
mkswap -L SWAP /dev/sdx2
swapon /dev/sdx2
mount /dev/sdx3 /mnt
mount  --mkdir /dev/sdx1 /mnt/boot
basestrap /mnt base base-devel runit elogind-runit
basestrap /mnt linux linux-firmware
fstabgen -U /mnt >> /mnt/etc/fstab
artix-chroot /mnt
useradd -m alex
passwd alex
passwd
# reinstall hfsprogs && in /etc/mkinitcpio.conf move block and keyboard hooks before autodetect && mkinitcpio -P
echo quartix > /etc/hostname
vim /etc/hosts # add 127.0.0.1\tlocalhost\n::1\tlocalhost\n127.0.1.1\tquartix.localdomain quartix
pacman -S dhcpcd
ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
hwclock --systohc
pacman -S vim
export EDITOR=vim
vim /etc/locale.gen # uncomment en_US.UTF-8
locale-gen
vim /etc/locale.conf # add LANG="en_US.UTF-8" and LC_COLLATE=C
pacman -S grub
touch /boot/mach_kernel
mkdir -p /boot/EFI/artix && touch /boot/EFI/artix/mach_kernel # maybe artix has to be BOOT or soething else
grub-install --target=x86_64-efi --efi-directory=/boot --removable --recheck
grub-mkconfig -o /boot/grub/gub.cfg
mv /boot/EFI/artix/System/ /boot/ && rm -r /boot/EFI/