[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UEFI PC?



Hi,

Samuel Thibault wrote:
> kvm -cdrom debian-sid-hurd-i386-NETINST-1.iso -bios OVMF.fd
> doesn't manage to boot it. Perhaps that's a kvm issue, or perhaps that's
> a grub-ia32 issue (since I can't boot a linux-i386 image either)

Indeed, this gives a "UEFI Interactive Shell" prompt and no Debian menu

  qemu-system-x86_64 -enable-kvm -m 512 \
           -cdrom debian-10.2.0-i386-netinst.iso \
           -bios /usr/share/ovmf/OVMF.fd

But it boots to a GRUB/Debian menu with

  qemu-system-i386 ...


> http://people.debian.org/~sthibault/hurd-i386/installer/cdimages/daily/debian-sid-hurd-i386-NETINST-1.iso

(Find the surplus "s" in this URL.)

  qemu-system-i386 ... debian-sid-hurd-i386-NETINST-1.iso ...

does not boot, i fear.

The most obvious difference is in the two EFI System Partitions:

  $ cd /mnt/fat_hurd
  $ find .
  .
  ./efi
  ./efi/boot
  ./efi/boot/bootia32.efi

  $ cd /mnt/fat_i386
  $ find .
  .
  ./efi
  ./efi/boot
  ./efi/boot/bootia32.efi
  ./efi/boot/grubia32.efi
  ./efi/debian
  ./efi/debian/grub.cfg

bootia32.efi in hurd has 278,528 bytes.
In i386 it's 1,065,120 for bootia32.efi, which says "Microsoft" 53 times,
and 1,156,464 for grubia32.efi.

The file grub.cfg contains only the instruction to use the grub.cfg in
the ISO filesystem:
  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/i386-efi/grub.cfg


(In the hurd ISO, the EFI image is not marked in the partition table.
 Thus according to specs no booting from USB stick. But OVMF would boot
 by -hda nevertheless if it would work by -cdrom.)


Have a nice day :)

Thomas


Reply to: