After the installation of the latest Manjaro Sway Edition, I ran into the following error:
error: premature end of file /@/boot/amd-ucode.img
Press any key to continue...
So there was no possibility to load another kernel etc. since this was a fresh install. I found another thread here, but this was due to a failed update of an existing system.
To solve this issue I did the following:
- install Manjaro Sway
- do not reboot after installation
- open a terminal and install arch-install-scripts (or use
manjaro-chroot
as suggested in the comments below)
–sudo pamac install arch-install-scripts
– this will make the toolarch-chroot
available - chroot into your fresh install
- check where your install drive is mounted (e.g.
cat /proc/mounts
) sudo arch-chroot /PATH/TO/MOUNT
- check where your install drive is mounted (e.g.
pamac reinstall amd-ucode
- (optional) full system update
- reboot
For future references:
- I tested the install ISOs
manjaro-sway-22.1.2-240324-linux66.iso
andmanjaro-sway-22.1.2-240310-linux66.iso
(a slightly older one to quickly check if the problem is newly introduced). Both have the same problem (at my machine). - my install parameters: swap to file, btrfs, encrypted
- CPU (x86_64):
AMD Ryzen 7 5700G with Radeon Graphics