• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Nach Installion von OS Leap startet Windows nicht mehr

Hallo,

seit November 2015 habe ich zur vollsten Zufriedenheit OpenSuse Leap am laufen. Nur wenn ich beim Starten Windows starten will,
wird kein Sytem erkannt. Momentan kann ich Windows nur starten, wenn ich im Bios die Partition an erste Stelle schiebe startet Windows,
aber ohne vorher eine Auswahl anzugeben. :???: Woran kann das liegen, was kann ich posten.

VG Uwe
 

gehrke

Administrator
Teammitglied
Was heisst 'wird kein System erkannt'? Gibt es im Boot-Menu einen Eintrag für Windows oder nicht?
Und ist die Situation seit der Installation von Leap so oder ist das erst danach irgendwann eingetreten?
 
Ja, wenn ich im Bios nachsehe ist die Windows-Partition da. Im Bootmenue wir sie auch erkannt.
Wenn ich sie auswähle geht ein Fenster auf, mit dem Hinweis "keine System erkannt. Weiter mit einer Taste" und schwubs bin ich wieder im Bootmenü.
 

gehrke

Administrator
Teammitglied
Bitte poste den Output dieser Befehle in Code-Tags, ausgeführt als root:
Code:
efibootmgr -v
lsblk
ls -l /boot
ls -l /boot/efi
ls -l /boot/grub2/grub.cfg
cat /boot/grub2/grub.cfg
grub2-mkconfig
grep GRUB_DISABLE_OS_PROBER /etc/default/grub
rpm -qv os-prober grub2 yast2-bootloader
In welcher Partition liegt Deine Windows-Installation?
TNX
 
So, alles nach einander:
Code:
linux-c0xy:~ # efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0003,0001,0000,0002,2001,2002,2003
Boot0000* HDD1: WDC WD10JPVX-22JC3T0    ACPI(a0341d0,0)PCI(1f,2)03120a00050000000000HD(3,2627d800,4d800,a98dc764-73f2-41be-8217-5fff662e4c3b)RC
Boot0001* opensuse-secureboot   HD(3,2627d800,4d800,a98dc764-73f2-41be-8217-5fff662e4c3b)File(\EFI\opensuse\shim.efi)
Boot0002* Windows Boot Manager  HD(2,12c800,32000,aa72fc04-b9f0-493e-ae6d-acbd44e34d46)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0003* grub-secureboot       HD(3,2627d800,4d800,a98dc764-73f2-41be-8217-5fff662e4c3b)File(\EFI\grub\shim.efi)
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC
linux-c0xy:~ #
Code:
linux-c0xy:~ # lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0   600M  0 part 
├─sda2   8:2    0   100M  0 part 
├─sda3   8:3    0   128M  0 part 
└─sda4   8:4    0 118.4G  0 part 
sdb      8:16   0 931.5G  0 disk 
├─sdb1   8:17   0 305.2G  0 part 
├─sdb2   8:18   0  16.2G  0 part 
├─sdb3   8:19   0   155M  0 part /boot/efi
├─sdb4   8:20   0     2G  0 part [SWAP]
├─sdb5   8:21   0    40G  0 part /var/lib/named
└─sdb6   8:22   0 567.9G  0 part /home
sr0     11:0    1  1024M  0 rom  
linux-c0xy:~ #
Code:
linux-c0xy:~ # ls -l /boot
total 25544
-rw-r--r-- 1 root root      65 Oct 29 19:26 .vmlinuz-4.1.12-1-default.hmac
-rw-r--r-- 1 root root 3117315 Oct 29 15:14 System.map-4.1.12-1-default
-rw-r--r-- 1 root root    1725 Oct 13 15:06 boot.readme
-rw-r--r-- 1 root root  164424 Oct 29 13:14 config-4.1.12-1-default
drwxr-xr-x 1 root root       0 Nov 23 10:53 dracut
drwxrwxr-x 3 root root   16384 Jan  1  1970 efi
drwxr-xr-x 1 root root     120 Dec  3 17:21 grub2
lrwxrwxrwx 1 root root      23 Nov 17 12:43 initrd -> initrd-4.1.12-1-default
-rw-r--r-- 1 root root 9227812 Dec  2 09:47 initrd-4.1.12-1-default
-rw-r--r-- 1 root root  499712 Oct 29 21:45 message
-rwxr-xr-x 1 root root     169 Nov 17 12:44 perl-BL_delayed_exec                                                                                                                  
-rw-r--r-- 1 root root  329098 Oct 29 15:53 symvers-4.1.12-1-default.gz                                                                                                           
-rw-r--r-- 1 root root     484 Oct 29 15:53 sysctl.conf-4.1.12-1-default
-rw-r--r-- 1 root root 6891750 Oct 29 16:19 vmlinux-4.1.12-1-default.gz
lrwxrwxrwx 1 root root      24 Nov 17 12:43 vmlinuz -> vmlinuz-4.1.12-1-default
-rw-r--r-- 1 root root 5872008 Oct 29 19:26 vmlinuz-4.1.12-1-default
linux-c0xy:~ # ls -l /boot/efi
total 4
drwxrwxr-x 5 root root 4096 Nov 16 14:14 EFI
linux-c0xy:~ #
Code:
linux-c0xy:~ # ls -l /boot/grub2//grub.cfg
-rw------- 1 root root 6709 Dec  3 17:21 /boot/grub2//grub.cfg
linux-c0xy:~ # cat /boot/grub2/grub.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 ###
set btrfs_relative_path="y"
export btrfs_relative_path
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi

if [ "${env_block}" ] ; then
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   fi
   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_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
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=de_DE
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
  set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=8
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=8
fi
if [ -n "$extra_cmdline" ]; then
  submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
  }
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE Leap 42.1'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62d78969-09f4-4f65-98bb-10010686c391' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt 
        insmod btrfs
        set root='hd1,gpt5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
        else
          search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
        fi
        echo    'Linux 4.1.12-1-default wird geladen …'
        linuxefi /boot/vmlinuz-4.1.12-1-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
        echo    'Initiale Ramdisk wird geladen …'
        initrdefi /boot/initrd-4.1.12-1-default
}
submenu 'Erweiterte Optionen für openSUSE Leap 42.1' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
        menuentry 'openSUSE Leap 42.1, mit Linux 4.1.12-1-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.12-1-default-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt 
                insmod btrfs
                set root='hd1,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
                else
                  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
                fi
                echo    'Linux 4.1.12-1-default wird geladen …'
                linuxefi /boot/vmlinuz-4.1.12-1-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
                echo    'Initiale Ramdisk wird geladen …'
                initrdefi /boot/initrd-4.1.12-1-default
        }
}

### 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/30_os-prober ###
menuentry 'Windows Boot Manager (auf /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-A03E-77DC' {
        insmod part_gpt 
        insmod fat
        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  A03E-77DC
        else
          search --no-floppy --fs-uuid --set=root A03E-77DC
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### 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/80_suse_btrfs_snapshot ###
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
  source "/.snapshots/grub-snapshot.cfg"
fi
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
linux-c0xy:~ # [/quote][quote]linux-c0xy:~ # grub2-mkconfig
Generating grub configuration file ...
#
# 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 ###
set btrfs_relative_path="y"
export btrfs_relative_path
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi

if [ "${env_block}" ] ; then
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   fi
   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_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
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
Found theme: /boot/grub2/themes/openSUSE/theme.txt
insmod part_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
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 [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=8
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=8
fi
if [ -n "$extra_cmdline" ]; then
  submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
  }
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-4.1.12-1-default
Found initrd image: /boot/initrd-4.1.12-1-default
menuentry 'openSUSE Leap 42.1'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62d78969-09f4-4f65-98bb-10010686c391' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt 
        insmod btrfs
        set root='hd1,gpt5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
        else
          search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
        fi
        echo    'Loading Linux 4.1.12-1-default ...'
        linuxefi /boot/vmlinuz-4.1.12-1-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
        echo    'Loading initial ramdisk ...'
        initrdefi /boot/initrd-4.1.12-1-default
}
submenu 'Advanced options for openSUSE Leap 42.1' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
        menuentry 'openSUSE Leap 42.1, with Linux 4.1.12-1-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.12-1-default-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt 
                insmod btrfs
                set root='hd1,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5  62d78969-09f4-4f65-98bb-10010686c391
                else
                  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
                fi
                echo    'Loading Linux 4.1.12-1-default ...'
                linuxefi /boot/vmlinuz-4.1.12-1-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-4.1.12-1-default
        }
}

### 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/30_os-prober ###
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-A03E-77DC' {
        insmod part_gpt 
        insmod fat
        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  A03E-77DC
        else
          search --no-floppy --fs-uuid --set=root A03E-77DC
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### 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/80_suse_btrfs_snapshot ###
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
  source "/.snapshots/grub-snapshot.cfg"
fi
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
done
Code:
linux-c0xy:~ # grep GRUB_DISABLE_OS_PROBER /etc/default/grub
GRUB_DISABLE_OS_PROBER=false
Code:
linux-c0xy:~ # rpm -qv os-prober grub2 yast2-bootloader
os-prober-1.61-15.1.x86_64
grub2-2.02~beta2-70.1.x86_64
yast2-bootloader-3.1.161-3.1.x86_64
linux-c0xy:~ #
:???:

Die Partition liegt als SSD-Festplatte unter
  • /dev/sda
    /dev/sda1
    /dev/sda2
    /dev/sda3
    /dev/sda4
Opensuse liegt als HDD auf sdb.


edit von Jägerschlürfer: code tags korrekt gesetzt
 
1. "code" verwenden (und nicht "quote").
2. Pro Befehl ein eigener Block.
_______

Gibt es tatsächlich zwei EFI-Systempartitionen (/dev/sda2 und /dev/sdb3)?

Funktioniert im UEFI-Boot-Menü die Auswahl "Windows Boot Manager"?

Hänge /dev/sda2 ein, und zeige uns, was sich dort alles befindet.

Außerdem noch:
Code:
ls /boot/efi/EFI/*
file -sk /dev/sda*
fdisk -l /dev/sda
 

gehrke

Administrator
Teammitglied
Uwe.Lü schrieb:
Code:
linux-c0xy:~ # rpm -qv os-prober grub2 yast2-bootloader
os-prober-1.61-15.1.x86_64
grub2-2.02~beta2-70.1.x86_64
yast2-bootloader-3.1.161-3.1.x86_64
linux-c0xy:~ #
Siehe: http://linux-club.de/forum/viewtopic.php?f=89&t=120763&p=770267#p770263

Ich vermute einen Bug im aktuellen os-prober. Wenn das stimmt, dann könnte ein Downgrade (testweise erst mal) aller drei Pakete das Problem evtl. beheben. Anschließend den Output hiervon hier bitte nochmals posten (als root in Code-Tags):
Code:
rpm -qv os-prober grub2 yast2-bootloader
grub2-mkconfig
 
Vielen Dank für Eure Bemühungen.

Noch ein weiteres Problem, aufgefallen beim Versuch des Downgrades:

  • Yast startet normal, aber beim Auswahl der Softwareinstallationsroutine geht das Fenster auf, die Repositorys werden geladen und dann ist das Fenster weg.
Warum? Die Softwareaktualisierung läuft ohne Probleme
 
Dieses Problem hat sich, nachdem ich über die Konsole Yast2 neu installiert habe, gelöst.
Bleibt die Frage: wie mache ich ein Downgrade z.B. von os-prober.
Wenn ich versuche os-prober zu löschen, kommen sofort Fehlermeldungen, das es zu Konflikten mit Grub... u. a. kommt.
Also Abbruch
 

gehrke

Administrator
Teammitglied
Im YaST von 13.1 gibt es das Tab 'Versions'. Naiverweise hätte ich das verwendet, um einen älteren Stand auszuwählen. Bei abhängigen Paketen sollte dann ebenfalls ein passendes Downgrade angeboten werden.
Ist das nicht so?
 
Vielen Dank für den Hinweis. Bin gerade an meinem Schleppi zu Hause und habe den Schalter im Yast gefunden, Ich werde es morgen im Büro versuchen.
Bis denne und schönen Abend.

Uwe
 
Guten Morgen, den Downgrad habe ich durchführt. hier die Ausgaben:
Code:
linux-c0xy:~ # rpm -qv os-prober grub2 yast2-bootloader
os-prober-1.61-13.1.x86_64
grub2-2.02~beta2-68.2.x86_64
yast2-bootloader-3.1.159-1.1.x86_64
linux-c0xy:~ #
Code:
linux-c0xy:~ # grub2-mkconfig
Generating grub configuration file ...
#
# 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 ###
set btrfs_relative_path="y"
export btrfs_relative_path
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi

if [ "${env_block}" ] ; then
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   fi
   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_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 --hint='hd1,gpt5'  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
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
Found theme: /boot/grub2/themes/openSUSE/theme.txt
insmod part_gpt 
insmod btrfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 --hint='hd1,gpt5'  62d78969-09f4-4f65-98bb-10010686c391
else
  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
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 [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=8
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=8
fi
if [ -n "$extra_cmdline" ]; then
  submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
  }
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-4.1.13-5-default
Found initrd image: /boot/initrd-4.1.13-5-default
menuentry 'openSUSE Leap 42.1'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62d78969-09f4-4f65-98bb-10010686c391' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt 
        insmod btrfs
        set root='hd1,gpt5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 --hint='hd1,gpt5'  62d78969-09f4-4f65-98bb-10010686c391
        else
          search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
        fi
        echo    'Loading Linux 4.1.13-5-default ...'
        linuxefi /boot/vmlinuz-4.1.13-5-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
        echo    'Loading initial ramdisk ...'
        initrdefi /boot/initrd-4.1.13-5-default
}
submenu 'Advanced options for openSUSE Leap 42.1' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
        menuentry 'openSUSE Leap 42.1, with Linux 4.1.13-5-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.13-5-default-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt 
                insmod btrfs
                set root='hd1,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 --hint='hd1,gpt5'  62d78969-09f4-4f65-98bb-10010686c391
                else
                  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
                fi
                echo    'Loading Linux 4.1.13-5-default ...'
                linuxefi /boot/vmlinuz-4.1.13-5-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-4.1.13-5-default
        }
Found linux image: /boot/vmlinuz-4.1.12-1-default
Found initrd image: /boot/initrd-4.1.12-1-default
        menuentry 'openSUSE Leap 42.1, with Linux 4.1.12-1-default'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.12-1-default-advanced-62d78969-09f4-4f65-98bb-10010686c391' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt 
                insmod btrfs
                set root='hd1,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 --hint='hd1,gpt5'  62d78969-09f4-4f65-98bb-10010686c391
                else
                  search --no-floppy --fs-uuid --set=root 62d78969-09f4-4f65-98bb-10010686c391
                fi
                echo    'Loading Linux 4.1.12-1-default ...'
                linuxefi /boot/vmlinuz-4.1.12-1-default root=UUID=62d78969-09f4-4f65-98bb-10010686c391 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/09506992-6fa1-4064-b75a-9133867a3c9f splash=silent quiet showopts
                echo    'Loading initial ramdisk ...'
                initrdefi /boot/initrd-4.1.12-1-default
        }
}

### 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/30_os-prober ###
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-A03E-77DC' {
        insmod part_gpt 
        insmod fat
        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'  A03E-77DC
        else
          search --no-floppy --fs-uuid --set=root A03E-77DC
        fi
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### 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/80_suse_btrfs_snapshot ###
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
  source "/.snapshots/grub-snapshot.cfg"
fi
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
done
linux-c0xy:~ #
 

gehrke

Administrator
Teammitglied
Das hier sagt Diff zu der relevanten Stelle:
Code:
393c201
< Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
---
> Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
399c207
<           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  A03E-77DC
---
>           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  A03E-77DC
403c211
<         chainloader /efi/Microsoft/Boot/bootmgfw.efi
---
>         chainloader /EFI/Microsoft/Boot/bootmgfw.efi
429c237,238
Eigentlich sollte Groß-/Kleinschreibung bei einer FAT-Partition egal sein. Ein Bug wird damit nicht wahrscheinlicher und ich würde vermuten, dass es Dir nichts bringen würde, diese Version mit Parameter -o zu persistieren und zu testen. Kannst Du natürlich trotzdem probieren.

Die Antwort hierauf ist noch ausstehend:
josef-wien schrieb:
Gibt es tatsächlich zwei EFI-Systempartitionen (/dev/sda2 und /dev/sdb3)?

Funktioniert im UEFI-Boot-Menü die Auswahl "Windows Boot Manager"?

Hänge /dev/sda2 ein, und zeige uns, was sich dort alles befindet.

Außerdem noch:
Code:
ls /boot/efi/EFI/*
file -sk /dev/sda*
fdisk -l /dev/sda
Auch hier wird wieder sda2 referenziert, laut dem vorigen Ausgaben sollte es aber sdb3 sein, zumindest ist das gemountet.
 
Entschuldigung, vergessen. Hier die Ausgabe:
Code:
linux-c0xy:~ # ls /boot/efi/EFI/*
/boot/efi/EFI/boot:
bootx64.efi  fallback.efi

/boot/efi/EFI/grub:
MokManager.efi  boot.csv  grub.cfg  grub.efi  shim.efi

/boot/efi/EFI/opensuse:
MokManager.efi  boot.csv  grub.cfg  grub.efi  grubx64.efi  shim.efi
linux-c0xy:~ #
Code:
linux-c0xy:~ # ls /boot/efi/EFI/*
/boot/efi/EFI/boot:
bootx64.efi  fallback.efi

/boot/efi/EFI/grub:
MokManager.efi  boot.csv  grub.cfg  grub.efi  shim.efi

/boot/efi/EFI/opensuse:
MokManager.efi  boot.csv  grub.cfg  grub.efi  grubx64.efi  shim.efi
linux-c0xy:~ #
Code:
linux-c0xy:~ # fdisk -l /dev/sda

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2E730742-A61A-4579-A663-F03C36B98FD4

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1230847   1228800   600M Windows recovery environment
/dev/sda2  1230848   1435647    204800   100M EFI System
/dev/sda3  1435648   1697791    262144   128M Microsoft reserved
/dev/sda4  1697792 250068991 248371200 118.4G Microsoft basic data

linux-c0xy:~ #
 
Oben