G4D UEFI - boot Debian 7 - kernel too old (0x020a < 0x020b)
Gelip opened this issue · 11 comments
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
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
Oh,I found this:
Debian 所有版本下载地址
http://cdimage.debian.org/cdimage/archive/
Debian 7 iso 系统下载地址
http://cdimage.debian.org/cdimage/archive/7.11.0/amd64/iso-dvd/debian-7.11.0-amd64-DVD-1.iso
Debian 9 iso 系统下载地址
http://cdimage.debian.org/cdimage/archive/9.13.0/amd64/iso-dvd/debian-9.13.0-amd64-DVD-1.iso
Debian 10 iso 系统下载地址
http://cdimage.debian.org/cdimage/archive/10.2.0/amd64/iso-dvd/debian-10.2.0-amd64-DVD-1.iso
Debian 8 iso 系统下载地址
http://cdimage.debian.org/cdimage/archive/8.11.1/
http://cdimage.debian.org/cdimage/archive/8.11.1/amd64/iso-dvd/
http://cdimage.debian.org/cdimage/archive/8.11.1/amd64/iso-dvd/debian-8.11.1-amd64-DVD-1.iso
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
Debian 7 was initially released in 2013, which is almost 10 years ago. It does not have good UEFI support.
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.
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
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)
Debian7 boot OK from PXE