[haiku-development] Re: Failing to mount anyboot boot image

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 2 Sep 2016 16:02:20 +0200

On 02/09/2016 16:00, Axel Dörfler wrote:

Am 02/09/2016 um 14:31 schrieb Jessica Hamilton:
Hmm, setting gBootVolume.SetBool(BOOT_VOLUME_BOOTED_FROM_IMAGE, true);
in UEFI side seemed to fix it. Weird, but I'll accept that :p

As you can see in [1], Haiku will always try to mount a volume with the
write_overlay when the boot volume is read-only.
So if the above works for you, then it will probably doesn't boot from
the volume you would like it to boot. In any case, it deserves some
investigation.

Why can't you just add the write_overlay to your boot device/image?
Doesn't it just use the packagefs?

In any case, one could retry without write_overlay if that one isn't
available in the kernel, however, you would lose the live desktop
feature of the CD (or at least cripple its experience).


Quoting here on IRC:

14:18 <@jessicah> qemu-system-x86_64 -m 256 -vnc :0 -hda fat:objects/haiku/x86_64/release/system/boot/efi -cdrom haiku-nightly-anyboot.image -bios OVMF.fd -net none -no-reboot -serial stdio -usb

So indeed it's working as intended, as it's trying to boot from a CD.

François.

Other related posts: