Hi all, I had the same problem in Xenserver 5.6 environment with Jessie in PV DomU.

I confirm that Dominique's patch helps with a minor modification. The original patch creates paths that start like "//vmlinuz-3.16.0-4-amd64". That is not compatible with Xenserver PVGRUB. I attach a corrected patch. That creates paths like "/vmlinuz-3.16.0-4-amd64".

I also confirm, that with this patch applied, update-menu-lst generates correct paths when /boot is on the root partition (eg. not-separated).

--
BR
Jan Bubík

*** /usr/sbin/update-menu-lst.orig	2014-01-25 15:03:18.000000000 +0100
--- /usr/sbin/update-menu-lst	2015-07-24 09:08:06.066199739 +0200
***************
*** 67,73 ****
  boot_device=$(find_device "/boot")
  
  # where grub looks for the kernels at boot time
! kernel_dir=/boot
  
  # the "-t abstraction" check is a workaround untill #484297 is fixed
  if abstraction=`grub-probe -t abstraction --device ${root_device} 2> /dev/null` && [ "$abstraction" = "" ] && \
--- 67,77 ----
  boot_device=$(find_device "/boot")
  
  # where grub looks for the kernels at boot time
! if [ "${root_device}" == "${boot_device}" ] ; then
!   kernel_dir=/boot
! else
!   kernel_dir=
! fi
  
  # the "-t abstraction" check is a workaround untill #484297 is fixed
  if abstraction=`grub-probe -t abstraction --device ${root_device} 2> /dev/null` && [ "$abstraction" = "" ] && \

Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

Reply via email to