I found how grub was configured before:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if -s $prefix/grubenv ]; then
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="${saved_entry}"
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 ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
font="/usr/share/grub2/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=POSIX
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=2
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cdf94d64-d94d-4897-a104-ff17512ef505' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop root=UUID=cdf94d64-d94d-4897-a104-ff17512ef505 resume=/dev/disk/by-id/ata-WDC_WD3200BPVT-16JJ5T0_WD-WX91A82N9330-part5 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
submenu 'Advanced options for openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-cdf94d64-d94d-4897-a104-ff17512ef505' {
menuentry 'openSUSE 12.3, with Linux 3.11.10-7-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-7-desktop-advanced-cdf94d64-d94d-4897-a104-ff17512ef505' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop root=UUID=cdf94d64-d94d-4897-a104-ff17512ef505 resume=/dev/disk/by-id/ata-WDC_WD3200BPVT-16JJ5T0_WD-WX91A82N9330-part5 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.10-7-desktop (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-7-desktop-recovery-cdf94d64-d94d-4897-a104-ff17512ef505' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop root=UUID=cdf94d64-d94d-4897-a104-ff17512ef505 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.6-4-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-advanced-cdf94d64-d94d-4897-a104-ff17512ef505' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
echo 'Loading Linux 3.11.6-4-desktop ...'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=cdf94d64-d94d-4897-a104-ff17512ef505 resume=/dev/disk/by-id/ata-WDC_WD3200BPVT-16JJ5T0_WD-WX91A82N9330-part5 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.6-4-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.6-4-desktop (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-recovery-cdf94d64-d94d-4897-a104-ff17512ef505' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' cdf94d64-d94d-4897-a104-ff17512ef505
else
search --no-floppy --fs-uuid --set=root cdf94d64-d94d-4897-a104-ff17512ef505
fi
echo 'Loading Linux 3.11.6-4-desktop ...'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=cdf94d64-d94d-4897-a104-ff17512ef505 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.6-4-desktop
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-48ACD7AFACD795B2' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 48ACD7AFACD795B2
else
search --no-floppy --fs-uuid --set=root 48ACD7AFACD795B2
fi
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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.
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.CEEFA5E46FE7FAE9AC2CCEF4A5D5EB588D190916FB193DAE0D40A1681683048732D7D24264E670A4CFBC686DE8282A7F4315EAEB533D253009A31FE7D571FBEF.1106A72F254B3EBC61239333D4676FB1AA58B08D5401B427BBA8A0B0BBDE7223822D2A78F0A3E56C5697CD15C49CADA6F3CE17697E4B034171566F97BFF61E91
menuentry "Sec" --unrestricted {
insmod ext2
set root=(hd0,2)
chainloader +1
}
### 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 ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
But now sytuation is a little different. Before Windows partition was unencrypted and Grub2 discovered Windws automaticaly.