Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: UEFI help

  1. #1
    Join Date
    Mar 2013
    Beans
    20

    UEFI help

    Hi, linux newbie here.

    I've installed the ubuntu-based Mint, and now I cannot boot into Windows.
    I'm satisfied with the system and I wouldn't really care about that if I could optimize battery life (still working on it).

    Asus laptop. 64Bit OSes, both Mint and Windows 7.
    Two 1TB hard drives (=2TB worth of space).

    The laptop didn't come with a recovery CD.
    Nor is the recovery partition working (messed up batch files, I tried fixing it several months ago but decided that it's not wroth the hassle).

    The error is
    "invalid EFI file path"

    I've already run Ubuntu's boot repair from the live cd.
    But that doesn't really help.

    I'm following this guide:
    https://help.ubuntu.com/community/UEFI

    Here are the logs
    http://paste.ubuntu.com/5599570/
    Last edited by Perfect Storm; March 10th, 2013 at 05:23 PM. Reason: added prefix

  2. #2
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: UEFI help

    Moved to Other OS/Distro Talk.

  3. #3
    Join Date
    Mar 2013
    Beans
    20

    Re: UEFI help

    Ah sorry, I thought the other sub forum was to be used for all ubuntu-based distors

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: UEFI help

    It looks like Boot-Repair tried to convert a BIOS install on sdb to UEFI. But UEFI has to have gpt partitions and only sda is gpt. Not sure if booting in UEFI with Linux on sdb in BIOS/MBR mode would work or not.

    Does Mint boot?

    Was system Windows 8 with secure boot and you down graded to Windows 7?
    If originally Windows 7, you should not have secure boot and Boot-Repair then would not have to rename Windows boot files.

    With secure boot and systems that then only boot the Windows files Boot-Repair renames files.
    Boot-Repair - Updated Jan 1, 2013 to not rename first time, but rename if first time Windows does not boot. Post 706 and 711
    http://ubuntuforums.org/showthread.p...769482&page=71
    Boot-Repair copied /EFI/ubuntu/grubx64.efi to /EFI/Boot/bootx64.efi (in case the BIOS is hard-coded to boot into /EFI/Boot/bootx64.efi or secure boot
    signed GRUB file shimx64.efi.

    To perform this, just run Boot-Repair --> Adv options --> tick "Backup and rename EFI files" --> Apply
    Then reboot the PC to UEFI/BIOS and chose ubuntu, and please tell us what you observe.
    Please enable SecureBoot in your BIOS, then run Boot-Repair --> Advanced Options --> "GRUB options" tab --> tick "SecureBoot" --> Apply.

    If you do not have secure boot then you should not have renamed files. Not sure if another run of Boot-Repair un-renames them or not. Try un ticking the secure boot and then run rename files.

    With your current configuration of gpt and UEFI on sda and MBR(msdos) on sdb, about the only way to boot is to install Mint in BIOS mode on sdb. Then each time you want to change, you have to go into UEFI menu and turn on or off UEFI or BIOS mode to boot the other system. Boot systems have to be BIOS or both UEFI to easily dual boot.


    Installing Ubuntu 12.10 alongside Windows 8 on Asus K95V laptop HD/SSD (EFI) Two drives. Details in post #6
    http://ubuntuforums.org/showthread.php?t=2116610
    UEFI dual boot two drives - HP
    http://ubuntuforums.org/showthread.php?t=2072950
    UEFI dual boot two drives see #14 on how edit UUID to Windows efi partiton
    http://ubuntuforums.org/showthread.php?t=2031836
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Mar 2013
    Beans
    20

    Re: UEFI help

    Mint is loading just fine.

    I bought the laptop in the summer (that means that Windows 8 was still in beta; I'm not sure, though, as I never pay attention to Microsoft releases), so that probably means that I don't have Secure Boot (I tried looking for it in the BIOS - it's not there; it is my understanding that Secure Boot is W8 feature, though).

    I did not rename anything myself; running the live CD was the first thing I'd done.
    I have had Boor-repair run twice, to check if it would work on a second run.

    As stated above, I don't have Secure-Boot (or perhaps it's just named differently? I'll post the features available to me in the BIOS).

    I'm going to try the advanced settings now.
    Last edited by SimonaZ; March 10th, 2013 at 08:23 PM.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: UEFI help

    I am suprised Mint boots from MBR with a UEFI boot. But good to know. It really is just grub that is different between UEFI(grub-efi) & BIOS (grub-pc).

    If Boot-Repair does not name files back. Does UEFI menu show both Linux & Windows as boot options?

    These are the normal boot files:
    # UEFI Boot files UEFI sees folder for efi files, so it will show, ubuntu, Windows, Boot and maybe others for recovery.
    # from Ubuntu full mount path where normal mount is /boot/efi - /boot/efi/EFI/ubuntu/grubx64.efi
    /efi/ubuntu/grubx64.efi
    # New secure boot grub version:
    /efi/ubuntu/ shimx64.efi.
    # for Windows, but for UEFI systems that only boot this file, grub or shim may get renamed to this and this backed up.
    /EFI/Microsoft/Boot/bootmgfw.efi
    # Both Windows & Ubuntu may provide this shell file, not sure of differeneces.
    /efi/Boot/bootx64.efi
    efi shell
    \EFI\BOOT\BOOTX64.EFI.
    # There also may be other files in each directory to support booting.

    And you should have a copy:

    Windows UEFI install should have backup of bootmgfw.efi here:
    C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Mar 2013
    Beans
    20

    Re: UEFI help

    Here's what I see:
    http://i.imgur.com/cgK43ie.jpg

    And yes, such file C:\Windows\Boot\EFI\bootmgfw.efi exists

    what should I do?

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: UEFI help

    Your menu looks like a mix of UEFI and BIOS entries.

    If you boot this directly from UEFI menu does it boot Windows.
    /EFI/Boot/bkpbootmgfw.efi


    That should be the same file as the original bootmgfw.efi and/or you can copy the original from c: to efi partition. Back up efi partition first before renaming or copying files. Boot-Repair has copied this shim file to be the bootmgfw.efi file so those Windows 8 systems with secure boot think they are booting Windows. The shim has the Microsoft key and is supposed to work with all secure boot systems, but some modified UEFI to only boot the bootmgfw.efi file.

    # New secure boot grub version:
    /efi/ubuntu/ shimx64.efi
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Mar 2013
    Beans
    20

    Re: UEFI help

    not sure i understand.

    what exactly is uefi menu ?

    I can add boot options in BIOS, is that what you want me to do?

    or should i do it through grub?

    btw, I can open the Win recovery, don't remember which one tho
    it seems to load for around one minute
    but then comes back to grub

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: UEFI help

    Technically there is no more BIOS. But we have UEFI with CSM. But I still call it BIOS sometimes too.
    UEFI Compatibility Support Module (CSM)

    Do you have secure boot off? Some UEFI will only boot with secure boot off, others work with it on or off. Grub's shim file has the Microsoft key and it should work, but some make it difficult.

    And then from BIOS can you directly boot?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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