Discussion:
Bug#1087504: debian-installer: Configure GRUB_MODULES to load the gzio module
Add Reply
zhangdandan
2024-11-14 13:10:02 UTC
Reply
Permalink
Source: debian-installer
Version: 20240914
Severity: normal
Tags: patch
User: debian-***@lists.debian.org
Usertags: loong64

Dear maintainers,

After I got loong64
ISO(https://cdimage.debian.org/cdimage/ports/snapshots/2024-11-11/), I
tested ISO from cdimage.
Phenomenon description: after selecting the USB startup disk in BIOS
'Boot Manager', did not enter the GRUB menu bar of D-I.

I analyzed by replacing D-I(from cdimage) in my local production ISO
environment.
1. I make ISO(replacing D-I from cdimage in my local production ISO
environment), I install from USB startup disk(3A6000 machine).
The error is "EFI: stub: error: EFI decompressor XZ-compressed data is
corrupt".

2. After investigation, because the module of the Debian Linux's modules
was a compressed format (when submitting a loong64 patch for D-I, the
kernel I verified by the local verification was not a compression
format), and I found that the "GRUB_MODULES" in the deban-installer was
lacked.
So, After adding the below patch to debian-installer (20240914), my
local ISO can boot to d-i system.
```
Configure GRUB to load the gzio module, adding support for compressed
kernel(6.11.7).
build/config/loong64.cfg

+ # GRUB modules
+ GRUB_MODULES = echo gzio linux minicmd normal
+ GRUB_MODULES_CDROM = iso9660
```

Please take care of the above phenomenon.

Best regards,
Dandan
John Paul Adrian Glaubitz
2024-11-14 13:20:01 UTC
Reply
Permalink
Hello Dandan,
Post by zhangdandan
After I got loong64
ISO(https://cdimage.debian.org/cdimage/ports/snapshots/2024-11-11/), I
tested ISO from cdimage.
Phenomenon description: after selecting the USB startup disk in BIOS
'Boot Manager', did not enter the GRUB menu bar of D-I.
This continues to surprise me as I my test images boot fine on QEMU.
Post by zhangdandan
```
Configure GRUB to load the gzio module, adding support for compressed
kernel(6.11.7).
build/config/loong64.cfg
+ # GRUB modules
+ GRUB_MODULES = echo gzio linux minicmd normal
+ GRUB_MODULES_CDROM = iso9660
```
Please let me create an appropriate test image first with those changes
implemented before committing them. I can easily rebuild d-i locally with
these changes applied and then create an updated ISO image for testing.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Loading...