Hello,
I’m using Haiku from a while and I never discovered any issues each time I’ve upgraded the system.
But this time, after executing the instructions to Upgrading from R1/beta4
Then reboot, but…
The Haiku Boot Loader appears, with the Select boot volume set to: ‘Current: none’.
I cannot select another boot volume.
If I check the boot log, I have the following message:
PackageVolumeInfo::SetTo()
Error: Inalid heap compression
…/haiku-git/src/system/boot/loader/file_systems/packagefs.cpp:849: Bad data
well, then first the instruction on the website is obsolete (strange no? , because it describe how to upgrade from beta4 to beta5…) or maybe incomplete by don’t mention what to do if you have an old boot loader.
Anyway, ok, needs to be done manually…cool, but how manually ? Which commands should I execute, from where ? grub ? booting from an USB key with Haiku installed on it ? or any other solution ?
blablabla…
The only thing I know is that by Haiku beta4 worked well until I followed the instruction to upgrade to beta5…
If I’m not wrong… If you’re using EFI, you will need to manually replace /esp/EFI/Haiku/bootx64.efi with a newer one from beta5.
(of course, the mount point / label for your ESP/EFI partition might differ).
From where do you get the updated bootloader? I guess you’ll need an USB drive with beta5 install media on it. Boot into Desktop, and the file in question should be accesible under: /boot/system/data/platform_loaders/, and named haiku_loader.efi.
Use the same USB “live environment” to mount the ESP partition and update the file.
(at least that’s what I remember, others will chime in if I’m too off).
Hi BiPolar,
Thank you so much for your answer it worked like a charm !
It is exactly what I expected as answer, my case has been resolved in 5 min…
Merry Christmas !
Levent
Took the liberty of editing the title to add “[Solved]”. Hope that’s OK.
The issue you faced is a corner case (and maybe that’s why it isn’t mentioned on the docs). Issue is that at some point in time, the compression method used for .hpkg files changed from zlib to zstd. And you happened to have a bootloader that only understood the former.