mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-27 15:04:31 +00:00
feat: add advanced options for Fennix boot menu in grub.cfg
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
1593e3107d
commit
bbb70eb621
@ -14,6 +14,34 @@ menuentry "Fennix" {
|
|||||||
boot
|
boot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
submenu "Advanced Options..." {
|
||||||
|
menuentry "Fennix (Linux Subsystem)" {
|
||||||
|
load_video
|
||||||
|
clear
|
||||||
|
echo "Loading kernel in Linux Subsystem mode"
|
||||||
|
multiboot2 /fennix.elf --init=/bin/init --linux=true
|
||||||
|
echo "Loading rootfs"
|
||||||
|
module2 /rootfs.tar rootfs
|
||||||
|
echo "Booting..."
|
||||||
|
boot
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "Fennix (Recovery)" {
|
||||||
|
load_video
|
||||||
|
clear
|
||||||
|
echo "Loading kernel in recovery mode"
|
||||||
|
multiboot2 /fennix.elf
|
||||||
|
echo "Loading rootfs"
|
||||||
|
module2 /rootfs.tar rootfs
|
||||||
|
echo "Booting..."
|
||||||
|
boot
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry ' ' {
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
menuentry 'Boot from next volume' {
|
menuentry 'Boot from next volume' {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user