Added support for serial consoles in grub2 menu
This commit is contained in:
parent
5861890397
commit
31af65f9cb
|
@ -23,13 +23,13 @@ insmod part_msdos
|
||||||
|
|
||||||
# Set up display
|
# Set up display
|
||||||
set gfxmode=auto
|
set gfxmode=auto
|
||||||
terminal_output gfxterm
|
terminal_output gfxterm serial_com0
|
||||||
|
terminal_input console serial_com0
|
||||||
background_image /boot/grub/splash.png
|
background_image /boot/grub/splash.png
|
||||||
loadfont /boot/grub/unicode.pf2
|
loadfont /boot/grub/unicode.pf2
|
||||||
|
|
||||||
# Scan all disks except for current root
|
# Scan all disks except for current root
|
||||||
for disk in (*)
|
for disk in (*); do
|
||||||
do
|
|
||||||
if [ "$disk" != "(${root})" ]; then
|
if [ "$disk" != "(${root})" ]; then
|
||||||
scan_disk $disk
|
scan_disk $disk
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue