From 590dd64261e155a43a8b2abc19efffe7cfeb35ae Mon Sep 17 00:00:00 2001 From: Maciej Prill Date: Thu, 5 Oct 2023 14:48:40 +0200 Subject: [PATCH] Changed kernel to backported 6.4, fixed BIOS booting. --- README.md | 6 +++--- bookworm-amd64/bin/dist_iso | 6 +++--- bookworm-amd64/mkrescue | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ecf6ed1..b3beeb3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bookworm-amd64/bin/dist_iso b/bookworm-amd64/bin/dist_iso index 6dee1d4..6467dcd 100755 --- a/bookworm-amd64/bin/dist_iso +++ b/bookworm-amd64/bin/dist_iso @@ -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 diff --git a/bookworm-amd64/mkrescue b/bookworm-amd64/mkrescue index 806bc9a..702eb31 100755 --- a/bookworm-amd64/mkrescue +++ b/bookworm-amd64/mkrescue @@ -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