One time after an ordinary Arch Linux pacman -Syu update my system wouldn’t boot, spitting following cryptic error message instead: Loading Arch Linux pkg-linux kernel ... error: invalid magic number. Loading Arch Linux pkg-linux kernel initramfs ... unaligned pointer 0x20 Aborted. Press any key to exit. This type of problem can usually be fixed by recreating your kernel and initramfs image. In Arch, you can do it easily by following these steps (adjust your device names accordingly): Boot from live USB mount /dev/sda5 /mnt mount /dev/sda2 /mnt/boot, if you have boot partition arch-chroot /mnt pacman -Syyu mkinitcpio linux Unmount and reboot It solved problem for me (I’m not sure why it happened though).
Hugo is a static site generator written in Go. It’s what my website, kar.gs, is based on. In this short article I’m going to share my experiences and give you a few tips. Building / installing Hugo is pretty straightforward, as it’s usually the case with Go projects. You should be able to get up and running really fast thanks to sane configuration defaults - just make sure to take a look at the Getting Started guide.