mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
Merge pull request #441 from Googulator/grub-resolution
Allow grub to autodetect screen resolution
This commit is contained in:
commit
cfa178e8b5
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ set default=0
|
||||||
menuentry 'Linux live-bootstrap (4.9.10)' {
|
menuentry 'Linux live-bootstrap (4.9.10)' {
|
||||||
insmod part_msdos
|
insmod part_msdos
|
||||||
set root='$(grub-probe -d /dev/${DISK} -t bios_hints | sed -e 's/ //g')'
|
set root='$(grub-probe -d /dev/${DISK} -t bios_hints | sed -e 's/ //g')'
|
||||||
|
set gfxpayload=auto
|
||||||
linux /boot/linux-4.9.10 root=/dev/${DISK} rw $(cat /proc/cmdline)
|
linux /boot/linux-4.9.10 root=/dev/${DISK} rw $(cat /proc/cmdline)
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue