grub: cleanup

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-10-24 19:06:29 +02:00
parent 8dcf836a69
commit 064c9fe84b
2 changed files with 11 additions and 21 deletions

View File

@ -49,14 +49,10 @@ function load_video {
load_video
if loadfont unicode; then
if keystatus --shift; then true ; else
insmod gfxterm
set gfxmode=1024x768
set gfxpayload=auto
terminal_output gfxterm
if terminal_output gfxterm; then true ; else
terminal gfxterm
fi
insmod gfxmenu
loadfont ${prefix}/theme/dejavu_bold_14.pf2
loadfont ${prefix}/theme/dejavu_mono_12.pf2
@ -64,7 +60,6 @@ if loadfont unicode; then
set theme=${prefix}/theme/theme.txt
export theme
fi
fi
if serial --unit=0 --speed=115200; then
terminal_input --append serial_com0
@ -83,7 +78,7 @@ set menu_color_normal=white/black
set menu_color_highlight=white/red
set color_normal=white/black
set ARC_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait net.ifnames=0 ipv6.disable=1"
set ARC_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait net.ifnames=0 panic=5 pcie_aspm=off intel_pstate=disable"
search --set=root --label "ARC3"
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then

View File

@ -1,5 +0,0 @@
Check:
- numa=off
- pcie_aspm=off
- intremap=off (old -> working?)