Changed kernel to backported 6.4, fixed BIOS booting.

This commit is contained in:
Maciej Prill 2023-10-05 14:48:40 +02:00
parent 90bd7ed0cf
commit 590dd64261
3 changed files with 9 additions and 9 deletions

View File

@ -1,14 +1,14 @@
# WMI Rescue
WMI Rescue is small Linux image based on Debian distribution.
WMI Rescue is small Linux image based on the Debian distribution.
Default root password is "wmi".
Download binary images from http://rescue.wmi.amu.edu.pl.
Download binary images from https://rescue.wmi.amu.edu.pl.
Scripts for Debian Buster were tested on Ubuntu 18.04.
Scripts for Debian Bookworm were tested on Debian 12.1.
Required packages:
* debootstrap

View File

@ -38,7 +38,7 @@ TEMP_DIR_MEMTEST=$(mktemp -d)
wget -q https://memtest.org/download/v6.20/mt86plus_6.20.binaries.zip -P ${TEMP_DIR_MEMTEST}
unzip -q ${TEMP_DIR_MEMTEST}/mt86plus_6.20.binaries.zip -d ${TEMP_DIR_MEMTEST}
cp ${TEMP_DIR_MEMTEST}/memtest64.bin "$TEMP_DIR/memtest/memtest.bin"
cp ${TEMP_DIR_MEMTEST}/memtest64.efi "$TEMP_DIR/memtest/memtest86.efi"
cp ${TEMP_DIR_MEMTEST}/memtest64.efi "$TEMP_DIR/memtest/memtest.efi"
rm -r "${TEMP_DIR_MEMTEST}"
#GRUB
@ -59,7 +59,7 @@ grub-mkimage -O i386-pc -p /boot/bios/ -o ${TEMP_DIR_GRUB}/core.img iso9660 bios
#rm $TEMP_DIR/boot/bios/i386-pc/*.img
for module in normal boot extcmd crypto terminal gettext bufio \
linux video relocator mmap vbe video_fb \
linux16 \
linux16 datetime net priority_queue \
gfxterm font gfxmenu trig bitmap_scale bitmap video_colors \
png verifiers; do
cp /usr/lib/grub/i386-pc/${module}.mod $TEMP_DIR/boot/bios/i386-pc
@ -127,7 +127,7 @@ menuentry "wmirescue-$ARCH-serial" {
}
menuentry "memtest" {
chainloader /memtest/memtest86.efi
chainloader /memtest/memtest.efi
}
EOF

View File

@ -1,11 +1,11 @@
#!/bin/sh
TARGET=$1
VERSION=$(date +%g.%m)rc1
VERSION=$(date +%g.%m)
OUTPUT=${TARGET}/output/${VERSION}
DEBIAN_CODENAME='bookworm'
KERNEL_VERSION='6.1.0-9-amd64'
KERNEL_REPO="bookworm"
KERNEL_VERSION='6.4.0-0.deb12.2-amd64'
KERNEL_REPO="bookworm-backports"
ARCH='amd64'
QUIET=1