chenall/grub4dos

G4D UEFI - boot Debian 7 - kernel too old (0x020a < 0x020b)

Gelip opened this issue · 11 comments

Gelip commented

I'm trying to boot with G4D UEFI Debian 7 instead of Debian 9:

timeout 5
default 0

title Debian 7 (vmlinuz, initrd.img)
kernel /images/deb7/vmlinuz boot=live live-media-path=/images/deb7/live/ config username=root
initrd /images/deb7/initrd.img

but I have error: kernel too old (0x020a < 0x020b)

I can run the same system without problems under UEFI using Tiny PXE Server + deb7.ipxe script + iPXE.efi

try g4e 2023-05-07

Gelip commented

Did not help 😞

try this version:
BOOTX642023-05-07.zip

Or give me debian 7 download url,I didn't find debian 7 in debian homepage,which has only 11.7

failed
Ubuntu64-2023-05-19-07-47-05

title /linux1/debian/debian-7.11.0-amd64-DVD-1.iso
find --ignore-floppies --ignore-cd --set-root /linux1/debian/debian-7.11.0-amd64-DVD-1.iso
map /linux1/debian/debian-7.11.0-amd64-DVD-1.iso (hd32)
map --hook
kernel (hd32)/install.amd/gtk/vmlinuz boot=install.amd findiso=/linux1/debian/debian-7.11.0-amd64-DVD-1.iso components locales=zh_CN.UTF-8 locale=zh_CN.UTF-8 timezone=Asia/Shanghai localtime=Asia/Shanghai
initrd (hd32)/install.amd/gtk/initrd.gz

I put debian-7.11.0-amd64-DVD-1.iso in exfat partition,later I will put in in ntfs/fat32 and try.
But it seems have nothing to do with fat32/ntfs.
Failed to load virtual disk image.80000000000003

a1ive commented

Debian 7 was initially released in 2013, which is almost 10 years ago. It does not have good UEFI support.

Gelip commented

Debian 7 ISO does not have a UEFI loader but you can boot it from a PXE server using iPXE and files vmlinuz, initrd.img and filesystem.squashfs

menuentry "/linux1/debian/debian-7.11.0-amd64-DVD-1.iso" "/linux1/debian/debian-7.11.0-amd64-DVD-1.iso" {
set gfxpayload=keep
search --no-floppy --set --file $2
loopback loop $2
linux (loop)/install.amd/gtk/vmlinuz boot=install.amd findiso=/linux1/debian/debian-7.11.0-amd64-DVD-1.iso components locales=zh_CN.UTF-8 locale=zh_CN.UTF-8 timezone=Asia/Shanghai localtime=Asia/Shanghai
initrd (loop)/install.amd/gtk/initrd.gz
}

grub2UEFI by alive can boot install program,but can't continue install.
Ubuntu64-2023-05-19-12-18-48

Gelip commented

I did tests with Debian7 on different machines with GRUB4DOS 2023-05-07 and PXE:
PC 1 Haswell pure UEFI:
G4U boot ok but can't find menu.lst because it can't see the flash drive. The root command gives Error 25 - Disk read error
g4u-haswell
Debian7 not boot from PXE

PC 2 - ThinkPad X220 Sandy Bridge UEFI but probably with CSM:
G4U boot ok, see flash drive, start boot Debian7 but Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
g4u-x220-d71
g4u-x220-d72
Debian7 boot OK from PXE
ipxe-from-uefi-shell
boot-ok
debian7-x220