Changed kernel to backported 6.4, fixed BIOS booting.
This commit is contained in:
parent
90bd7ed0cf
commit
590dd64261
@ -1,14 +1,14 @@
|
|||||||
# WMI Rescue
|
# 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".
|
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:
|
Required packages:
|
||||||
* debootstrap
|
* debootstrap
|
||||||
|
@ -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}
|
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}
|
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.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}"
|
rm -r "${TEMP_DIR_MEMTEST}"
|
||||||
|
|
||||||
#GRUB
|
#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
|
#rm $TEMP_DIR/boot/bios/i386-pc/*.img
|
||||||
for module in normal boot extcmd crypto terminal gettext bufio \
|
for module in normal boot extcmd crypto terminal gettext bufio \
|
||||||
linux video relocator mmap vbe video_fb \
|
linux video relocator mmap vbe video_fb \
|
||||||
linux16 \
|
linux16 datetime net priority_queue \
|
||||||
gfxterm font gfxmenu trig bitmap_scale bitmap video_colors \
|
gfxterm font gfxmenu trig bitmap_scale bitmap video_colors \
|
||||||
png verifiers; do
|
png verifiers; do
|
||||||
cp /usr/lib/grub/i386-pc/${module}.mod $TEMP_DIR/boot/bios/i386-pc
|
cp /usr/lib/grub/i386-pc/${module}.mod $TEMP_DIR/boot/bios/i386-pc
|
||||||
@ -127,7 +127,7 @@ menuentry "wmirescue-$ARCH-serial" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
menuentry "memtest" {
|
menuentry "memtest" {
|
||||||
chainloader /memtest/memtest86.efi
|
chainloader /memtest/memtest.efi
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
TARGET=$1
|
TARGET=$1
|
||||||
VERSION=$(date +%g.%m)rc1
|
VERSION=$(date +%g.%m)
|
||||||
OUTPUT=${TARGET}/output/${VERSION}
|
OUTPUT=${TARGET}/output/${VERSION}
|
||||||
DEBIAN_CODENAME='bookworm'
|
DEBIAN_CODENAME='bookworm'
|
||||||
KERNEL_VERSION='6.1.0-9-amd64'
|
KERNEL_VERSION='6.4.0-0.deb12.2-amd64'
|
||||||
KERNEL_REPO="bookworm"
|
KERNEL_REPO="bookworm-backports"
|
||||||
ARCH='amd64'
|
ARCH='amd64'
|
||||||
|
|
||||||
QUIET=1
|
QUIET=1
|
||||||
|
Loading…
Reference in New Issue
Block a user