Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upQubes OS Automatic Partitioning - Install Breaks Windows 10 UEFI Boot #2794
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
May 6, 2017
Member
Ok, so there are two things here:
- The fact (assuming it is a fact) that installing Qubes breaks existing Windows 10 UEFI installations.
- 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.
|
Ok, so there are two things here:
Regarding the first, this may be an upstream issue from the Fedora installer ( Regarding the second, you should try searching the mailing list archives, since this question has probably been asked before, or ask on |
andrewdavidwong
added
the
C: installer
label
May 6, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
May 6, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
MrAndromedus
May 6, 2017
MrAndromedus
commented
May 6, 2017
•
|
Andrew, thanks for the response. Before installing Qubes OS I did quite a
bit of research and it seemed like it would work. My misstep was allowing
the installer to partition the free space and modify the boot sequence,
records, and method. As someone new to Qubes OS and only a novice in
Linux, a more direct warning or a verified guide for dual booting with
Windows via UEFI would be very welcome.
I was very disappointed to have issues with the install because it all went
so well, up until the restart. Qubes OS seems to be the new way of not
just securing a computer, but operating one more effectively and
efficiently. I can't wait to give it another try.
I've read through the mailing lists, GitHub, Reddit, and a few other boards
in an attempt to sort this out and get my data out of the Windows
partition, but the solutions haven't worked. My installation media sees
the Windows OS install, but the Windows Boot Manager (Newly created EFI
partition) does not. The installation media I will attempt to fix the OS
boot but says it cannot. Boot-Repair also tried and says it succeeded, but
the issue persists.
My only thought is that there is something written to the drive before the
EFI boot that is interfering, but I'm not sure how to find it. Does the
Qubes OS installer write anything new that may lock EFI or MBR? I did
notice a volume prior to all the others labeled \dev\loop0 and it had
SquashFS. Could that be the culprit?
Anyway, thanks again for your response. I agree that this is not
necessarily a Qubes OS issue or bug, but as an OS developer community, I
would appreciate any support offered.
My next thought is to delete most of the partitions, with exception to the
Windows OS, then set it as a simple data partition before installing
another OS to then get the data from the Windows partition. Any thoughts?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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!
MrAndromedus
commented
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! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
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. |
andrewdavidwong
closed this
Apr 3, 2018
andrewdavidwong
added
the
notourbug
label
Apr 3, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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. |
MrAndromedus commentedMay 6, 2017
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!