Revert "x86: sync upstream grub config"

This does nothing.

This reverts commit c01acf6c4d.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-06-17 18:41:31 +08:00
parent c01acf6c4d
commit 606fbf7ab1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 5 additions and 10 deletions

View File

@ -3,13 +3,8 @@
set default="0"
set timeout="@TIMEOUT@"
if [ "${grub_platform}" = "efi" ]; then
set root='(cd0)'
else
set root='(cd)'
fi
set root='(cd)'
menuentry "@TITLE@" {
linux /boot/vmlinuz root=/dev/sr0 rootfstype=iso9660 rootwait @CMDLINE@ noinitrd
linux /boot/vmlinuz @CMDLINE@ noinitrd
}

View File

@ -3,11 +3,11 @@
set default="0"
set timeout="@TIMEOUT@"
set root='(hd0,msdos1)'
set root='(@ROOT@)'
menuentry "@TITLE@" {
linux /boot/vmlinuz @ROOTPART@ @CMDLINE@ noinitrd
linux /boot/vmlinuz @CMDLINE@ noinitrd
}
menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @ROOTPART@ @CMDLINE@ noinitrd
linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
}