New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qubes OS Automatic Partitioning - Install Breaks Windows 10 UEFI Boot #2794

Closed
MrAndromedus opened this Issue May 6, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@MrAndromedus

R3.2

I installed Windows 10 on a small partition of my single disk in UEFI mode with Legacy boot available in BIOS. This has been running without issue for some time. In the empty space I used UEFI boot to install Qubes OS and selected the automatic partitioning, thinking that it would partition the remaining unallocated space appropriately and leave the UEFI boot in order. The install went relatively smoothly, but upon boot Qubes would not startup due to what appeared to be a video driver issue.

I decided to do a full format to install Qubes OS standalone, but before that wanted to get all of my data out of the Windows 10 install. Upon trying to boot back into Windows 10 I get the "No Media Present" error. I attempted to remove the Qubes partitions, repair EFI, rewrite boot, BCD, etc., and followed all of the various articles about fixing UEFI boot issues, but UEFI boot will not see the Windows 10 OS.

If I use the installation media, it sees the OS but can't repair it. BOOTSECT /scanos and /rebuildbcd do not see the operating system. I've deleted the EFI partition, recreated it, copied the appropriate files, rebuilt BCD, and exhausted my understanding. Windows Boot Manager works fine, but doesn't see the OS. Please let me know if you have any suggestions for fixing or at a minimum getting the file level information off of my Windows 10 partition. Even if it means installing another OS just to access the file level data, I'm fine with that. Thanks for your help!

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 6, 2017

Member

Ok, so there are two things here:

  1. The fact (assuming it is a fact) that installing Qubes breaks existing Windows 10 UEFI installations.
  2. Advice for recovering data from your existing Windows 10 installation.

Regarding the first, this may be an upstream issue from the Fedora installer (notourbug), or we may decide that breaking existing installations isn't something that we're concerned about (notanissue), in which case a warning in the Installation Guide would be appropriate. Any opinion on this, @marmarek?

Regarding the second, you should try searching the mailing list archives, since this question has probably been asked before, or ask on qubes-users yourself.

Member

andrewdavidwong commented May 6, 2017

Ok, so there are two things here:

  1. The fact (assuming it is a fact) that installing Qubes breaks existing Windows 10 UEFI installations.
  2. Advice for recovering data from your existing Windows 10 installation.

Regarding the first, this may be an upstream issue from the Fedora installer (notourbug), or we may decide that breaking existing installations isn't something that we're concerned about (notanissue), in which case a warning in the Installation Guide would be appropriate. Any opinion on this, @marmarek?

Regarding the second, you should try searching the mailing list archives, since this question has probably been asked before, or ask on qubes-users yourself.

@MrAndromedus

This comment has been minimized.

Show comment
Hide comment
@MrAndromedus

MrAndromedus May 6, 2017

MrAndromedus commented May 6, 2017

@MrAndromedus

This comment has been minimized.

Show comment
Hide comment
@MrAndromedus

MrAndromedus May 8, 2017

Another quick comment after getting a few moments to review my system and actually capture some information. I've noticed that at this point, whether due to my own attempts to correct the problem or an issue with the initial install, I have two EFI System Partitions. One partition seems to be correct, is the appropriate size, type, and attributes. The other partition with Type = c12a7328-f81f-11d2-ba4b-00a0c93ec93b (EFI System Partition GUID) is my Windows OS Primary Partition.

As mind boggling as this is, I'm assuming this is why Windows won't boot. The original EFI System Partition thinks that my Windows OS Partition is another ESP. I've yet to attempt to set the type on this partition because I cannot find an appropriate paper or discussion telling me how to. It is simple to create a primary partition for an OS, but if an OS partition thinks it is an ESP, how do I convert it back to a primary partition?

I realize this is a forum for Qubes and that my issue has become more of a Windows / Boot issue. As such will leave this issue to the mods to close out or move. Thanks again for your help!

Another quick comment after getting a few moments to review my system and actually capture some information. I've noticed that at this point, whether due to my own attempts to correct the problem or an issue with the initial install, I have two EFI System Partitions. One partition seems to be correct, is the appropriate size, type, and attributes. The other partition with Type = c12a7328-f81f-11d2-ba4b-00a0c93ec93b (EFI System Partition GUID) is my Windows OS Primary Partition.

As mind boggling as this is, I'm assuming this is why Windows won't boot. The original EFI System Partition thinks that my Windows OS Partition is another ESP. I've yet to attempt to set the type on this partition because I cannot find an appropriate paper or discussion telling me how to. It is simple to create a primary partition for an OS, but if an OS partition thinks it is an ESP, how do I convert it back to a primary partition?

I realize this is a forum for Qubes and that my issue has become more of a Windows / Boot issue. As such will leave this issue to the mods to close out or move. Thanks again for your help!

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 3, 2018

Member

Closing as "not our bug." If you believe this is a mistake, please leave a comment, and we'll be happy to take another look. Thank you.

Member

andrewdavidwong commented Apr 3, 2018

Closing as "not our bug." If you believe this is a mistake, please leave a comment, and we'll be happy to take another look. Thank you.

@akomba

This comment has been minimized.

Show comment
Hide comment
@akomba

akomba Apr 20, 2018

@MrAndromedus did you manage to recover windows? I ran into the exact same issue.

akomba commented Apr 20, 2018

@MrAndromedus did you manage to recover windows? I ran into the exact same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment