* util/grub.d/20_linux_xen.in: Automatically add no-real-mode edd=off on
non-BIOS platforms.
This commit is contained in:
parent
30d6b1b290
commit
ff99babdfe
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-03-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub.d/20_linux_xen.in: Automatically add no-real-mode edd=off on
|
||||
non-BIOS platforms.
|
||||
|
||||
2013-03-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/Makefile.core.def (vga): Disable on coreboot and multiboot
|
||||
|
|
|
@ -121,7 +121,12 @@ linux_entry ()
|
|||
lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
|
||||
sed "s/^/$submenu_indentation/" << EOF
|
||||
echo '$(echo "$xmessage" | grub_quote)'
|
||||
multiboot ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args}
|
||||
if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
|
||||
xen_rm_opts=
|
||||
else
|
||||
xen_rm_opts="no-real-mode edd=off"
|
||||
fi
|
||||
multiboot ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
|
||||
echo '$(echo "$lmessage" | grub_quote)'
|
||||
module ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue