Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Dualboot with Win8.1. Windows overwrites GRUB.

  1. #11
    Join Date
    Jan 2011
    Location
    Riverside, Ca.
    Posts
    214

    Default Re: Dualboot with Win8.1. Windows overwrites GRUB.

    In those lines, do I simply copy paste? Or are there variables that I need to adjust?

  2. #12
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,339
    Blog Entries
    15

    Default Re: Dualboot with Win8.1. Windows overwrites GRUB.

    On Mon 06 Jan 2014 10:46:01 PM CST, nrickert wrote:


    Shadowolf7;2614271 Wrote:
    > Yes, it was fine until I booted into Windows from GRUB. Then once I
    > rebooted, GRUB was gone.


    Here's what you can try. Open an Administrator command prompt in
    Windows 8. From that command prompt, run:


    Code:
    --------------------

    bcdedit /set {bootmgr} path \EFI\opensuse\shim.efi

    --------------------

    This assumes that you configured opensuse for secure-boot. Otherwise,
    change that "shim.efi" to "grubx64.efi".

    That tells Windows to use grub as its boot manager. You then use the
    grub menu to get to Windows.

    To undo that change, you can use

    Code:
    --------------------

    bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi

    --------------------

    which restores the previous value.

    For safety, you might want to first boot linux from a CD or USB, mount
    the EFI partition, then make sure that "/EFI/opensuse/shim.efi" exists
    relative to the mount point.

    What I described is working fine for me. Whenever Windows takes over
    booting, it boots into the grub menu.


    Hi
    Wouldn't you also need to ensure the system (Windows) does a full
    shutdown, not a hybrid one....

    For example;
    http://www.howtohaven.com/system/how...indows-8.shtml

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.2 Kernel 3.11.6-4-desktop
    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. #13
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,158
    Blog Entries
    3

    Default Re: Dualboot with Win8.1. Windows overwrites GRUB.

    Quote Originally Posted by Shadowolf7 View Post
    In those lines, do I simply copy paste? Or are there variables that I need to adjust?
    Copy/paste should be fine. But I still recommend that you make sure the referenced file exists in the efi partition. Check from a booted linux USB or CD or DVD. Use something like:
    Code:
    # mount /dev/sda1 /mnt
    # ls -l /mnt/EFI/opensuse
    The "/dev/sda1" might be wrong. It might be "/dev/sda2", or it might be "/dev/sdb1" if a USB boot makes "sda" the name of the USB device.

    You are looking for a file named "shim.efi". Running "parted -l" might tell you which partition is the EFI partition.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  4. #14
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,158
    Blog Entries
    3

    Default Re: Dualboot with Win8.1. Windows overwrites GRUB.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Wouldn't you also need to ensure the system (Windows) does a full
    shutdown, not a hybrid one....

    For example;
    How to Shut Down Windows 8 (Full Shutdown and Normal Hybrid Shutdown) (howtohaven.com)
    That's certainly excellent advice, though not strictly related to the current problem.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  5. #15
    Join Date
    Jan 2011
    Location
    Riverside, Ca.
    Posts
    214

    Exclamation Re: Dualboot with Win8.1. Windows overwrites GRUB.

    OK, some weirdness. I haven't applied the suggested fix yet. However, when I went to boot my ccomputer, it presented me with a touch-friendly boot selection screen. However when I selected openSUSE it coughed up some errors. Also now when I shut down, it gives me the text only boot selection when I turn the computer on again. I would include pictures, but susepaste won't allow me to upload them, and Google won't let me link them.

    So the first is the usual boot selection screen, nothing unusual except it is using the text only mode. Secondly it coughs up the error "Windows failed to start. A recent hardware or software change might be the cause." I can however boot into Windows. I'm wondering if it is due to secure boot, or the Windows bootamajig thinking openSUSE is some version of WIndows.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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