From bsfc, 7 Years ago, written in Plain Text.
Embed
  1. ### BEGIN /etc/grub.d/30_os-prober ###
  2. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-6834715B34712D66' {
  3.         insmod part_msdos
  4.         insmod ntfs
  5.         set root='hd0,msdos1'
  6.         if [ x$feature_platform_search_hint = xy ]; then
  7.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6834715B34712D66
  8.         else
  9.           search --no-floppy --fs-uuid --set=root 6834715B34712D66
  10.         fi
  11.         chainloader +1
  12. }
  13.