Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dual boot with Ubuntu 14.04Lts can't boot into windows7

21 Apr 2015   #1
greschky

Windows 7 Home Premium 64bit
 
 
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 System SpecsSystem Spec
.
21 Apr 2015   #2
tomsterley

Windows 7 Home Premium 64bit
 
 

Can you please post a screenshot of the menu you have when you boot into the installation disk?
My System SpecsSystem Spec
21 Apr 2015   #3
greschky

Windows 7 Home Premium 64bit
 
 

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
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 System SpecsSystem Spec
.

21 Apr 2015   #4
ThrashZone

Win-7-Pro64bit 7-H-Prem-64bit
 
 

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 System SpecsSystem Spec
21 Apr 2015   #5
gregrocker

 

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 System SpecsSystem Spec
21 Apr 2015   #6
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

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 System SpecsSystem Spec
22 Apr 2015   #7
Anshad Edavana

Windows 7 Ultimate x64
 
 

Quote:
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 System SpecsSystem Spec
22 Apr 2015   #8
gregrocker

 

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 System SpecsSystem Spec
22 Apr 2015   #9
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by Anshad Edavana View Post
Quote:
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 System SpecsSystem Spec
22 Apr 2015   #10
Anshad Edavana

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Win 7 , Ubuntu dual boot, windows wont boot, startup disk doesnt help
Hi a couple of months ago my system crashed, windows 7 wouldnt boot, and I misplaced my installation disk. I had the problems several times since obtaining the computer several years ago. (Lenovo IDeaPad y450). I attributed the problem to what I believed was a bad hard disk, so I replaced it with a...
General Discussion
Dual Boot problem, Ubuntu is the main boot
hello I have Asus laptop with OEM Win7 HomeP 64bit on it, I installed Ubuntu 12.04 along side with Win7, didn't know that Ubuntu will be the main boot, I used Ubuntu 11.10 a year a go and Windows was my main boot, I tired several way to retrieve Win7 as main boot but didn't work. I tried to...
Installation & Setup
Cannot Boot Windows 7 after Uninstalling Ubuntu Dual-Boot
...
Installation & Setup
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Window
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Windows it says Windows can not start the installation process.
BSOD Help and Support
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Window
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Windows it says Windows can not start the installation process.
Installation & Setup
Unable to boot Windows 7 after unistalling Ubuntu Dual boot
After deleting the partition on which Ubuntu was installed and enlarging the windows partition to fill the old space at the same time( stupid I know), I am unable to boot to Windows 7. All I see is a command line message that says Unknown File System and on the next line says Grub Rescue> with...
Installation & Setup


Our Sites

Site Links

About Us

Find 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 09:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App