Dual boot with Ubuntu 14.04Lts can't boot into windows7

Page 1 of 2 12 LastLast

  1. Posts : 3
    Windows 7 Home Premium 64bit
       #1

    Dual boot with Ubuntu 14.04Lts can't boot into windows7


    Hello,

    I have recently installed Ubuntu 14.04Lts in dual boot on my second drive, but since then I am unable to boot into windows 7 on my first drive. Ubuntu is installed in UEFI like Windows. In my BIOS, I have the two options for my first drive( ubuntu and Windows Boot Manager), Ubuntu works fine but when I select Windows Boot Manager I get error :

    Status : 0xc0000225
    Info: A required device isn't connected or can't be accessed.

    When I boot into Ubuntu, I got 3 entries in my GRUB menu : Windows UEFI bootmgfw.efi, Windows Boot UEFI loader and Windows Boot Manager(on /dev/sda1)
    They all give me the same error when I select them :

    file : \windows\system32\winload.efi
    status : 0xc0000001
    info : The application or operating system couldn't be loaded because a required file is missing or contains errors.

    I have tried booting in UEFI on a windows 7 installation disk and running startup repairs, but it failed in System files integrity check and repair with failed-error code 0x490.

    Can anyone help?

    Thanks!
      My Computer


  2. Posts : 14
    Windows 7 Home Premium 64bit
       #2

    Can you please post a screenshot of the menu you have when you boot into the installation disk?
      My Computer


  3. Posts : 3
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    Here it is, sorry but my installation disc is in french. If you have any question just ask.

    -The first picture is the menu I get after booting the disc in UEFI.
    -The second is what I get when I click on repair my computer.
    -The third one is what I get after clicking next and the automatic repair is executed. Amessage saying that my computer could not be automaticly repaired.
    -Finally, the last one is the menu I have access when I click on advanced options from the previous.

    Thanks a lot for the help!
    Attached Thumbnails Attached Thumbnails Dual boot with Ubuntu 14.04Lts can't boot into windows7-img_0009.jpg   Dual boot with Ubuntu 14.04Lts can't boot into windows7-img_0011.jpg   Dual boot with Ubuntu 14.04Lts can't boot into windows7-img_0013.jpg   Dual boot with Ubuntu 14.04Lts can't boot into windows7-img_0014.jpg  
      My Computer


  4. Posts : 20,583
    Win-7-Pro64bit 7-H-Prem-64bit
       #4

    Hi and welcome to SevenForums,
    The last experience I had with a dual boot with mate mint 17.1 I had to install along side win-7 because the install couldn't be done on a separate partition with 1 system reserved partition and the 7 os on another
    Your dealing with another install altogether with uefi and as I understand several partitions or was there just 1 system reserved 100mg or 3... ?

    Needless to say installing along side was interesting and a bit too cozy for my comfort so I reinstalled 7 clean to get out of that arrangement

    Now the two are on totally separate sdd's and have their own boot systems.
      My Computer

  5.    #5

    Please boot into the System Recovery Options
    Command Line and run:

    DISKPART
    LIST DISK
    SEL DIS 0 (first confirm that is the number of Win7 disk)
    LIST PART
    Take a camera snap then for each partition listed
    SEL PART #
    DETAIL PART
    Take another picture of each partition's details.
    If any partitions are not shown, try LIST VOL instead.
      My Computer


  6. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #6

    I think this is the easiest procedure to fix it:

    Fixing a Corrupted UEFI Partition in Windows 8 or 8.1

    But you may lose the Grub in the process. Then reinstall Ubuntu with the Windows disk disconnected and select the OS via the BIOS boot order.
      My Computer


  7. Posts : 562
    Windows 7 Ultimate x64
       #7

    I think this is the easiest procedure to fix it:

    Fixing a Corrupted UEFI Partition in Windows 8 or 8.1

    But you may lose the Grub in the process. Then reinstall Ubuntu with the Windows disk disconnected and select the OS via the BIOS boot order.
    Whs, i don't think that the guy who wrote that guide even know how UEFI booting works. The commands Fixboot and Fixmbr has no effect in a UEFI booting environment as UEFI doesn't read the MBR at all. The first sector of a GPT disk will only contain a dummy MBR and it's sole purpose is to prevent legacy partitioning tools from modifying the GPT structure. Without that dummy MBR, a legacy partition tool like "Win XP" "Disk Management" will think that the disk has no partitions, MBR and disk signature and hence will prompt to "initialize" the disk. That may cause data loss so GPT uses this dummy MBR to trick the legacy tools to think that the disk has been initialized and partitioned under MBR scheme. Also there is no command named Rebuildmbr in my knowledge. I think what he meant is Bootrec /rebuildbcd.


    Btw, GRUB2 which supports UEFI is still in beta stage and has lots of unresolved bugs. As of now, it's better stick with legacy/MBR installations if you plan to dual boot - especially with Linux.
      My Computer

  8.    #8

    Thanks Anshad for casting more light on UEFI repair, but do we have any other strategies to follow than Startup Repair? Are the other commands suggested in Fixing a Corrupted UEFI Partition in Windows 8 or 8.1 helpful at all?

    It bothers me that while we are getting ahead of installation failures on UEFI finally after several years time, we have not gotten any new strategies for repairing UEFI.

    Come to think of it, the demand isn't that great like it was when we were developing many workarounds for repairing MBR boot here. But it would be nice to have more tricks up our sleeve.It may be partly that many of us are still hosting Win7 on BIOS. Only one of the dozen machines at my homes is UEFI.

    I'm going to try to message the author to ask him to comment, also ask Mahmoud at EasyBCD to work with us more on developing workarounds like we did for MBR. Does anyone have a link to the thread where we recently helped move the EFI System partition to same disk via Startup Repair?
      My Computer


  9. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #9

    Anshad Edavana said:
    I think this is the easiest procedure to fix it:

    Fixing a Corrupted UEFI Partition in Windows 8 or 8.1

    But you may lose the Grub in the process. Then reinstall Ubuntu with the Windows disk disconnected and select the OS via the BIOS boot order.
    Whs, i don't think that the guy who wrote that guide even know how UEFI booting works. The commands Fixboot and Fixmbr has no effect in a UEFI booting environment as UEFI doesn't read the MBR at all. The first sector of a GPT disk will only contain a dummy MBR and it's sole purpose is to prevent legacy partitioning tools from modifying the GPT structure. Without that dummy MBR, a legacy partition tool like "Win XP" "Disk Management" will think that the disk has no partitions, MBR and disk signature and hence will prompt to "initialize" the disk. That may cause data loss so GPT uses this dummy MBR to trick the legacy tools to think that the disk has been initialized and partitioned under MBR scheme. Also there is no command named Rebuildmbr in my knowledge. I think what he meant is Bootrec /rebuildbcd.


    Btw, GRUB2 which supports UEFI is still in beta stage and has lots of unresolved bugs. As of now, it's better stick with legacy/MBR installations if you plan to dual boot - especially with Linux.
    Thanks, that's good to know. I was not aware of that since I never had this situation myself.
      My Computer


  10. Posts : 562
    Windows 7 Ultimate x64
       #10

    Hi

    To repair a corrupted UEFI boot-loader, the easiest way i know is to use the Bcdboot command line tool. For example when we need to completely remove GRUB2 EFI and restore Windows boot manager ( Win 7/8 ), the following steps will do the trick.

    1. Boot from a Windows installation disk under UEFI mode. You can't repair a UEFI installation if you boot from DVD/USB in MBR mode.

    2 Open a command prompt at boot by pressing Shift + F10 together.

    3. Use DISKPART to identify the EFI System Partition or ESP and assign a letter to it. List Partition command will identify the ESP as type System.

    Dual boot with Ubuntu 14.04Lts can't boot into windows7-list-partitions.png

    4. Select the ESP and assign a letter to it.

    Dual boot with Ubuntu 14.04Lts can't boot into windows7-assign-letter.png

    5. Exit DISKPART and format the ESP under FAT32 file system. This will completely wipe whatever boot loader is currently on the ESP - whether it is Windows or GRUB2 boot loader.

    Dual boot with Ubuntu 14.04Lts can't boot into windows7-format.png

    6. Now initialize the ESP with Bcdboot command. this will create new BCD store and Windows boot manger on the ESP from scratch.

    Bcdboot C:\Windows

    This will remove GRUB EFI and install Windows boot manager.

    ( Assuming C: is the Windows drive's letter assigned by WinPE. Usually Windows partition will be the first "Data" type partition (Microsoft basic data partition - Wikipedia, the free encyclopedia) on a GPT disk and usually it will receive letter C:. However this may change if you install Windows to a second or third "Data" partition. Check the contents of partitions with DIR command when in doubt.)

    Dual boot with Ubuntu 14.04Lts can't boot into windows7-bcdboot.png

    Btw, i don't think this will help resolving OP's situation. It seems more like a critical system files corruption than a boot loader issue/Windows partition severely damaged.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:47.
Find Us