grub: edit config

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-02-19 23:09:48 +01:00
parent d39186bb27
commit 28899a859a

View File

@ -67,7 +67,7 @@ function set_gfxpayload {
}
set TERM=tty2
set ARC_CMDLINE="net.ifnames=0"
set ARC_CMDLINE="console=tty2 root=/dev/ram net.ifnames=0"
search --set=root --label "ARC3"
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
@ -88,7 +88,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
menuentry 'DSM Mode' --id boot {
set_gfxpayload
echo "Loading Arc Kernel..."
linux /bzImage-arc console=${TERM} ${ARC_CMDLINE}
linux /bzImage-arc ${ARC_CMDLINE}
echo "Loading Arc Initramfs..."
initrd /initrd-arc
echo "Booting..."
@ -98,7 +98,7 @@ fi
menuentry 'Config Mode' --id config {
set_gfxpayload
echo "Loading Arc Kernel..."
linux /bzImage-arc console=${TERM} ${ARC_CMDLINE} force_arc
linux /bzImage-arc ${ARC_CMDLINE} force_arc
echo "Loading Arc Initramfs..."
initrd /initrd-arc
echo "Booting..."
@ -108,7 +108,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
menuentry 'DSM force Reinstall' --id junior {
set_gfxpayload
echo "Loading Arc Kernel..."
linux /bzImage-arc console=${TERM} ${ARC_CMDLINE} force_junior
linux /bzImage-arc ${ARC_CMDLINE} force_junior
echo "Loading Arc Initramfs..."
initrd /initrd-arc
echo "Booting..."