From ae61fe98419a46847009f0153d6b2e43f5bed891 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 2 Feb 2020 15:38:13 -0600 Subject: Use arch suffixes for bzImage/initrd/squashfs; fix GRUB root set --- x86/early.cfg | 2 +- x86/early.cfg64 | 2 +- x86/grub.cfg | 6 +++--- x86/grub.cfg64 | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'x86') diff --git a/x86/early.cfg b/x86/early.cfg index dc1f831..bc8fd12 100644 --- a/x86/early.cfg +++ b/x86/early.cfg @@ -1,2 +1,2 @@ -search.fs_label "Adelie 1.0rc1 pmmx" --no-floppy root +search.fs_label "Adelie 1.0rc1 pmmx" --no-floppy --set set prefix=($root)/boot diff --git a/x86/early.cfg64 b/x86/early.cfg64 index 1d410e6..4d09107 100644 --- a/x86/early.cfg64 +++ b/x86/early.cfg64 @@ -1,2 +1,2 @@ -search.fs_label "Adelie 1.0rc1 x86_64" --no-floppy root +search.fs_label "Adelie 1.0rc1 x86_64" --no-floppy --set set prefix=($root)/boot diff --git a/x86/grub.cfg b/x86/grub.cfg index d76baeb..e9f657d 100644 --- a/x86/grub.cfg +++ b/x86/grub.cfg @@ -1,9 +1,9 @@ menuentry "Adelie Linux 1.0-RC1 Live (Intel 32-bit)" --class linux --id adelie-live-cd { insmod iso9660 insmod linux - search --label "Adelie 1.0rc1 pmmx" --no-floppy root - linux ($root)/bzImage - initrd ($root)/initrd + search --label "Adelie 1.0rc1 pmmx" --no-floppy --set + linux ($root)/bzImage-pmmx squashroot=pmmx.squashfs + initrd ($root)/initrd-pmmx } menuentry "Reboot and Try Again" --class reboot --id reboot { diff --git a/x86/grub.cfg64 b/x86/grub.cfg64 index 1b848fc..dbcdf66 100644 --- a/x86/grub.cfg64 +++ b/x86/grub.cfg64 @@ -1,9 +1,9 @@ menuentry "Adelie Linux 1.0-RC1 Live (Intel 64-bit)" --class linux --id adelie-live-64 { insmod iso9660 insmod linux - search --label "Adelie 1.0rc1 x86_64" --no-floppy root - linux ($root)/bzImage - initrd ($root)/initrd + search --label "Adelie 1.0rc1 x86_64" --no-floppy --set + linux ($root)/bzImage-x86_64 squashroot=x86_64.squashfs + initrd ($root)/initrd-x86_64 } menuentry "Reboot and Try Again" --class reboot --id reboot { -- cgit v1.2.3-70-g09d2