Bug#606483: /etc/grub.d/20_linux_xen inserts 'extra and useless' "placeholder" to xen.gz command line

Mark Brown mbrown at greenmountainservices.com
Thu Dec 9 16:26:18 UTC 2010


Package: grub-pc
Version: 1.98+20100804-8

System:  2.6.32-5-xen-amd64 #1 SMP Thu Nov 25 20:08:32 UTC 2010 x86_64
GNU/Linux
debian_version: squeeze/sid

Suggested solution:

*** /root/grub.d/20_linux_xen/ro2010-12-09 11:04:15.000000000
-050020_linux_xen
--- /etc/grub.d/20_linux_xen    2010-12-09 11:04:33.000000000 -0500
*************** linux_entry ()
*** 73,80 ****
    printf '%s\n' "${prepare_boot_cache}"
    cat << EOF
        echo    '$(printf "$(gettext_quoted "Loading Linux %s ...")"
${version})'
!       multiboot       ${rel_xen_dirname}/${xen_basename} placeholder
${xen_args}
!       module  ${rel_dirname}/${basename} placeholder
root=${linux_root_device_thisversion} ro ${args}
  EOF
    if test -n "${initrd}" ; then
      cat << EOF
--- 73,80 ----
    printf '%s\n' "${prepare_boot_cache}"
    cat << EOF
        echo    '$(printf "$(gettext_quoted "Loading Linux %s ...")"
${version})'
!       multiboot       ${rel_xen_dirname}/${xen_basename} ${xen_args}
!       module  ${rel_dirname}/${basename}
root=${linux_root_device_thisversion} ro ${args}
  EOF
    if test -n "${initrd}" ; then
      cat << EOF





More information about the Pkg-grub-devel mailing list