From ca549a48857ab58e8f714665fd93d6fcdf2d0ebe Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 10 Oct 2020 10:35:01 -0400 Subject: fixup! parted-usb: add grub.cfg late --- conf/grub.cfg | 22 ++++++++++++++++++++++ src/parted-usb.sh | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 conf/grub.cfg diff --git a/conf/grub.cfg b/conf/grub.cfg new file mode 100644 index 0000000..021d29b --- /dev/null +++ b/conf/grub.cfg @@ -0,0 +1,22 @@ +insmod echo +echo GRUB (samizdat) + +insmod normal +insmod keystatus + +insmod linux + +insmod part_gpt +insmod part_msdos +insmod btrfs + +echo Loading vmlinuz... +linux /linux/vmlinuz boot=samizdat quiet + +echo Loading initrd.img... +initrd /linux/initrd.img + +echo Booting. +echo +boot + diff --git a/src/parted-usb.sh b/src/parted-usb.sh index 6841166..bb63070 100755 --- a/src/parted-usb.sh +++ b/src/parted-usb.sh @@ -110,7 +110,7 @@ sanity_checks() . samizdat-paths.sh || die 'samizdat-paths.sh not found' samizdat_linux_dir=/boot : ${GPG_INPUT_DIR:=/cdrom/gnupghome} -: ${GRUB_CONFIG:=grub.cfg} +: ${GRUB_CONFIG:=conf/grub.cfg} start_keys=64 # megs end_keys=256 # megs target=fallacy.img.tmp -- cgit v1.2.3