mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
Change default grub.cfg to support fast-boot from EFI BIOS
Review URL: http://codereview.chromium.org/1518025
This commit is contained in:
parent
740d837451
commit
ba9682ac08
@ -377,14 +377,14 @@ cat <<EOF | sudo dd of="${ESP_DIR}/efi/boot/grub.cfg"
|
|||||||
set timeout=2
|
set timeout=2
|
||||||
set default=0
|
set default=0
|
||||||
|
|
||||||
menuentry "serial debug" {
|
|
||||||
linux /efi/boot/vmlinuz earlyprintk=serial,ttyS0,115200 i915.modeset=0 console=ttyS0,115200 acpi=off init=/sbin/init boot=local rootwait root=/dev/sda3 ro noresume noswap loglevel=7
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "normal" {
|
menuentry "normal" {
|
||||||
linux /efi/boot/vmlinuz quiet console=tty2 init=/sbin/init boot=local rootwait root=/dev/sda3 ro noresume noswap i915.modeset=1 loglevel=1
|
linux /efi/boot/vmlinuz quiet console=tty2 init=/sbin/init boot=local rootwait root=/dev/sda3 ro noresume noswap i915.modeset=1 loglevel=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
menuentry "serial debug" {
|
||||||
|
linux /efi/boot/vmlinuz earlyprintk=serial,ttyS0,115200 console=ttyS0,115200 init=/sbin/init boot=local rootwait root=/dev/sda3 ro noresume noswap i915.modeset=1 loglevel=7
|
||||||
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Enable dev mode on the target system and re-run ldconfig
|
# Enable dev mode on the target system and re-run ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user