Bug#904033: grub2-common: menuentry_id_option not unique

Stefan Kadow deb14 at ska67.de
Wed Jul 18 16:08:15 BST 2018


Package: grub2-common
Version: 2.02~beta3-5
Severity: normal

Dear Maintainer,

after installing xen-system-amd64 I got two entries for advanced options
in grub2 menu. Both (sub)menu entries carry the same ID in
/boot/grub/grub.cfg

I tried to select a default value from a submenu using the menu entry
IDs. For now I use the numbering syntax GRUB_DEFAULT="1>0>3".


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 / ext4 rw,relatime,errors=remount-ro,stripe=64,data=ordered 0 0
/dev/mapper/vg0-virt--var /var ext4 rw,relatime,stripe=64,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="gnulinux-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7>xen-hypervisor-4.8-amd64-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7>xen-gnulinux-4.9.0-6-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
else
  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
	else
	  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
	fi
	echo	'Linux 4.9.0-7-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.9.0-7-amd64 root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.9.0-7-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
	menuentry 'Debian GNU/Linux, mit Linux 4.9.0-7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		else
		  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		fi
		echo	'Linux 4.9.0-7-amd64 wird geladen …'
		linux	/boot/vmlinuz-4.9.0-7-amd64 root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-4.9.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		else
		  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		fi
		echo	'Linux 4.9.0-7-amd64 wird geladen …'
		linux	/boot/vmlinuz-4.9.0-7-amd64 root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-4.9.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, mit Linux 4.9.0-6-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		else
		  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		fi
		echo	'Linux 4.9.0-6-amd64 wird geladen …'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		else
		  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
		fi
		echo	'Linux 4.9.0-6-amd64 wird geladen …'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, mit Xen-Hypervisor' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
	else
	  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
	fi
	echo	'Xen 4.8-amd64 wird geladen …'
        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
            xen_rm_opts=
        else
            xen_rm_opts="no-real-mode edd=off"
        fi
	multiboot	/boot/xen-4.8-amd64.gz placeholder   ${xen_rm_opts}
	echo	'Linux 4.9.0-7-amd64 wird geladen …'
	module	/boot/vmlinuz-4.9.0-7-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all loglevel=all
	echo	'Initiale Ramdisk wird geladen …'
	module	--nounzip   /boot/initrd.img-4.9.0-7-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux (mit Xen-Hypervisor)' $menuentry_id_option 'gnulinux-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
	submenu 'Xen-Hypervisor, Version 4.8-amd64' $menuentry_id_option 'xen-hypervisor-4.8-amd64-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		menuentry 'Debian GNU/Linux, mit Xen 4.8-amd64 und Linux 4.9.0-7-amd64' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-7-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64 wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.gz placeholder   ${xen_rm_opts}
			echo	'Linux 4.9.0-7-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-7-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all loglevel=all
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-7-amd64
		}
		menuentry 'Debian GNU/Linux, with Xen 4.8-amd64 and Linux 4.9.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-7-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64 wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.gz placeholder  ${xen_rm_opts}
			echo	'Linux 4.9.0-7-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-7-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-7-amd64
		}
		menuentry 'Debian GNU/Linux, mit Xen 4.8-amd64 und Linux 4.9.0-6-amd64' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-6-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64 wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.gz placeholder   ${xen_rm_opts}
			echo	'Linux 4.9.0-6-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-6-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all loglevel=all
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-6-amd64
		}
		menuentry 'Debian GNU/Linux, with Xen 4.8-amd64 and Linux 4.9.0-6-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-6-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64 wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.gz placeholder  ${xen_rm_opts}
			echo	'Linux 4.9.0-6-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-6-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-6-amd64
		}
	}
	submenu 'Xen-Hypervisor, Version 4.8-amd64.efi' $menuentry_id_option 'xen-hypervisor-4.8-amd64.efi-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
		menuentry 'Debian GNU/Linux, mit Xen 4.8-amd64.efi und Linux 4.9.0-7-amd64' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-7-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64.efi wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.efi placeholder   ${xen_rm_opts}
			echo	'Linux 4.9.0-7-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-7-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all loglevel=all
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-7-amd64
		}
		menuentry 'Debian GNU/Linux, with Xen 4.8-amd64.efi and Linux 4.9.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-7-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64.efi wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.efi placeholder  ${xen_rm_opts}
			echo	'Linux 4.9.0-7-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-7-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-7-amd64
		}
		menuentry 'Debian GNU/Linux, mit Xen 4.8-amd64.efi und Linux 4.9.0-6-amd64' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-6-amd64-advanced-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64.efi wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.efi placeholder   ${xen_rm_opts}
			echo	'Linux 4.9.0-6-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-6-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro  loglevel=all loglevel=all
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-6-amd64
		}
		menuentry 'Debian GNU/Linux, with Xen 4.8-amd64.efi and Linux 4.9.0-6-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.9.0-6-amd64-recovery-c4294afd-1fc4-411c-ba71-ca1f59cdcaa7' {
			insmod part_gpt
			insmod ext2
			set root='hd0,gpt2'
			if [ x$feature_platform_search_hint = xy ]; then
			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			else
			  search --no-floppy --fs-uuid --set=root c4294afd-1fc4-411c-ba71-ca1f59cdcaa7
			fi
			echo	'Xen 4.8-amd64.efi wird geladen …'
		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
		            xen_rm_opts=
		        else
		            xen_rm_opts="no-real-mode edd=off"
		        fi
			multiboot	/boot/xen-4.8-amd64.efi placeholder  ${xen_rm_opts}
			echo	'Linux 4.9.0-6-amd64 wird geladen …'
			module	/boot/vmlinuz-4.9.0-6-amd64 placeholder root=UUID=c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 ro single 
			echo	'Initiale Ramdisk wird geladen …'
			module	--nounzip   /boot/initrd.img-4.9.0-6-amd64
		}
	}
}

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 10 Jul 18 16:21 dm-name-vg0-virt--swap -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 18 16:21 dm-name-vg0-virt--var -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 18 16:21 dm-uuid-LVM-0hrGz4BbOqG8iUCuBXJYDLzwUpF9hPfwlZn1Wze2rbre4SO0fNGe19gno8BZpbn0 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 18 16:21 dm-uuid-LVM-0hrGz4BbOqG8iUCuBXJYDLzwUpF9hPfwomXoWjuTw9f5WZn3FwE2sDNC2Qzsyfx4 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 18 16:21 lvm-pv-uuid-QNjj9h-TvIA-0HxS-fPWs-ViyB-V8AJ-6G73ap -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 18 16:21 lvm-pv-uuid-nI8f7A-lQQv-wTiy-A8nR-GQiq-A9ps-fg7a1A -> ../../sda4
lrwxrwxrwx 1 root root  9 Jul 18 16:21 lvm-pv-uuid-teh6EL-UJKh-OyNr-koeI-Yieh-AqjX-CTFADI -> ../../sdb
lrwxrwxrwx 1 root root  9 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81265b4b038c -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81265b4b038c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81265b4b038c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81265b4b038c-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81265b4b038c-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Jul 18 16:21 scsi-3600605b00e1b6d4021cd81275b5e9c7e -> ../../sdb
lrwxrwxrwx 1 root root  9 Jul 18 16:21 usb-Generic_USB_Flash_Disk-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81265b4b038c -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81265b4b038c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81265b4b038c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81265b4b038c-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81265b4b038c-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Jul 18 16:21 wwn-0x600605b00e1b6d4021cd81275b5e9c7e -> ../../sdb
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jul 18 16:21 63dd573d-84ac-41e0-82f5-5d53cd8d642a -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 18 16:21 c4294afd-1fc4-411c-ba71-ca1f59cdcaa7 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 18 16:21 ffc93a1c-f0f8-45a1-b766-1f9f19f9bb92 -> ../../dm-1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/64 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub2-common depends on:
ii  dpkg                1.18.25
ii  grub-common         2.02~beta3-5
ii  install-info        6.3.0.dfsg.1-1+b2
ii  libc6               2.24-11+deb9u3
ii  libdevmapper1.02.1  2:1.02.137-2
ii  liblzma5            5.2.2-1.2+b1

grub2-common recommends no packages.

grub2-common suggests no packages.

-- no debconf information


More information about the Pkg-grub-devel mailing list