Re: Are GNU/kFreeBSD 7 images isohybrid?

2016-04-03 Thread Thomas Schmitt
Hi,

i wrote:
> > > What firmware file to use with qemu-system-i386 [...]

Sorry for sending this debian-user answer to the wrong thread
here on debian-bsd.


Have a nice day :)

Thomas



Re: Are GNU/kFreeBSD 7 images isohybrid?

2016-04-03 Thread Thomas Schmitt
Hi,

i wrote:
> > What firmware file to use with qemu-system-i386 in order to demonstrate
> > EFI booting on i386 ?

Ric Moore wrote:
> I gave to wonder if the bootable flag was set during format? If not, that
> would explain much. Ric

The boot flag is set with one of the MBR partitions. Not with the
EFI System Partition, as that is forbidden, but with partition 1,
which covers the whole ISO.

But i want to test the boot paths of debian-8.2.0-i386-netinst.iso
via EFI from CD and USB stick. With EFI the bootable objects are
marked by other means (El Torito Platform Id, MBR partition type,
GPT type GUID).

I wonder whether
  /usr/share/ovmf/OVMF.fd
of Debian 8 is suitable for 32 bit qemu at all and whether it knows
that it shall boot /EFI/BOOT/BOOTIA32.EFI rather than BOOTX64.EFI.


Have a nice day :)

Thomas



Re: Are GNU/kFreeBSD 7 images isohybrid?

2016-04-03 Thread Thomas Schmitt
Hi,

Adam Wilson wrote:
> Are GNU/kFreeBSD 7 images isohybrid?

Formally not, because "isohybrid" is a term from ISOLINUX and the
kFreeBSD ISOs rather boot by GRUB2.

Practically not, because e.g.

  
http://cdimage.debian.org/cdimage/archive/7.9.0/kfreebsd-amd64/iso-cd/debian-7.9.0-kfreebsd-amd64-netinst.iso

does not have an MBR.

It is well possible to build kfreeBSD GRUB2 ISOs which boot from USB
stick. This here

  
https://kfreebsd.eu/~stevenc/d-i/installer-kfreebsd-amd64/current/images/netboot-10/mini.iso

does by

  qemu-system-x86_64 -enable-kvm -m 2048 -hda mini.iso

But instead of moving the selection bar in the boot menu, the
Up/Down keys toggle between a blue-green readable menu and a
purple menu which is displaced in X and Y direction.
Maybe i should give it a hard disk to play with ?

Whatever, the same happens if i boot it as qemu -cdrom.

With EFI boot firmware, one will have to enable BIOS emulation,
because there is no EFI System Partition advertised in mini.iso.


Have a nice day :)

Thomas