Remove video parameter from kernel command line

This commit is contained in:
Andy Nguyen
2026-07-01 23:42:09 +02:00
committed by GitHub
parent 6444634c46
commit 15027876ac

View File

@@ -32,8 +32,7 @@ echo "kernel: $VMLINUZ"
echo "initrd: $INITRD"
CMDLINE=$(cat /proc/cmdline | \
sed -e 's/video=[^ ]*//g' \
-e "s|root=[^ ]*|root=LABEL=$ROOT_LABEL|g" | \
sed -e "s|root=[^ ]*|root=LABEL=$ROOT_LABEL|g" | \
xargs)
echo "cmdline: $CMDLINE"