Skip to content
Jacob Alexander edited this page Nov 17, 2018 · 5 revisions

This wiki describes how to setup an HP 14-an013nr as an Arch Linux system ready for flashing Kiibohd firmware and bootloader.

Unlike the Asus X205TA this is much more straight-forward and everything works out of the box with a standard install.

Prep

You'll need to disable the UEFI authentication. To do this you'll need to go into the BIOS (press Esc during boot, then F10 to select the BIOS setup). Then go to System Configuration->Boot Options. Now set Secure Boot to Disabled.

Save and Exit the BIOS.

Next, this is important. Let the OS boot. There will be a message asking you whether you wanted to disable secure boot. Agree, let the OS boot. And now you're ready to install Linux using UEFI.

Imaging

mkdir -p /media/usb
mount /dev/sdc1 /media/usb
cd /media/usb
  • Copy system image to main disk (this takes a while)
xz -d -c <your image>.img.xz | dd of=/dev/sda status=progress
  • Next we need to setup EFI grub (most of the steps are done already)
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
  • Reboot the system, it should boot to the newly installed OS

System Setup

Username: flash
Password: flash

The system is mostly setup. However there are a couple things you may want to do.

  • Make sure the ethernet port is monitored correctly.
    • Sometimes the device location changes. You'll need to update systemd and netctl.
sudo cp -f /etc/netctl/enp1s0 /etc/netctl/enp2s0
# Edit /etc/netctl/enp2s0 (change enp1s0 to enp2s0)
sudo systemctl start netctl-ifplugd@enp2s0@service
sudo systemctl enable netctl-ifplugd@enp2s0@service
# Plug in ethernet cable with DHCP
# Then check to see if you get an ip
ip addr
  • Use wifi for networking (ethernet is better, more reliable, faster)
sudo wifi-menu

Upgrades

Upgrades are relatively straight-forward.

  1. Make sure flashing station is connected to the internet (e.g. plug in ethernet cable)
  2. Download *.tar.xz files onto a USB stick. Make stick is clean first (no files on it).
  3. Turn on flashing station and login.
  4. Plug USB stick into flashing station and mount it
    • sudo mount /dev/sdb1 /mnt/usb
    • cd /mnt/usb
  5. Install updates
    • sudo pacman -U *.tar.xz
  6. Update is finished (no errors should occur).

You can also use SSH if you have a system with the files you need.

Clone this wiki locally