Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

  1. #11

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    Quote Originally Posted by nrickert View Post
    Step 5 looks wrong.

    You need to actually mount your EFI partition to "/mnt/boot/efi"

    I don't know which partition that is. It might be "/dev/sda1", in which case you would use
    Code:
    mount /dev/sda1 /mnt/boot/efi
    To identify the EFI partition, you can try
    Code:
    parted -l
    That should list all partitions and the output should tell you which is an EFI partition.
    ________________________________________________________________________________

    @nrickert

    "parted -l" returns this data:

    Model: ATA ST3500413AS (scsi)Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: pmbr_boot


    Number Start End Size File system Name Flags
    1 1049kB 368MB 367MB fat32 boot, legacy_boot, esp
    2 368MB 366GB 365GB ntfs msftdata
    5 366GB 366GB 5243kB bios_grub
    6 366GB 403GB 37.6GB btrfs
    7 403GB 405GB 2147MB linux-swap(v1) swap
    3 405GB 489GB 83.9GB Basic data partition msftdata
    4 489GB 500GB 10.7GB ntfs msftdata

    According to how I understand this, Step 5 should be exactly how you stated it:
    Code:
    mount /dev/sda1 /mnt/boot/efi
    Would you agree?

  2. #12
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    2,333

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    Quote Originally Posted by kp_auburn View Post
    According to how I understand this, Step 5 should be exactly how you stated it:
    Code:
    mount /dev/sda1 /mnt/boot/efi
    Would you agree?
    I agree!
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 15.1,TW,15.2 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&15.1 on 965P/Radeon
    Tertiary: TW,15.2,15.1,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

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

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    Quote Originally Posted by kp_auburn View Post
    Would you agree?
    Yes, I also agree. Your EFI partition is "/dev/sda1".
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  4. #14

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    The challenge I'm facing is at the end of Yast setup. Apparently Yast needs to install two packages (grub2-x86_64-efi and mokutil) but it cannot access the website with files. I'm hardwired to the router and the internet connection worked great while running OpenSUSE Leap 15.2 OS so I don't think that's the problem here. Is there maybe a way to download these files on another machine, put on a USB drive and then point Yast to the USB instead of the web after the drive with the files is plugged into the machine that's going through the system rescue? Are there maybe other options you can recommend?

    Packages that need to be installed: https://photos.app.goo.gl/gjNYo3UKw36hWBoe9
    Can't access installation media: https://photos.app.goo.gl/tgrhENSyD5XNNHUV6
    Can't access installation media details: https://photos.app.goo.gl/bGJ287vi4nibSpcN7

  5. #15
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,298
    Blog Entries
    3

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    It might be easiest to boot the system the old way (BIOS/MBR) and install those package first before you go to rescue mode.

    Or:

    When I use rescue mode, in addition to the bind mounts that I mentioned, I also use:
    Code:
    mount --bind /run /mnt/run
    mount --bind /tmp /mnt/tmp
    The first of those makes "resolv.conf" available to the system being rescued, and for me that's enough to allow downloading packages.

    The second is because I use "tmpfs" for "/tmp" so binding "/tmp" means that temp files don't go in the bare "/tmp" directory of the system being rescued.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  6. #16

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    @nrickert

    After finishing all the steps we discussed the current situation is as follows:
    1. With BIOS set to Boot Manager first and Hard Drive second the computer boots directly into Windows without presenting any options at startup. Windows works fine.
    2. With BIOS set to Boot Manager second and Hard Drive first the GRUB menu loads. (https://photos.app.goo.gl/pitiu7nr8yrJdQy48)
    2a. When openSUSE Leap 15.2 is selected from the GRUB menu two errors are returned: "can't find command 'linuxefi' and can't find command 'initrdefi'. Pressing any key to continue cycles back to the GRUB menu. (https://photos.app.goo.gl/5YWyVUqvaJKN5sWH6)
    2b. When Windows Boot Manager is selected from the GRUB menu "error: invalid signature" is returned. Pressing any key to continue cycles back to the GRUB menu. (https://photos.app.goo.gl/vYZA9oTrQbA9BPzQ9)

    Could this situation have something to do with Window Fast Boot setup (shot in the dark here) or does it seem like it's related to openSUSE?

    Any ideas? I feel like we're close to solving this whole Legacy to UEFI situation.

    Thank you.

  7. #17

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    Quote Originally Posted by nrickert View Post
    It might be easiest to boot the system the old way (BIOS/MBR) and install those package first before you go to rescue mode.

    Or:

    When I use rescue mode, in addition to the bind mounts that I mentioned, I also use:
    Code:
    mount --bind /run /mnt/run
    mount --bind /tmp /mnt/tmp
    The first of those makes "resolv.conf" available to the system being rescued, and for me that's enough to allow downloading packages.

    The second is because I use "tmpfs" for "/tmp" so binding "/tmp" means that temp files don't go in the bare "/tmp" directory of the system being rescued.
    Just an update on this post. I booted the system the old way and installed the two needed packages. Then I restarted in UEFI mode from the installation media and completed all the steps in rescue mode including:
    Code:
    mount --bind /run /mnt/run
    mount --bind /tmp /mnt/tmp
    After restart with BIOS set to Hard Drive first and Boot Manager second I'm not able to log into openSUSE or Windows from the GRUB menu. Details are outlined in my previous post.

  8. #18
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,298
    Blog Entries
    3

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    When running windows, try holding the shift key while clicking "Restart".

    That should give you a choice to boot from a device. When you select that choice, is there an option to boot opensuse (or opensuse-secureboot)? If there is, try that option.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  9. #19

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    Quote Originally Posted by nrickert View Post
    When running windows, try holding the shift key while clicking "Restart".

    That should give you a choice to boot from a device. When you select that choice, is there an option to boot opensuse (or opensuse-secureboot)? If there is, try that option.
    Hi, there is no opensuse option after holding the Shift key and clicking Restart in Windows. Options available are shown here https://photos.app.goo.gl/ZXrZzTer6uT2Y84A8 and here https://photos.app.goo.gl/2UxT73TAcpyAMbDV7

    After selecting "use a device" on the first screen and "Hard Drive" on the second screen the machine goes to the GRUB menu but it's impossible to get into opensuse or windows from there. Same errors as before.

    Any other ideas?

  10. #20
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,298
    Blog Entries
    3

    Default Re: Switching Legacy Leap 15.2 install to UEFI on dual boot with Windows 10

    It looks as if it still wants to use legacy booting. It recognizes that USB device for UEFI booting, but apparently it doesn't recognize anything else except perhaps Windows.

    It might be one of those computers with a broken implementation of UEFI that only works properly for Windows.

    Can you boot linux with UEFI (could be from USB or DVD), and give us the output from
    Code:
    efibootmgr -v
    There's no need to mount any disks for that. It is just giving information about what the firmware knows.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

Page 2 of 3 FirstFirst 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
  •