Skip to content

Instantly share code, notes, and snippets.

@mvidaldp
Created June 7, 2020 22:18
Show Gist options
  • Save mvidaldp/36565d6a36e7b20d498eb9ecfd48adfb to your computer and use it in GitHub Desktop.
Save mvidaldp/36565d6a36e7b20d498eb9ecfd48adfb to your computer and use it in GitHub Desktop.
Reminder: persistent Arch USB Linux kernel and Intel ucode upgrades

Extracted from: https://sourceforge.net/projects/arch-linux-usb-os/files/ArchUsbOs/

*** Arch USB OS uses save partition to save changes you make and programs you install When it comes to kernel+initramfs and intel-ucode upgrade this is problematic since these - are used to boot the OS but do so while residing on the USB drive itself, outside the squashed file system. So when kernel or intel-ucode is upgraded in order to be able to reboot you will have to - copy-paste files between "save" and "boot" partition.

Boot into another Linux installation or Linux Boot CD or USB and mount 'ARCH USB OS'- USB drive

When intel-ucode is upgraded - Copy intel-ucode.img from: usb-save/persistent_USB-BOOT/x86_64/upperdir/boot/ to USB-BOOT/arch/boot/

  • delete existing

When kernel is upgraded - Copy vmlinuz-linux and initramfs-linux.img from: usb-save/persistent_USB-BOOT/x86_64/upperdir/boot/ to USB-BOOT/arch/boot/x86_64/

  • delete existing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment