Hallo Community,
ich habe versucht Windows 10 und Ubuntu im Dualboot zu betreiben allerdings scheint es mir als würde es bei UEFI nicht so einfach klappen wie beim BIOS.
Zu meiner Fragestellung:
Ich habe auf meiner internen HDD Windows 10 installiert und habe mich dazu entschlossen auf einer externen HDD Ubuntu zu installieren. nach der Installation habe ich festgestellt, dass Ubuntu mit seinem Grub-Bootloader einwandfrei funktoniert und Bootet, allerdings wird Windows in diesem Bootloader nicht angezeigt und somit auch nicht anwählbar. Probiert habe ich auch die Externe HDD von dem PC zu trennen um den Rechner zu zwingen Windows 10 zu starten. KOMISCHER WEISE wird dann allerdings auf der Internen Platte immer noch nicht Windows 10 erkannt oder gestartet, aber dafür GRUB, obwohl es nach meinem Verständnis gar nicht auf der Platte sein dürfte. Danach habe ich via Ubuntu in dem Programm GParted die Platten beide überprüft und tatsächlich scheint alles richtig zu sein. Auch habe ich die Bootreihenfolgen betrachtet und diese anders ausprobiert - vergeblich.
Recherche versucht 1: im Forum habe ich unter diesem Link folgende Befehle gefunden: https://forum.ubuntuusers.de/topic/nach-ubuntu-installation-startet-windows-10-ni/
root@lordyoda-Z97X-SOC:~# sudo parted -l Modell: ATA TOSHIBA DT01ACA2 (scsi) Festplatte /dev/sda: 2000GB Sektorgröße (logisch/physisch): 512B/4096B Partitionstabelle: msdos Disk-Flags: Nummer Anfang Ende Größe Typ Dateisystem Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 1999GB 1999GB primary ntfs 3 1999GB 2000GB 472MB primary ntfs diag 4 2000GB 2000GB 472MB primary ntfs diag Modell: Seagate FA GoFlex Desk (scsi) Festplatte /dev/sdb: 1000GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: msdos Disk-Flags: Nummer Anfang Ende Größe Typ Dateisystem Flags 1 32,3kB 197GB 197GB primary ext4 2 197GB 1000GB 803GB extended 5 197GB 992GB 795GB logical ext4 6 992GB 1000GB 8497MB logical linux-swap(v1) root@lordyoda-Z97X-SOC:~#
root@lordyoda-Z97X-SOC:~# sudo fdisk -l Medium /dev/ram0: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram1: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram2: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram3: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram4: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram5: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram6: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram7: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram8: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram9: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram10: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram11: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram12: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram13: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram14: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/ram15: 64 MiB, 67108864 Bytes, 131072 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Medium /dev/sda: 1,8 TiB, 2000398934016 Bytes, 3907029168 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Typ der Medienbezeichnung: dos Medienkennung: 0x30d9b31a Gerät Boot Start Ende Sektoren Größe Id Typ /dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sda2 206848 3905183743 3904976896 1,8T 7 HPFS/NTFS/exFAT /dev/sda3 3905183744 3906105343 921600 450M 27 Hidden NTFS WinRE /dev/sda4 3906105344 3907026943 921600 450M 27 Hidden NTFS WinRE Medium /dev/sdb: 931,5 GiB, 1000204885504 Bytes, 1953525167 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 512 Bytes I/O Größe (minimal/optimal): 512 Bytes / 512 Bytes Typ der Medienbezeichnung: dos Medienkennung: 0x1c32892f Gerät Boot Start Ende Sektoren Größe Id Typ /dev/sdb1 63 384856033 384855971 183,5G 83 Linux /dev/sdb2 384856062 1953523711 1568667650 748G 5 Erweiterte /dev/sdb5 384856064 1936926719 1552070656 740,1G 83 Linux /dev/sdb6 1936928768 1953523711 16594944 7,9G 82 Linux Swap / Solaris root@lordyoda-Z97X-SOC:~#
root@lordyoda-Z97X-SOC:~# sudo efibootmgr -v efibootmgr: EFI variables are not supported on this system. root@lordyoda-Z97X-SOC:~#
root@lordyoda-Z97X-SOC:~# sudo dmidecode -t0 | grep -Ei "BIOS boot|UEFI" BIOS boot specification is supported UEFI is supported root@lordyoda-Z97X-SOC:~#
root@lordyoda-Z97X-SOC:~# cat /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then set have_grubenv=true 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="0" 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 recordfail { set recordfail=1 if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; 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_msdos insmod ext2 set root='hd2,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 else search --no-floppy --fs-uuid --set=root 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 fi font="/usr/share/grub/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 if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=10 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=10 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray if background_color 44,0,30,0; then clear fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5c04dc82-35d8-4e01-baeb-9a73c9c9aca7' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd2,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 else search --no-floppy --fs-uuid --set=root 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 fi linux /boot/vmlinuz-4.4.0-21-generic root=UUID=5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 ro quiet splash $vt_handoff initrd /boot/initrd.img-4.4.0-21-generic } submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-5c04dc82-35d8-4e01-baeb-9a73c9c9aca7' { menuentry 'Ubuntu, mit Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-5c04dc82-35d8-4e01-baeb-9a73c9c9aca7' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd2,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 else search --no-floppy --fs-uuid --set=root 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 fi echo 'Linux 4.4.0-21-generic wird geladen …' linux /boot/vmlinuz-4.4.0-21-generic root=UUID=5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 ro quiet splash $vt_handoff echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.4.0-21-generic } menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-5c04dc82-35d8-4e01-baeb-9a73c9c9aca7' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd2,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 else search --no-floppy --fs-uuid --set=root 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 fi echo 'Linux 4.4.0-21-generic wird geladen …' linux /boot/vmlinuz-4.4.0-21-generic root=UUID=5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 ro quiet splash $vt_handoff init=/sbin/upstart echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.4.0-21-generic } menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-5c04dc82-35d8-4e01-baeb-9a73c9c9aca7' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd2,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 else search --no-floppy --fs-uuid --set=root 5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 fi echo 'Linux 4.4.0-21-generic wird geladen …' linux /boot/vmlinuz-4.4.0-21-generic root=UUID=5c04dc82-35d8-4e01-baeb-9a73c9c9aca7 ro recovery nomodeset echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.4.0-21-generic } } ### 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 'System setup' $menuentry_id_option 'uefi-firmware' { fwsetup } ### END /etc/grub.d/30_uefi-firmware ### ### 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 ### root@lordyoda-Z97X-SOC:~#
Recherche versuch 2:
https://wiki.ubuntuusers.de/GRUB_2/Grundlagen/
Ich hab versucht diesem Wiki Eintrag zu lesen und ich glaube folgender Absatz könnte hier hilfreich sein ?
Mit EFI
Um GRUB 2 mit EFI nutzen zu können, wird eine EFI-System-Partition (ESP) benötigt:
Partitionsnummer: 1 (Empfehlung)
Kennung: ef00
Name: EFI System
Dateisystem: FAT (Standard 32 bit)
GUID: C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Größe: 100-200 MiB
Mountpunkt: /boot/efi
Hab ich aber noch nicht ganz verstanden.
ich hoffe ich konnte ausreichend Infos liefern sonst kann ich auch gerne welche nachreichen
Freue mich auf eure Hilfe. ☺