Bug#901279: grub-common: update-grub overwrites /boot/grub/grub.cfg

Greg Alexander debg at galexander.org
Sun Jun 10 21:12:51 BST 2018


Package: grub-common
Version: 2.02+dfsg1-4
Severity: important

Dear Maintainer,

I upgraded from an old version of grub using Debian's
"apt-get install grub-pc", and it overwrote my /boot/grub/grub.cfg
without prompting me, and without making a backup copy.  My old grub.cfg
was hand-crafted, simple, concise.  The new one is not. I don't know if I
would be better off with the older grub.cfg, but I do know I would like
to have it for reference!

Inspecting after the fact, I believe the specific steps were:
grub-pc.postinst script ran update-grub, which then ran grub-mkconfig -o
/boot/grub/grub.cfg.

At a minimum, update-grub must make a backup copy of the original
grub.cfg.

Thanks!

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/root / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/md0 /big ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/sda4 /scratch ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427
(hd1)	/dev/disk/by-id/ata-ST2000DL004_HD204UI_S2H7J9GC303676
*********************** END /boot/grub/device.map

*********************** 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="0"
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_msdos
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/8ecd869162cee1e9f73c365688306c0e'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/8ecd869162cee1e9f73c365688306c0e'  7a3cb040-495b-4c5e-896d-f59fba6a3243
else
  search --no-floppy --fs-uuid --set=root 7a3cb040-495b-4c5e-896d-f59fba6a3243
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
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-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
	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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
	else
	  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
	fi
	echo	'Loading Linux 4.1.46-20171117 ...'
	linux	/boot/vmlinuz-4.1.46-20171117 root=/dev/sda2 ro  
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
	menuentry 'Debian GNU/Linux, with Linux 4.1.46-20171117' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.46-20171117-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.46-20171117 ...'
		linux	/boot/vmlinuz-4.1.46-20171117 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.46-20171117 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.46-20171117-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.46-20171117 ...'
		linux	/boot/vmlinuz-4.1.46-20171117 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.46-20171117 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.46-20171117-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.46-20171117 ...'
		linux	/boot/vmlinuz-4.1.46-20171117 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.39-20170425-1' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.39-20170425-1-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.39-20170425-1 ...'
		linux	/boot/vmlinuz-4.1.39-20170425-1 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.39-20170425-1 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.39-20170425-1-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.39-20170425-1 ...'
		linux	/boot/vmlinuz-4.1.39-20170425-1 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.39-20170425-1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.39-20170425-1-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.39-20170425-1 ...'
		linux	/boot/vmlinuz-4.1.39-20170425-1 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-3' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-3-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-3 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-3 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-3 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-3-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-3 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-3 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-3 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-3-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-3 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-3 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-2' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-2-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-2 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-2 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-2 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-2-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-2 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-2 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-2 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-2-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-2 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-2 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-1' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-1-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-1 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-1 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-1 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-1-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-1 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-1 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 4.1.18-20160227-1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.18-20160227-1-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 4.1.18-20160227-1 ...'
		linux	/boot/vmlinuz-4.1.18-20160227-1 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-64-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-64 ...'
		linux	/boot/vmlinuz-2.6.32.22-64 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-64-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-64 ...'
		linux	/boot/vmlinuz-2.6.32.22-64 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-64-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-64 ...'
		linux	/boot/vmlinuz-2.6.32.22-64 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-32' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-32-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-32 ...'
		linux	/boot/vmlinuz-2.6.32.22-32 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-32 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-32-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-32 ...'
		linux	/boot/vmlinuz-2.6.32.22-32 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-32 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-32-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-32 ...'
		linux	/boot/vmlinuz-2.6.32.22-32 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22 ...'
		linux	/boot/vmlinuz-2.6.32.22 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22 ...'
		linux	/boot/vmlinuz-2.6.32.22 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22 ...'
		linux	/boot/vmlinuz-2.6.32.22 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-prev' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-prev-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-prev ...'
		linux	/boot/vmlinuz-2.6.32.22-prev root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-prev (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-prev-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-prev ...'
		linux	/boot/vmlinuz-2.6.32.22-prev root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.32.22-prev (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32.22-prev-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.32.22-prev ...'
		linux	/boot/vmlinuz-2.6.32.22-prev root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-32' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-32-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-32 ...'
		linux	/boot/vmlinuz-2.6.27.37-32 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-32 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-32-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-32 ...'
		linux	/boot/vmlinuz-2.6.27.37-32 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-32 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-32-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-32 ...'
		linux	/boot/vmlinuz-2.6.27.37-32 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37 ...'
		linux	/boot/vmlinuz-2.6.27.37 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37 ...'
		linux	/boot/vmlinuz-2.6.27.37 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37 ...'
		linux	/boot/vmlinuz-2.6.27.37 root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-old' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-old-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-old ...'
		linux	/boot/vmlinuz-2.6.27.37-old root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-old (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-old-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-old ...'
		linux	/boot/vmlinuz-2.6.27.37-old root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.37-old (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.37-old-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.37-old ...'
		linux	/boot/vmlinuz-2.6.27.37-old root=/dev/sda2 ro single 
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.9' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.9-advanced-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.9 ...'
		linux	/boot/vmlinuz-2.6.27.9 root=/dev/sda2 ro  
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.9 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.9-init-sysvinit-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.9 ...'
		linux	/boot/vmlinuz-2.6.27.9 root=/dev/sda2 ro   init=/lib/sysvinit/init
	}
	menuentry 'Debian GNU/Linux, with Linux 2.6.27.9 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.27.9-recovery-8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3' {
		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 --hint='hd0,gpt2'  8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		else
		  search --no-floppy --fs-uuid --set=root 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3
		fi
		echo	'Loading Linux 2.6.27.9 ...'
		linux	/boot/vmlinuz-2.6.27.9 root=/dev/sda2 ro single 
	}
}

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

### BEGIN /etc/grub.d/20_linux_xen ###
### 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
Personalities : [raid1] [raid6] [raid5] [raid4] 
md0 : active raid1 sda3[0] sdb2[2]
      1952401408 blocks super 1.2 [2/2] [UU]
      bitmap: 6/15 pages [24KB], 65536KB chunk

unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Jun  9 16:20 ata-ST2000DL004_HD204UI_S2H7J9GC303676 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun  9 16:20 ata-ST2000DL004_HD204UI_S2H7J9GC303676-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun  9 16:20 ata-ST2000DL004_HD204UI_S2H7J9GC303676-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Jun  9 21:06 ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun  9 21:06 ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun  9 21:06 ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun  9 21:06 ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun  9 21:06 ata-WDC_WD30EZRZ-00WN9B0_WD-WCC4E6DCS427-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 May  5 21:31 md-name-stallion:0 -> ../../md0
lrwxrwxrwx 1 root root  9 May  5 21:31 md-uuid-8ecd8691:62cee1e9:f73c3656:88306c0e -> ../../md0
lrwxrwxrwx 1 root root  9 Jun  9 16:20 wwn-0x50004cf206fdb385 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun  9 16:20 wwn-0x50004cf206fdb385-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun  9 16:20 wwn-0x50004cf206fdb385-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Jun  9 21:06 wwn-0x50014ee2b748432e -> ../../sda
lrwxrwxrwx 1 root root 10 Jun  9 21:06 wwn-0x50014ee2b748432e-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun  9 21:06 wwn-0x50014ee2b748432e-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun  9 21:06 wwn-0x50014ee2b748432e-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun  9 21:06 wwn-0x50014ee2b748432e-part4 -> ../../sda4
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jun  9 21:06 5ed86e16-7675-4b5f-a331-74cc04ddfa41 -> ../../sda4
lrwxrwxrwx 1 root root  9 May  5 21:31 7a3cb040-495b-4c5e-896d-f59fba6a3243 -> ../../md0
lrwxrwxrwx 1 root root 10 Jun  9 21:06 8013aa3b-fcf2-46b1-ac0c-ecf2be63d5a3 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun  9 16:20 8aedb39b-9b15-4f7c-9a48-7c7e13cb1474 -> ../../sdb1
*********************** END /dev/disk/by-uuid

-- System Information:
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch
Distributor ID:	Devuan
Description:	Devuan GNU/Linux unstable (ceres)
Release:	unstable
Codename:	ceres
Architecture: x86_64

Kernel: Linux 4.1.46 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages grub-common depends on:
ii  gettext-base        0.19.8.1-6+b1
ii  libc6               2.27-3
ii  libdevmapper1.02.1  2:1.02.145-4.1
ii  libfreetype6        2.8.1-2
ii  libfuse2            2.9.7-1
ii  liblzma5            5.2.2-1.2+b1

Versions of packages grub-common recommends:
pn  os-prober  <none>

Versions of packages grub-common suggests:
pn  console-setup  <none>
pn  desktop-base   <none>
pn  grub-emu       <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information



More information about the Pkg-grub-devel mailing list