Danke für eure Hinweise.
Das mit dem Schnellstart könnte es sein und ich achte darauf, wenn ich noch einen Versuch mit Dual Boot starten sollte. Vielleicht ist das mit der VM auch die elegantere Lösung.
Beiträge von Benedikt
-
-
Die einfachste und sichere Möglichkeit wäre Windows neu installieren dann Leap.
Ja, das werd ich wohl machen.

-
-
Danke erstmal, dass ihr euch der Sache annehmt.
grub2-mkconfig schreibt mir keinen Windows-Eintrag in die grub.cfg.

m EFI fehlt die Bootoption für Windows, siehe 'efibootmgr -v' Ausgabe.
War Windows vorinstalliert?
Ja, Windows war installiert. Kann ich die Bootoption irgendwie erzeugen?
-
gibt es bei Dir eine ausführbare Datei /etc/grub.d/30_os-prober ?
Ja, die gibt es.
-
Hat Dein Installationsprogramm für OpenSuse bei der Partitionierung angezeigt, dass es Partitionen mit anderen Betriebssystemen gefunden hat ?
Ja, hat es. Kann ich den Abschnitt für Windows einfach per Copy + Paste in die grub.cfg eintragen?
-
mal Yast, Modul Bootloader starten.
Dort im Reiter Bootloader Option prüfen, welche Einträge dort vorhanden sind
Nur openSUSE Tumbleweed und UEFI Firmware Settings.
-
cat /boot/grub2/grub.cfg
Code
Alles anzeigen# # 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 set env_block="(${root})${env_block}" export env_block 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}" if [ "${env_block}" ] ; then save_env -f "${env_block}" saved_entry else save_env saved_entry fi 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 search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 font="/usr/share/grub2/unicode.pf2" fi if loadfont $font ; then if [ "${grub_platform}" = "efi" ]; then echo "Please press 't' to show the boot menu on this console" fi set gfxmode=auto load_video insmod gfxterm fi terminal_input console terminal_output gfxterm insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 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 menuentry "Help on bootable snapshot #$snapshot_num" { echo "Select the default entry of the snapshot boot menu." echo "Examine the snapshot, and if it's OK," echo " run 'snapper rollback' and reboot." echo "See 'System Rollback by Booting from Snapshots'" echo " in the manual for more information." echo " ** Hit Any Key to return to boot menu ** " read } fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'openSUSE Tumbleweed' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 echo 'Loading Linux 5.16.2-1-default ...' linuxefi /boot/vmlinuz-5.16.2-1-default root=UUID=b4c123e0-f28b-45ee-b3c3-60f95de0ad42 ${extra_cmdline} splash=silent mitigations=auto quiet security=apparmor echo 'Loading initial ramdisk ...' initrdefi /boot/initrd-5.16.2-1-default } submenu 'Advanced options for openSUSE Tumbleweed' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { menuentry 'openSUSE Tumbleweed, with Linux 5.16.2-1-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.2-1-default-advanced-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 echo 'Loading Linux 5.16.2-1-default ...' linuxefi /boot/vmlinuz-5.16.2-1-default root=UUID=b4c123e0-f28b-45ee-b3c3-60f95de0ad42 ${extra_cmdline} splash=silent mitigations=auto quiet security=apparmor echo 'Loading initial ramdisk ...' initrdefi /boot/initrd-5.16.2-1-default } menuentry 'openSUSE Tumbleweed, with Linux 5.16.2-1-default (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.2-1-default-recovery-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 echo 'Loading Linux 5.16.2-1-default ...' linuxefi /boot/vmlinuz-5.16.2-1-default root=UUID=b4c123e0-f28b-45ee-b3c3-60f95de0ad42 ${extra_cmdline} echo 'Loading initial ramdisk ...' initrdefi /boot/initrd-5.16.2-1-default } menuentry 'openSUSE Tumbleweed, with Linux 5.16.1-1-default' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.1-1-default-advanced-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 echo 'Loading Linux 5.16.1-1-default ...' linuxefi /boot/vmlinuz-5.16.1-1-default root=UUID=b4c123e0-f28b-45ee-b3c3-60f95de0ad42 ${extra_cmdline} splash=silent mitigations=auto quiet security=apparmor echo 'Loading initial ramdisk ...' initrdefi /boot/initrd-5.16.1-1-default } menuentry 'openSUSE Tumbleweed, with Linux 5.16.1-1-default (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.1-1-default-recovery-b4c123e0-f28b-45ee-b3c3-60f95de0ad42' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod btrfs search --no-floppy --fs-uuid --set=root b4c123e0-f28b-45ee-b3c3-60f95de0ad42 echo 'Loading Linux 5.16.1-1-default ...' linuxefi /boot/vmlinuz-5.16.1-1-default root=UUID=b4c123e0-f28b-45ee-b3c3-60f95de0ad42 ${extra_cmdline} echo 'Loading initial ramdisk ...' initrdefi /boot/initrd-5.16.1-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 ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { fwsetup } ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/35_fwupd ### ### END /etc/grub.d/35_fwupd ### ### 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 ### btrfs-mount-subvol ($root) /.snapshots @/.snapshots 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 ### ### BEGIN /etc/grub.d/95_textmode ### if [ "${grub_platform}" = "efi" ]; then # On EFI systems we can only have graphics *or* serial, so allow the user # to switch between the two hiddenentry 'Text mode' --hotkey 't' { set textmode=true terminal_output console } fi ### END /etc/grub.d/95_textmode ### -
cat /etc/default/grub
Code
Alles anzeigen# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg. # Uncomment to set your own custom distributor. If you leave it unset or empty, the default # policy is to determine the value from /etc/os-release GRUB_DISTRIBUTOR= GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=8 GRUB_CMDLINE_LINUX_DEFAULT="splash=silent mitigations=auto quiet security=apparmor" GRUB_CMDLINE_LINUX="" # Uncomment to automatically save last booted menu entry in GRUB2 environment # variable `saved_entry' # GRUB_SAVEDEFAULT="true" #Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) # GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" #Uncomment to disable graphical terminal (grub-pc only) GRUB_TERMINAL="gfxterm" # The resolution used on graphical terminal #note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE="auto" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux # GRUB_DISABLE_LINUX_UUID=true #Uncomment to disable generation of recovery mode menu entries # GRUB_DISABLE_RECOVERY="true" #Uncomment to get a beep at grub start # GRUB_INIT_TUNE="480 440 1" GRUB_BACKGROUND= GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt SUSE_BTRFS_SNAPSHOT_BOOTING="true" GRUB_USE_LINUXEFI="true" GRUB_DISABLE_OS_PROBER="false" GRUB_ENABLE_CRYPTODISK="n" GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"efibootmgr -v
CodeBootCurrent: 0000 Timeout: 0 seconds BootOrder: 0000,0004,2001,2002,2003 Boot0000* opensuse-secureboot HD(1,GPT,91a2920f-e18f-4ab4-ac41-1c903ea096e6,0x800,0x8a000)/File(\EFI\opensuse\shim.efi) Boot0001* EFI PXE 0 for IPv4 (54-05-DB-95-D6-8A) PciRoot(0x0)/Pci(0x1d,0x5)/Pci(0x0,0x0)/MAC(5405db95d68a,0)/IPv4(0.0.0.00.0.0.0,0,0)RC Boot0002* EFI PXE 0 for IPv6 (54-05-DB-95-D6-8A) PciRoot(0x0)/Pci(0x1d,0x5)/Pci(0x0,0x0)/MAC(5405db95d68a,0)/IPv6([::]:<->[::]:,0,0)RC Boot0004* openSUSE HD(1,GPT,91a2920f-e18f-4ab4-ac41-1c903ea096e6,0x800,0x8a000)/File(\EFI\opensuse\grubx64.efi)RC Boot2001* EFI USB Device RC Boot2002* EFI DVD/CDROM RC Boot2003* EFI Network RC -
Nein, hat er nicht
OpenSuse startet problemlos. Das Bootmenü wird angezeigt, aber ohne Windows drin.ls -laF /boot/efi/EFI sieht übrigens wie folgt aus:
Codedrwxr-xr-x 4 root root 4096 24. Jan 15:07 ./ drwxr-xr-x 3 root root 4096 1. Jan 1970 ../ drwxr-xr-x 2 root root 4096 24. Jan 15:07 boot/ drwxr-xr-x 2 root root 4096 24. Jan 15:07 opensuse/Nach meinem Verständnis sollte es dort auch ein Microsoft Verzeichnis geben, oder?