You are not logged in.

#1 2017-09-20 08:29:31

xenon
Member
Registered: 2017-09-18
Posts: 2

Update the Kernel on frugal install (Live + persistent)

*make sure that arch folder and persistent folder are on the same volume/partition to avoid problems

to add persistence on a Live setup use the following boot code:

cow_device=/dev/sda1 (change "sda1" for the partition that you prefer)

also check archisobasedir

Update the system:

sudo pacman -Syu

then simply run this command on a terminal:

sudo mkinitcpio -c /etc/mkinitcpio-archiso.conf -g /boot/archiso.img -k 4.9.43-1-lts

*change 4.9.43-1-lts to the name of the new version of the kernel

rename /boot/vmlinuz-linux-lts or equivalent to vmlinuz (easy way: sudo pcmanfm)

delete /boot/initramfs-linux-lts and  /boot/initramfs-linux-lts-fallback or equivalent (optional)

move and replace the /boot/archiso.img and /boot/vmlinuz files to /run/archiso/cowspace/arch/boot/x86_64/ or /run/archiso/bootmnt/arch/boot/x86_64/

reboot and enjoy!

Last edited by xenon (2017-09-20 08:30:12)

Offline

Board footer

Powered by FluxBB