Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: dual-boot Windows 8 and Ubuntu 13.04

  1. #1
    Join Date
    Oct 2007
    Beans
    6

    Arrow dual-boot Windows 8 and Ubuntu 13.04

    After I installed 13.04, I was only able to boot into Windows 8. Ran boot-repair, was then able to boot into 13.04, but no longer could boot into Windows, when attempting to boot got "Preparing Automatic Repair" and computer would hang. Ran boot-repair again, obviously didn't know what I was doing, now computer will not boot at all, don't get Grub menu. Here's my Boot Info URL - http://paste.ubuntu.com/5998287/

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: dual-boot Windows 8 and Ubuntu 13.04

    Moved to your own thread as your issues are somewhat different.

    If you go into UEFI menu can you not choose ubuntu? It looks like you originally installed Ubuntu in BIOS mode where Windows is in UEFI mode. Both have to be same mode to easily dual boot. And you have to set in UEFI/BIOS what system you want to boot.

    It looks like Boot-Repair has a bug. It recently changed from automatically making backups of Windows files and using those to boot. The boot stanza in 25_custom is wrong and you need to fix it. Remove the bkp or the reference to the backup version which does not exist in your install currently.

    Your Windows boot file:/EFI/Microsoft/Boot/bootmgfw.efi

    Your menu entry:

    Code:
     menuentry "Windows UEFI bkpbootmgfw.efi" {
    search --fs-uuid --no-floppy --set=root 8C82-899E
    chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
    }
    If from live installer you have to mount the partition with 25_custom. If from working install you do not. You can only run the sudo update grub command from inside your working install.
    From live installer:
    sudo mount /dev/sda5 /mnt
    sudo cp -a /mnt/etc/grub.d/25_custom /mnt/etc/grub.d/bkup25_custom
    gksudo gedit /mnt/etc/grub.d/25_custom
    #Then do this only after booting into your working install:
    sudo update-grub



    From working install.
    sudo cp -a /etc/grub.d/25_custom /etc/grub.d/bkup25_custom
    gksudo gedit /etc/grub.d/25_custom
    #Then do:
    sudo update-grub
    Last edited by oldfred; August 18th, 2013 at 01:26 PM. Reason: Mixed commands between working install and mount from live installer
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Exclamation Re: dual-boot Windows 8 and Ubuntu 13.04

    (for info: https://bugs.launchpad.net/boot-repair/+bug/1213600 )

    EDIT: you used Boot-Repair v3.198~ppa16. Please could you check if the bug is still present with the latest version:
    1) boot on your Boot-Repair-Disk, choose 'Try Ubuntu'
    2) close the Boot-Repair windows that will automatically appear
    3) connect internet
    4) update the 'boot-sav' package
    5) run Boot-Repair, click "Recommended Repair"
    6) indicate the new URL that will appear

    thank you
    Last edited by YannBuntu; August 18th, 2013 at 10:32 AM.

  4. #4
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: dual-boot Windows 8 and Ubuntu 13.04

    I double-checked the code, and I see no possibility for this to be a bug in Boot-Repair, because B-R systematically deletes the 25_custom file, and then creates a new one with exactly the name of the EFI files it finds in the ESP.
    I'd rather bet the Windows EFI files have been restored (renamed without 'bkp') by the Windows "Automatic Repair":

    Quote Originally Posted by peabody81 View Post
    when attempting to boot got "Preparing Automatic Repair"
    peabody81, please could you simply run the Recommended Repair again, and indicate the new URL that will appear?

  5. #5
    Join Date
    Oct 2007
    Beans
    6

    Re: dual-boot Windows 8 and Ubuntu 13.04

    OK, played around with some of the options in boot-repair, I am now getting the GRUB menu, can boot into Ubuntu, but still can't get Windows to boot. Here's my info:
    http://paste.ubuntu.com/6001155/

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: dual-boot Windows 8 and Ubuntu 13.04

    You show both of these in your efi partition.
    /EFI/Microsoft/Boot/bkpbootmgfw.efi
    /EFI/Microsoft/Boot/bootmgfw.efi

    Boot-Repairs rename changes grub2's shim file which has the Microsoft signing key to be the bootmgfw.efi file for those UEFI systems that have a hard coded UEFI to only boot that file. Then from grub menu you can boot the bkpbootmgfw.efi or original Windows file to boot Windows. Does that not work?
    Did you turn fast boot off in Windows?

    From line 1072 in BootInfo report.

    Save and rename /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi)
    cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    df /dev/sda2
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #7
    Join Date
    Oct 2007
    Beans
    6

    Re: dual-boot Windows 8 and Ubuntu 13.04

    Selecting bkpbootmgfw.efi from the Grub menu causes Windows to hang on the "Preparing Automatic Repair" screen. Selecting Windows Boot UEFI loader doesn't do anything, I get a black screen, then right back to Grub menu. I don't believe I turned off Fast Boot in Windows.

  8. #8
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: dual-boot Windows 8 and Ubuntu 13.04

    It is important to turn fast boot off. A few early systems from one vendor could only be fixed by replacing motherboard. There was no way to get back into UEFI menu to fix anything.

    Fast Startup off/hibernation
    http://www.eightforums.com/tutorials...ndows-8-a.html
    Force removal of hiberfil from Ubuntu
    http://www.hecticgeek.com/2013/01/mo...u-hybrid-boot/


    WARNING for Windows 8 Dual-Booters
    http://ubuntuforums.org/showthread.php?t=1953674
    It defaults shutdown to a hybrid hibernation/off state for fast boot
    http://www.kapilarya.com/how-to-enab...p-in-windows-8
    But then files may be corrupted similar to Windows 7 Hibernation:
    http://ubuntu-with-wubi.blogspot.ca/...rid-sleep.html
    http://superuser.com/questions/14472...te-w-dual-boot

    Black screen can just be a video system issue. Have you added nomodeset to grub linux boot line?
    What video card/chip do you have?

    How to set NOMODESET and other kernel boot options in grub2 - both liveCD & first boot, but different
    http://ubuntuforums.org/showthread.php?t=1613132
    https://help.ubuntu.com/community/BootOptions
    Info on other boot parameters
    http://www.kernel.org/doc/Documentat...parameters.txt
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  9. #9
    Join Date
    Oct 2007
    Beans
    6

    Re: dual-boot Windows 8 and Ubuntu 13.04

    Turned off Fast Boot via the BIOS setup menus/screens. Re-ran boot-repair, latest log is http://paste.ubuntu.com/6004918 Same results as before, Selecting bkpbootmgfw.efi from the Grub menu causes Windows to hang on the "Preparing Automatic Repair" screen. Selecting Windows Boot UEFI loader doesn't do anything, goes right back to Grub menu

  10. #10
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: dual-boot Windows 8 and Ubuntu 13.04

    You may need to undo the file rename that Boot-Repair has done, so you can directly boot into Windows and then fix Windows from its repair console. You can only boot a working Windows that is not hibernated or needing chkdsk from grub menu.

    To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 2 12 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
  •