Hi,

i realize that my idea about initrd is nonsense. The failure happens
at an early stage of GRUB booting. EFI finds GRUB but GRUB does not find
its .mod files.

So i suspect a different default of GRUB in respect to device reading,
between -hda and -cdrom.
Peculiar is the presence of
  /efi/boot/bootx64.efi
in the ISO.
It might be that -cdrom leads OVMF to that file which in its host filesystem
also has
  /boot/grub/grub.cfg
  /boot/grub/x86_64-efi/normal.mod

Hrmpf, no.
I repacked the ISO without file /efi/boot/bootx64.efi in the ISO filesystem.
It still boots by -cdrom. So OVMF does not use that file in the ISO.

I also put a file into the VFAT filesystem of partition 2
  /efi/boot/grub.cfg
with content
  search --file --set=root /9.0-svn-generic-x86-64-linux
  set prefix=($root)/boot/grub
  source $prefix/grub.cfg
But no boot success from -hda, nevertheless.

So i still do not understand how GRUB works with -cdrom but not with -hda.


Have a nice day :)

Thomas



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to