wpa_supplicant
wpa_supplicant -B -i <name-device> -c <(wpa_passphrase "ssid" "psk")
# rc-service sshd start
# pacman -Syyy
Create efi partition:
# fdisk /dev/mmcblk1
* g (to create an empty GPT partition table)
* n
* 1
* enter
* +300M
* t
* 1 (For EFI)
* w
Create root partition:
# fdisk /dev/mmcblk1
* n
* 2
* enter
* +30G
* w
Create home partition:
# fdisk /dev/mmcblk1
* n
* 3
* enter
* enter
* w
# mkfs.fat -F32 /dev/mmcblk1p1
Format devices
# mkfs.ext4 /dev/mmcblk1p2
# mkfs.ext4 /dev/mmcblk1p3
Make Home directory
# mkdir /mnt/home
# mount /dev/mmcblk1p2 /mnt
# mount /dev/mmcblk1p3 /mnt/home
# pacstrap -i /mnt base base-devel dhcpcd grub-bios wpa_supplicant xf86-input-synaptics kernel-firmware grub efibootmgr dosfstools openssh os-prober mtools linux-libre-lts-api-headers linux-libre-lts
# genfstab -U -p /mnt >> /mnt/etc/fstab
Build EFI
# mkdir /mnt/boot/efi
# mount /dev/mmcblk1p1 /mnt/boot/efi
# mkdir /mnt/boot/efi/EFI/BOOT
# cp -v /run/hyperiso/bootmnt/EFI/BOOT/bootx64.efi /mnt/boot/efi/EFI/BOOT/BOOTX64.EFI
# arch-chroot /mnt
# nano /etc/locale.gen
(uncomment es_ES.UTF-8)
# locale-gen
Enable root
logon via ssh
# rc-update add sshd default
# passwd
(for setting root password)
Edit startup.nsh
# nano -w /boot/efi/startup.nsh
----------------------------------------------------------------
bcf boot add 1 fs0:\EFI\GRUB\grubx64.efi "Hyper GRUB bootloader"
# grub-install --target=x86_64-efi --bootloader-id=GRUB --recheck --efi-directory=/boot/efi
# cp /usr/share/locale/es/LC_MESSAGES/grub.mo /boot/grub/locale/es.mo
# grub-mkconfig -o /boot/grub/grub.cfg
Build botia32.efi (necessary in ASUSx205TA)
# grub-mkstandalone -d /usr/lib/grub/i386-efi/ -O i386-efi --modules="part_gpt part_msdos" --fonts="unicode" --locales="uk" --themes="" -o "/boot/efi/EFI/GRUB/bootia32.efi" "boot/grub/grub.cfg=/boot/grub/grub.cfg" -v
# cp -v /boot/efi/EFI/GRUB/bootia32.efi /boot/efi/EFI/BOOT/BOOTIA32.EFI
Create swap file:
* `# fallocate -l 2G /swapfile`
* `# chmod 600 /swapfile`
* `# mkswap /swapfile`
* `# echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab`
$ exit
# umount -a
# reboot