Hi, I have a partition with Windows 8 Release Preview installed and the other one is Opensuse 12.2. I don’t know what to do, it just doesn’t start anymore and only redirects me to some Windows repair pages on boot. Does this have something to do with UEFI? It used to work fine with grub legacy in 12.1
Here is fdisk -l:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 41945087 20971520 f W95 Ext'd (LBA)
/dev/sda2 41945088 251658239 104856576 83 Linux
/dev/sda3 251658240 252375039 358400 7 HPFS/NTFS/exFAT
/dev/sda4 252375040 351649791 49637376 7 HPFS/NTFS/exFAT
/dev/sda5 4096 4208639 2102272 82 Linux swap / Solaris
/dev/sda6 4210688 41945087 18867200 83 Linux
Here is grub2.cfg:
#
# 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
set default="${saved_entry}"
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,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
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=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
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
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
fi
insmod png
background_image -m stretch /boot/grub2/themes/openSUSE/background.png
if sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 12.2' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-64edb941-f167-4e1f-b7cb-87678a5000f1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
fi
echo 'Loading Linux 3.4.6-2.10-desktop ...'
linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=64edb941-f167-4e1f-b7cb-87678a5000f1 resume=/dev/disk/by-id/ata-Corsair_Force_GS_12277912000018820035-part5 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.4.6-2.10-desktop
}
submenu 'Advanced options for openSUSE 12.2' $menuentry_id_option 'gnulinux-advanced-64edb941-f167-4e1f-b7cb-87678a5000f1' {
menuentry 'openSUSE 12.2, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.4.6-2.10-desktop-advanced-64edb941-f167-4e1f-b7cb-87678a5000f1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
fi
echo 'Loading Linux 3.4.6-2.10-desktop ...'
linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=64edb941-f167-4e1f-b7cb-87678a5000f1 resume=/dev/disk/by-id/ata-Corsair_Force_GS_12277912000018820035-part5 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.4.6-2.10-desktop
}
menuentry 'openSUSE 12.2, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.4.6-2.10-desktop-recovery-64edb941-f167-4e1f-b7cb-87678a5000f1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 64edb941-f167-4e1f-b7cb-87678a5000f1
else
search --no-floppy --fs-uuid --set=root 64edb941-f167-4e1f-b7cb-87678a5000f1
fi
echo 'Loading Linux 3.4.6-2.10-desktop ...'
linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=64edb941-f167-4e1f-b7cb-87678a5000f1 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.4.6-2.10-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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-14B6CA3AB6CA1C5C' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos3'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 14B6CA3AB6CA1C5C
else
search --no-floppy --fs-uuid --set=root 14B6CA3AB6CA1C5C
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-F01AD7741AD735F6' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos4'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' F01AD7741AD735F6
else
search --no-floppy --fs-uuid --set=root F01AD7741AD735F6
fi
drivemap -s (hd0) ${root}
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.
### 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 ###
If I can’t fix this,can I do this like I used to do in grub legacy:
grub
find /boot/grub/menu.lst
root (hd0,5)
setup (hd0)
quit
reboot
Except that I’m gonna “find /boot/grub2/grub2.cfg” instead. I really need Windows too and bootloaders are seriously complicated in my opinion, mainly because it’s so hard to debug/test things out…