Hi,

i downloaded the new ISO by

  wget --no-check-certificate 
https://dl.t2sde.org/binary/2020/t2-minimal-glibc-gcc-x86-64-r49128.iso

because of wget's

  ERROR: The certificate of ‘dl.t2sde.org’ is not trusted.
  ERROR: The certificate of ‘dl.t2sde.org’ hasn't got a known issuer.

(Dunno whether my old system is to blame.)


It works with 3 of 4 scenarios. Not working is

  qemu-system-x86_64 -enable-kvm -m 1024 -bios /usr/share/ovmf/OVMF.fd
                     -hda ./t2-minimal-glibc-gcc-x86-64-r49128.iso

GRUB complains:

  error: file `/boot/grub/x86_64-efi/normal.mod' not found.
  Entering rescue mode...
  grub rescue>

The file exists in the ISO (not in the EFI partition) as these mounts show

  mount ./t2-minimal-glibc-gcc-x86-64-r49128.iso /mnt/iso
  mount -o offset=501807104 ./t2-minimal-glibc-gcc-x86-64-r49128.iso /mnt/fat

(fdisk says partition 2 starts at 512-byte block 980092 = byte 501807104)

It seems that GRUB does not inspect the ISO filesystem when looking for
"normal.mod".
There seems to be no GRUB configuration in the EFI partition. Neither as
file with suffix .cfg nor as embedded configuration in the start program
(/mnt/fat)/EFI/BOOT/bootx64.efi.

Debian 9 (not doing Secure Boot) has an embedded configuration in
bootx64.efi :
  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/x86_64-efi/grub.cfg
  (memdisk)/boot/grub

Debian 10 (doing Secure Boot) has a file
  (/mnt/fat)/efi/debian/grub.cfg
with content
  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/x86_64-efi/grub.cfg

("/.disk/info" is their marker file which is supposed to be only in the
 booting ISO. Quite a courageous bet. But it normally works.)

Now i wonder why your ISO works with -cdrom but not with -hda. Does the
initrd or other early software in the ISO have special means to detect
the ISO on a CD/DVD drive ?


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