-
Notifications
You must be signed in to change notification settings - Fork 5
HP_14 an013nr
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.
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.
- Boot system using Arch Linux USB stick
- Mount USB stick with system image (usually
/dev/sdc
)
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
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 are relatively straight-forward.
- Make sure flashing station is connected to the internet (e.g. plug in ethernet cable)
- Download
*.tar.xz
files onto a USB stick. Make stick is clean first (no files on it). - Turn on flashing station and login.
- Plug USB stick into flashing station and mount it
sudo mount /dev/sdb1 /mnt/usb
cd /mnt/usb
- Install updates
sudo pacman -U *.tar.xz
- Update is finished (no errors should occur).
You can also use SSH if you have a system with the files you need.