diff options
Diffstat (limited to 'scripts/contrib/mkefidisk.sh')
-rwxr-xr-x | scripts/contrib/mkefidisk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh index 1c11d1a6b6..333284ff50 100755 --- a/scripts/contrib/mkefidisk.sh +++ b/scripts/contrib/mkefidisk.sh | |||
@@ -402,7 +402,7 @@ if [ -e "$GRUB_CFG" ]; then | |||
402 | sed -i "s/ LABEL=[^ ]*/ /" $GRUB_CFG | 402 | sed -i "s/ LABEL=[^ ]*/ /" $GRUB_CFG |
403 | 403 | ||
404 | sed -i "s@ root=[^ ]*@ @" $GRUB_CFG | 404 | sed -i "s@ root=[^ ]*@ @" $GRUB_CFG |
405 | sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUB_CFG | 405 | sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GRUB_CFG |
406 | fi | 406 | fi |
407 | 407 | ||
408 | # Look for a gummiboot installation | 408 | # Look for a gummiboot installation |
@@ -419,7 +419,7 @@ if [ -d "$GUMMI_ENTRIES" ]; then | |||
419 | 419 | ||
420 | sed -i "/initrd /d" $GUMMI_CFG | 420 | sed -i "/initrd /d" $GUMMI_CFG |
421 | sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG | 421 | sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG |
422 | sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG | 422 | sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GUMMI_CFG |
423 | fi | 423 | fi |
424 | 424 | ||
425 | # Ensure we have at least one EFI bootloader configured | 425 | # Ensure we have at least one EFI bootloader configured |