Meta: Unbreak default grub configs after Prekernel/Kernel merge

These still assume the main boot image is called Prekernel, which is no
longer the case.
This commit is contained in:
Idan Horowitz 2024-05-18 19:21:40 +03:00 committed by Andreas Kling
parent 3095daa7c8
commit 80dad2d0b5
3 changed files with 12 additions and 24 deletions

View file

@ -2,25 +2,21 @@ timeout=1
menuentry 'SerenityOS (normal)' { menuentry 'SerenityOS (normal)' {
root=hd0,5 root=hd0,5
multiboot /boot/Prekernel root="lun0:0:0;part3" multiboot /boot/Kernel root="lun0:0:0;part3"
module /boot/Kernel
} }
menuentry 'SerenityOS (text mode)' { menuentry 'SerenityOS (text mode)' {
root=hd0,5 root=hd0,5
multiboot /boot/Prekernel graphics_subsystem_mode=off root="lun0:0:0;part3" multiboot /boot/Kernel graphics_subsystem_mode=off root="lun0:0:0;part3"
module /boot/Kernel
} }
menuentry 'SerenityOS (No ACPI)' { menuentry 'SerenityOS (No ACPI)' {
root=hd0,5 root=hd0,5
multiboot /boot/Prekernel root="lun0:0:0;part3" acpi=off multiboot /boot/Kernel root="lun0:0:0;part3" acpi=off
module /boot/Kernel
} }
menuentry 'SerenityOS (with serial debug)' { menuentry 'SerenityOS (with serial debug)' {
root=hd0,5 root=hd0,5
multiboot /boot/Prekernel serial_debug root="lun0:0:0;part3" multiboot /boot/Kernel serial_debug root="lun0:0:0;part3"
module /boot/Kernel
} }

View file

@ -2,24 +2,20 @@ timeout=1
menuentry 'SerenityOS (normal)' { menuentry 'SerenityOS (normal)' {
root=hd0,2 root=hd0,2
multiboot /boot/Prekernel root="lun0:0:0;part1" multiboot /boot/Kernel root="lun0:0:0;part1"
module /boot/Kernel
} }
menuentry 'SerenityOS (text mode)' { menuentry 'SerenityOS (text mode)' {
root=hd0,2 root=hd0,2
multiboot /boot/Prekernel graphics_subsystem_mode=off root="lun0:0:0;part1" multiboot /boot/Kernel graphics_subsystem_mode=off root="lun0:0:0;part1"
module /boot/Kernel
} }
menuentry 'SerenityOS (No ACPI)' { menuentry 'SerenityOS (No ACPI)' {
root=hd0,2 root=hd0,2
multiboot /boot/Prekernel root="lun0:0:0;part1" acpi=off multiboot /boot/Kernel root="lun0:0:0;part1" acpi=off
module /boot/Kernel
} }
menuentry 'SerenityOS (with serial debug)' { menuentry 'SerenityOS (with serial debug)' {
root=hd0,2 root=hd0,2
multiboot /boot/Prekernel serial_debug root="lun0:0:0;part1" multiboot /boot/Kernel serial_debug root="lun0:0:0;part1"
module /boot/Kernel
} }

View file

@ -2,24 +2,20 @@ timeout=1
menuentry 'SerenityOS (normal)' { menuentry 'SerenityOS (normal)' {
root=hd0,1 root=hd0,1
multiboot /boot/Prekernel root="lun0:0:0;part0" multiboot /boot/Kernel root="lun0:0:0;part0"
module /boot/Kernel
} }
menuentry 'SerenityOS (text mode)' { menuentry 'SerenityOS (text mode)' {
root=hd0,1 root=hd0,1
multiboot /boot/Prekernel graphics_subsystem_mode=off root="lun0:0:0;part0" multiboot /boot/Kernel graphics_subsystem_mode=off root="lun0:0:0;part0"
module /boot/Kernel
} }
menuentry 'SerenityOS (No ACPI)' { menuentry 'SerenityOS (No ACPI)' {
root=hd0,1 root=hd0,1
multiboot /boot/Prekernel root="lun0:0:0;part0" acpi=off multiboot /boot/Kernel root="lun0:0:0;part0" acpi=off
module /boot/Kernel
} }
menuentry 'SerenityOS (with serial debug)' { menuentry 'SerenityOS (with serial debug)' {
root=hd0,1 root=hd0,1
multiboot /boot/Prekernel serial_debug root="lun0:0:0;part0" multiboot /boot/Kernel serial_debug root="lun0:0:0;part0"
module /boot/Kernel
} }