Page 1 of 7 123 ... LastLast
Results 1 to 10 of 61

Thread: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

  1. #1
    Join Date
    May 2020
    Location
    Coloradical
    Posts
    28

    Default Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    I made the mistake of allowing Open SUSE 15.1 Leap use the default settings when I was installing it from USB key today. It selected the 109 GB unallocated space I have highlighted below which is exactly where I did want to install in.
    I installed it with Pen Drive Linux utility that allows you to install / test drive multiple OS's. I was reading a guide from 2015 that mentioned using expert partition mode to make sure to edit the GRUB. It also used the BTRFS file system.

    I took a screen shot of my partitions before installing this and I can see them if I use boot-repair tools gparted that I have on USB key. Also, boot-repair tools does not work. I tried multiple times and it will just hang in the middle of scanning partitions. But, I can still see all the partitions for the drive in gparted under sda as showing in picture.


    Partitions before install:



    gparted screen shot showing all my partitions on my Samsung SSD drive after the install was completed. SUSE resides on /dev/sd8




    The boot loader configuration that's built into OpenSUSE (wondering if I should delete /dev/sdb? I need to tell it to load GRUB to /dev/sda like it should have in the first place! I don't know why the installer thought it was a good Idea to set the USB as the GRUB boot device!


    I cloned the Disk to an external Hard drive prior to starting this but I can't figure out how to boot off USB so I might have to just end up putting the original mechanical drive where I cloned Windows 8.1 to prior to attempting this install. So, if worse comes to worse I'm going to try re-installing the original drive that I used to clone my Windows 8.1 to before starting this whole mess!


    From what I read it said that GRUB2 did the following so I figured it would put grub2 on my sda drive and add Windows 8 correctly.
    This is what I read up on about GRUB2 > "Automatically searches for and generates boot entries for other kernels and operating systems, such as Windows."
    This is where I installed GRUB2
    Installing GRUB2 to>
    Status Location: /dev/sda (MBR)


    After I booted it it defaulted to booting off the USB key again and would not boot without the USB drive that had Pen Drive linux with the Open SUSE installation I used. It appears that GRUB was written to sdb where the USB driver for the Pendrivelinux utility! The reason I say this is because that's the only way I can get to the GRUB menu where it shows an option to boot SUSE or Windows. If I attempt to boot Windows 8 or the Windows Recovery I just get a blinking cursor and nothing happens and I have to reset. So, I can't get to Windows at all right now.

    I still see my 540 GB Samsung EVO SSD in BIOS but I don't see any of the original partitions or disk anywhere!

    I also created a Windows 8.1 recovery USB boot disk and that didn't help recover. I've never been stuck in such a nasty BIOS boot loop where I can't see any of my original partitions from with the BIOs anywhere.

    I have listed my grub.cfg output and my fdisk -l output that shows grub is set to boot on >
    /dev/sdb1 which is a partition it the defaul installation for SUSE created on my USB Key/LinuxPendrive utility that I originally used to install this from which might of been a mistake but I've had success in the past using this utility to install OS's.

    I'm hoping to be able to repair this so I can get GRUB2 on the correct boot record to allow me to boot into Windows 8.1 or OpenSUSE 15.1 Leap.

    I would love to get this corrected so I can actually boot my laptop without having to have the original USB key I used to install this.

    I also confirmed the installation did go to the correct 108 GB partition I have highlighted above.

    fdisk -l output (notice where grub is set to boot from) > /dev/sdb1 * 8192 60604415 60596224 28.9G c W95 FAT32 (LBA)

    Code:
    linux-1fn2:/boot/grub2 # fdisk -lDisk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Disk model: Samsung SSD 860 
    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: EBF7F462-1D85-11EA-BEDD-9DAB636FD0BA
    
    
    Device         Start       End   Sectors   Size Type
    /dev/sda1       2048   1845255   1843208   900M Windows recovery environment
    /dev/sda2    1845256   2459663    614408   300M EFI System
    /dev/sda3    2459664   2721815    262152   128M Microsoft reserved
    /dev/sda4    2721816 354340327 351618512 167.7G Microsoft basic data
    /dev/sda5  504841704 749918151 245076448 116.9G Microsoft basic data
    /dev/sda6  354340864 354357247     16384     8M BIOS boot
    /dev/sda7  354357248 358551551   4194304     2G Linux swap
    /dev/sda8  749918208 976773134 226854927 108.2G Linux filesystem
    
    
    Partition table entries are not in disk order.
    
    
    
    
    Disk /dev/sdb: 28.9 GiB, 31029460992 bytes, 60604416 sectors
    Disk model: USB DISK 3.0    
    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: dos
    Disk identifier: 0x00000000
    
    
    Device     Boot    Start      End  Sectors  Size Id Type
    /dev/sdb1  *        8192 60604415 60596224 28.9G  c W95 FAT32 (LBA)
    /dev/sdb4       29385024 37308735  7923712  3.8G  0 Empty
    
    
    
    
    Disk /dev/sdc: 59.9 MiB, 62783488 bytes, 122624 sectors
    Disk model: SD              
    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: dos
    Disk identifier: 0x00000000
    
    
    Device     Boot Start    End Sectors  Size Id Type
    /dev/sdc1          39 122623  122585 59.9M  1 FAT12
    linux-1fn2:/boot/grub2 #
    grub.cfg (note > OMMITED some TEXT since it was TOO LONG FOR THREAD.

    Code:
    linux-1fn2:/boot/grub2 # cat 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
      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
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8'  ee287876-03bb-4048-a37c-544b5e6d5fb8
    else
      search --no-floppy --fs-uuid --set=root ee287876-03bb-4048-a37c-544b5e6d5fb8
    fi
        font="/usr/share/grub2/unicode.pf2"
    fi
    
    
    if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_gpt
    insmod btrfs
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8'  ee287876-03bb-4048-a37c-544b5e6d5fb8
    else
      search --no-floppy --fs-uuid --set=root ee287876-03bb-4048-a37c-544b5e6d5fb8
    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
      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 Leap 15.1'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ee287876-03bb-4048-a37c-544b5e6d5fb8' {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_gpt
            insmod btrfs
            set root='hd0,gpt8'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8'  ee287876-03bb-4048-a37c-544b5e6d5fb8
            else
              search --no-floppy --fs-uuid --set=root ee287876-03bb-4048-a37c-544b5e6d5fb8
            fi
            echo    'Loading Linux 4.12.14-lp151.28.48-default ...'
            linux   /boot/vmlinuz-4.12.14-lp151.28.48-default root=UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  ${extra_cmdline} splash=silent resume=/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S598NE0M929477H-part7 mitigations=auto quiet
            echo    'Loading initial ramdisk ...'
            initrd  /boot/initrd-4.12.14-lp151.28.48-default
    }
    submenu 'Advanced options for openSUSE Leap 15.1' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-ee287876-03bb-4048-a37c-544b5e6d5fb8' {
            menuentry 'openSUSE Leap 15.1, with Linux 4.12.14-lp151.28.48-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp151.28.48-default-advanced-ee287876-03bb-4048-a37c-544b5e6d5fb8' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_gpt
                    insmod btrfs
                    set root='hd0,gpt8'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8'  ee287876-03bb-4048-a37c-544b5e6d5fb8
                    else
                      search --no-floppy --fs-uuid --set=root ee287876-03bb-4048-a37c-544b5e6d5fb8
                    fi
                    echo    'Loading Linux 4.12.14-lp151.28.48-default ...'
                    linux   /boot/vmlinuz-4.12.14-lp151.28.48-default root=UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  ${extra_cmdline} splash=silent resume=/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S598NE0M929477H-part7 mitigations=auto quiet
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-4.12.14-lp151.28.48-default
            }
            menuentry 'openSUSE Leap 15.1, with Linux 4.12.14-lp151.28.48-default (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp151.28.48-default-recovery-ee287876-03bb-4048-a37c-544b5e6d5fb8' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_gpt
                    insmod btrfs
                    set root='hd0,gpt8'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8'  ee287876-03bb-4048-a37c-544b5e6d5fb8
                    else
                      search --no-floppy --fs-uuid --set=root ee287876-03bb-4048-a37c-544b5e6d5fb8
                    fi
                    echo    'Loading Linux 4.12.14-lp151.28.48-default ...'
                    linux   /boot/vmlinuz-4.12.14-lp151.28.48-default root=UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  ${extra_cmdline} 
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-4.12.14-lp151.28.48-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 Recovery Environment (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-0428443F284431CA' {
            insmod part_gpt
            insmod ntfs
            set root='hd0,gpt1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1'  0428443F284431CA
            else
              search --no-floppy --fs-uuid --set=root 0428443F284431CA
            fi
            drivemap -s (hd0) ${root}
            chainloader +1
    }
    menuentry 'Windows 8 (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-E4CE1801CE17CB26' {
            insmod part_gpt
            insmod ntfs
            set root='hd0,gpt4'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  E4CE1801CE17CB26
            else
              search --no-floppy --fs-uuid --set=root E4CE1801CE17CB26
            fi
            drivemap -s (hd0) ${root}
            chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,799
    Blog Entries
    15

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Hi and welcome to the Forum
    You have a UEFI booting system and used a third party Legacy Grub install system..... your sdb -s 'dos' (Legacy), your sda is gpt, you should probably have used the openSUSE installer booted in UEFI mode ti ensure it was installed properly.....

    AFAIK it should be fixable, how do you want to proceed?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,777
    Blog Entries
    3

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Just to add another voice. I will agree with Malcolm. You should have installed with UEFI, though that might not have been possible with the way that you prepared your boot media.

    As Malcolm says, this is fixable. If you want to fix it, then keep using the USB device for booting until you have it fixed. After fixing, you should be able to boot with UEFI, and no longer need the USB.

    Your move.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,777
    Blog Entries
    3

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Maybe I should say a bit more about how to fix.

    First step: Make sure that your EFI partition is mounted as "/boot/efi". And you will need it to be automatically mounted at boot. That requires a change to "/etc/fstab". You can probably do that by running Yast partitioner.

    Next step: You need to be booted in UEFI mode. While it might be possible to do that with changes to Windows booting, that would risk damaging Windows. So the safest way is boot openSUSE in UEFI mode. If it were my system, I would either use the Leap 15.1 installer or the Leap 15.1 live media. But your current install setup probably doesn't do UEFI booting. So you need to create boot media as recommened on the download page. Best to use a different USB flash drive, because you are still depending on the current one to boot your system.

    Another step: You need to make sure that packages "shim" and "grub2-x86_64-efi" are installed. You can use Yast Software Management for that. They are probably already installed, but I'm not sure of that. So check, and install if needed.

    Once you have completed those steps, let us know. From there it is relatively simple to boot to rescue mode and reinstall booting from there.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  5. #5
    Join Date
    May 2020
    Location
    Coloradical
    Posts
    28

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    malcolmlewis's,

    Thanks a lot for this explanation and the warm welcome! This explains my folly! I had a feeling it had something to do with using the legacy device to install OpenSuse Leap 15.1! I will load to a bootable USB so I can try to recover in UEFI mode.

    I also see what you mean where it shows sda using gpt and the sdb using legacy dos in fdisk output


    rnrickert, thanks for the information you have provided as well! It's greatly appreciated.

    I'm looking into what you mentioned. Can you let me know what you mean by the first step? How do I go about making sure my EFI partition is mounted as "/boot/efi" ? Do you know which partition this is based on my diskmgmt screen shot or the fdisk output or gparted screen shot? I've included my /etc/fstab output.

    fstab

    Code:
    linux-1fn2:/etc # cat fstab
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /                       btrfs  defaults                      0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /var                    btrfs  subvol=/@/var                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /usr/local              btrfs  subvol=/@/usr/local           0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /tmp                    btrfs  subvol=/@/tmp                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /srv                    btrfs  subvol=/@/srv                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /root                   btrfs  subvol=/@/root                0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /opt                    btrfs  subvol=/@/opt                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /home                   btrfs  subvol=/@/home                0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
    UUID=19158ba0-9933-4f0f-bb82-6f0ea3f93155  swap                    swap   defaults                      0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /.snapshots             btrfs  subvol=/@/.snapshots          0  0
    Appreciate any info on how I can accomplish this!

    In regards to "Another Step". I started YAST software manager and it shows I have 'shim' installed.
    But, I do not have grub2-x86_64-efi installed yet but can install it.

    I'm downloading the ISO again and following the bootable media guide. So, I will have the OS ready to boot in UEFI of 32GB USB stick.

    parted screen shot:

    Appreciated any additional help on this. I also attached a screen shot of partition manager if that helps!

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,777
    Blog Entries
    3

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Quote Originally Posted by NUXGUY View Post
    I'm looking into what you mentioned. Can you let me know what you mean by the first step? How do I go about making sure my EFI partition is mounted as "/boot/efi" ?
    The partition that needs to be mounted is "/dev/sda2".

    You could do it manually, editing "/etc/fstab". On my system, it is "/dev/sdb1", and the "fstab" entry is:
    Code:
    UUID=DFD4-44B1                             /boot/efi   vfat  iocharset=utf8               0  2
    However, that would be wrong for your system. You would need to find the correct UUID.

    As root, you could use the command
    Code:
    blkid /dev/sda2
    which should give the UUID. It will be the format as what I have, but with different hex digits. That 9 character UUID is typical of FAT file systems.

    Alternatively, use Yast partitioner. Using the screen that you show, click on "sda2" in the left column. That should give you an edit choice. When you select the EDIT, make sure that "Do not format" is checked. Then check "Mount file system" and select "/boot/efi" as the mount point. There should also be a choice on whether mount by UUID or device name or label. If you find that choice, then mount by UUID. When you are done, check "/etc/fstab" to look for the new entry. If, by chance, it does not use UUID for mounting you can later edit "fstab" to change that.

    After mounting or editing "fstab", I suggest that you reboot and check that it is mounted. The output of "df" will tell you what is mounted.

    My suggestion would be to use Yast partitioner for this change. It will be a good learning experience for you.

    In regards to "Another Step". I started YAST software manager and it shows I have 'shim' installed.
    But, I do not have grub2-x86_64-efi installed yet but can install it.
    Yes, install that.

    I'm not sure why "shim" is installed without "grub2-x86_64-efi", because shim is useless without that grub2 package. But, looking at a recently installed Leap 15.2 Beta, I see the same -- "shim" is installed, but not the grub2 package it needs. Apparently that "grub2-x86_64-efi" is only installed on a UEFI system, but "shim" is always installed. (Not sure if I should report that as a bug, though it is at most a minor point). So go ahead and install "grub2-x86_64-efi".

    I'm downloading the ISO again and following the bootable media guide. So, I will have the OS ready to boot in UEFI of 32GB USB stick.
    Good. We can do most of what is needed from your running system. But what we cannot do, is tell your BIOS (or UEFI firmware) to use the new UEFI boot option. So we need to boot into UEFI to fix that part.

    When you have that USB ready, you can maybe practice booting it. On the boot menu, choose "Rescue system". I think you have to scroll down to get to that. And then you login as root. And run the command
    Code:
    efibootmgr
    . That's just a test. If it gives an error, then you did not boot in UEFI mode. It should list the UEFI boot variables -- probably something like:
    Code:
    Boot0000* Windows Boot Manager
    Let us know when you are ready for the final steps.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  7. #7
    Join Date
    May 2020
    Location
    Coloradical
    Posts
    28

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Thanks again for these excellent instructions nrickert!

    I made all the changes you mentioned after gathering the UUID for /dev/sda2

    Here's the output:
    /dev/sda2 1845256 2459663 614408 300M EFI System


    linux-1fn2:/boot/grub2 # blkid /dev/sda2
    /dev/sda2: LABEL="SYSTEM" UUID="4032-6F74" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="01f9031f-4dc3-45f8-a77a-a217e12be63d"

    I took the UUID="4032-6F74" and entered it here. Here's the before and after screen shots of /dev/sda2 fstab option.

    Before shot it had UUID with Volume Label System. It also had Codepage for Short FAT Names 437.

    This is the after shot. I though I removed Codepage 437 but it came back. Hopefully that's not going to cause any issues? I entered 4032-6F74 in place of System.

    I confirmed that partition tool added this entry to fstab as well.

    /etc/fstab Before modifications using partioner
    linux-1fn2:/etc # grep 4032-6F74 fstab
    NOTHING

    And after:
    linux-1fn2:/etc # grep 4032-6F74 fstab
    UUID=4032-6F74 /boot/efi vfat defaults 0 0
    I'm now going to boot with the new USB key and try what you suggest!

  8. #8
    Join Date
    May 2020
    Location
    Coloradical
    Posts
    28

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Hello nrickert, can you confirm everything looks good after I made those changes using partitioner by adding the UUID of /dev/sda2 AKA blkid /dev/sda2

    Here's my current fstab. It added the bottom entry. I have my USB stick ready to boot after creating it with rufus. Thanks again for any confirmation before I try shutting down and rebooting.
    >> UUID=4032-6F74 /boot/efi vfat defaults 0 0

    Code:
    inux-1fn2:/etc # blkid /dev/sda2/dev/sda2: LABEL_FATBOOT="4032-6F74" LABEL="4032-6F74" UUID="4032-6F74" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="01f9031f-4dc3-45f8-a77a-a217e12be6
    linux-1fn2:/etc # cat fstab
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /                       btrfs  defaults                      0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /var                    btrfs  subvol=/@/var                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /usr/local              btrfs  subvol=/@/usr/local           0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /tmp                    btrfs  subvol=/@/tmp                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /srv                    btrfs  subvol=/@/srv                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /root                   btrfs  subvol=/@/root                0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /opt                    btrfs  subvol=/@/opt                 0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /home                   btrfs  subvol=/@/home                0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
    UUID=19158ba0-9933-4f0f-bb82-6f0ea3f93155  swap                    swap   defaults                      0  0
    UUID=ee287876-03bb-4048-a37c-544b5e6d5fb8  /.snapshots             btrfs  subvol=/@/.snapshots          0  0
    UUID=4032-6F74                             /boot/efi               vfat   defaults                      0  0
    linux-1fn2:/etc #

  9. #9
    Join Date
    May 2020
    Location
    Coloradical
    Posts
    28

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    Sorry for all the post but I had one other question on preparing the bootable USB using rufus.

    Is it ok I created the bootable media with the MBR partition scheme? Or do I need to use GPT?

    Both appear to support UEFI but I want to make sure i did it right. I used MBR.

    Thanks for any additional help/info!

    This is how I created the usb boot.


    And here's the other option.


  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,777
    Blog Entries
    3

    Default Re: Dual Boot Install Problem with Windows 8.1 Open SUSE 15.1 Leap (GRUB Stuck on USB!)

    It looks okay from what I can see.

    Did you reboot, and check that the EFI partition is mounted at "/boot/efi"? I normally use "df" for that, but "mount" (without arguments) will also tell you what is mounted.

    I don't know about rufus. I have used it, but not for a linux iso. My understanding is that they have a "dd" option, which is usually recommended for linux iso. MBR partitioning should be okay, as long as properly setup for UEFI booting.

    The real test is see if you can boot it to UEFI mode. And you can test whether booted to UEFI mode by trying the command "efibootmgr". If you are not in UEFI mode, this gives an error message about EFI variables. Otherwise it lists boot entries, and you should have at least one (for Windows).
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

Page 1 of 7 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •