How to fix EFI-boot on my Macbook Pro after Linux install crashed?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
After trying to install Linux (CentOs) and it crashed I can no longer boot W10.
I can only choose OS X and its recovery after the alt option key....
The EFI partition is renamed to blank / NO NAME, as you can see in the diskutil list before installing Linux:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
And after the Linux install crashed:
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI NO NAME 208.7 MB disk0s1
Somehow the Linux install renamed the EFI partition to NO Name or blank and what more......
Does anyone know how I can resolve this?
By the way I did follow the steps of
http://www.makeuseof.com/tag/install-linux-macbook-pro/
to install CentOs instead of Ubuntu.
Without success ......
macos boot partitioning windows-10 uefi
add a comment |
After trying to install Linux (CentOs) and it crashed I can no longer boot W10.
I can only choose OS X and its recovery after the alt option key....
The EFI partition is renamed to blank / NO NAME, as you can see in the diskutil list before installing Linux:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
And after the Linux install crashed:
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI NO NAME 208.7 MB disk0s1
Somehow the Linux install renamed the EFI partition to NO Name or blank and what more......
Does anyone know how I can resolve this?
By the way I did follow the steps of
http://www.makeuseof.com/tag/install-linux-macbook-pro/
to install CentOs instead of Ubuntu.
Without success ......
macos boot partitioning windows-10 uefi
add a comment |
After trying to install Linux (CentOs) and it crashed I can no longer boot W10.
I can only choose OS X and its recovery after the alt option key....
The EFI partition is renamed to blank / NO NAME, as you can see in the diskutil list before installing Linux:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
And after the Linux install crashed:
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI NO NAME 208.7 MB disk0s1
Somehow the Linux install renamed the EFI partition to NO Name or blank and what more......
Does anyone know how I can resolve this?
By the way I did follow the steps of
http://www.makeuseof.com/tag/install-linux-macbook-pro/
to install CentOs instead of Ubuntu.
Without success ......
macos boot partitioning windows-10 uefi
After trying to install Linux (CentOs) and it crashed I can no longer boot W10.
I can only choose OS X and its recovery after the alt option key....
The EFI partition is renamed to blank / NO NAME, as you can see in the diskutil list before installing Linux:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
And after the Linux install crashed:
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI NO NAME 208.7 MB disk0s1
Somehow the Linux install renamed the EFI partition to NO Name or blank and what more......
Does anyone know how I can resolve this?
By the way I did follow the steps of
http://www.makeuseof.com/tag/install-linux-macbook-pro/
to install CentOs instead of Ubuntu.
Without success ......
macos boot partitioning windows-10 uefi
macos boot partitioning windows-10 uefi
asked Nov 9 '15 at 20:12
BenKitBenKit
112
112
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
This helped me a lot!
It looks like the install of CentOs made a new boot partition.
I started Try Ubuntu and gnome-disk give the following info:
sda3
Size ---------------524 MB — 491 MB free (6.3% full)
Device ----------- /dev/sda3
Partition Type ---Basic Data
Contents --------XFS — Mounted at /media/ubuntu/564b41fb-86e3-4350-b906-65d36dae16c6
Also the old EFI boot is still there:
sda1
Size --------------209 MB (208,666,624 bytes)
Device -----------/dev/sda1
Partition Type ---EFI System
Contents --------FAT (16-bit version) — Not MountedEFI System
EFIbootmgr gave the following result in Ubuntu:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000 Windows Boot Manager*
Boot0080 Mac OS X*
Boot0081 Mac OS X*
Boot0082 *
BootFFFF *
The question is how to get lost of the new boot partition and get back to the old boot partition sda1, and that it will boot from there.... Or not?
For better understanding I have attached screenshots of the disk:
CentOs Disk Partition screenshot
Ubuntu disk part sda1 screenshot
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, yourefibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.
– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
add a comment |
Sorry for my lack of understanding ;-(
I did install W10 Technical preview directly to my opinion.
But it was made with or without a MBR, I really don't know...
Can you recognize a MBR?
I did run Try Ubuntu to run gdisk:
ubuntu@ubuntu:~$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C38E8DF0-D5D2-460C-BD6A-EAD7406FB049
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 4697 sectors (2.3 MiB)
Number --- Start (sector) --- End (sector) --- Size --- Code --- Name
1 ----------- 2048 ------------409599------199.0 MiB -EF00 ---EFI System Partition
2 ---------409640---------391034639-----186.3 GiB - AF00 ---MacIntosh HD 1
3----- 391034880 --------392058879------500.0 MiB - 0700
4-----486737768 ---------488007303 -----619.9 MiB - AF00 --Recovery HD
5-----488007680 ---------976080895------232.7 GiB - 0700 --BOOTCAMP
6-----976080896 ---------976183295 ------50.0 MiB - 0C01 --Microsoft reserved part
7-----976183296----------977104895 -----450.0 MiB -2700
8-----392058880----------486735871 ------45.1 GiB - 8E00
It says that there is an MBR (protective)
Can you advise how to continue?
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
add a comment |
Chances are it's not the renaming of the EFI System Partition (ESP) that's the problem. (I note also that its size has changed slightly -- but again, I don't think that's the issue.) Chances are the installation attempt has wiped out a hybrid MBR upon which Windows was reliant for booting. If so, restoring the hybrid MBR should fix the problem. You can do that with my gdisk
program or with gptsync
(which comes with the old rEFIt, my rEFInd fork of it, and as a standalone program in some Linux distributions). Apple's Disk Utility can also create hybrid MBRs, but I don't know of a way to force it to create one without making other changes to the disk. (Normally it'll do the job when you create a FAT partition, for instance.)
Another possibility is the exact opposite, depending on the nature of the boot problem: It could be that the failed installation, or your attempt to recover from it, has created a hybrid MBR where one had not previously existed. This is a more likely explanation if you installed Windows 10 directly, rather than if you upgraded to Windows 10 from an earlier version.
Unfortunately, Apple's early reliance on hybrid MBRs and subsequent shift away from them has created an environment in which you need to be an expert to recover from problems like yours.
EDIT:
Please don't create multiple answers, or use answers to ask more questions. Instead, edit your question or post follow-up questions as comments to answers. This site sorts answers by votes, so using multiple answers to carry out a conversation quickly becomes very confusing because it becomes impossible to follow the sequence of questions and answers.
Based on your gdisk
output, you've currently got a standard protective MBR, which means a pure-GPT disk (not a hybrid MBR). Thus, you've got conflicting indications -- the efibootmgr
output indicates a probable EFI-mode Windows install (at some point); but if it's not booting with the current partition table, that might hint at a BIOS-mode Windows install (at some point). It's also possible it's always been EFI-mode, but something's trashed the Windows boot loader.
Given that your ESP is now a different size than it had been, my best guess at this point is that you (or the CentOS installer) inappropriately deleted and re-created the ESP, thus destroying the Windows boot loader. If so, then this question and answers may be your best bet for recovery.
EDIT 2:
You can always edit your question if you need to add extensive information.
Also, in all the back-and-forth, I forgot you were dealing with a Mac. It's possible that your ESP retains Windows boot files, but the Mac just isn't displaying them. If so, installing my rEFInd boot manager may restore your ability to boot both OSes. Before you do that, though, you should determine whether there are Windows boot files on your ESP. (I believe that's what you mean by "MBR partition." You have no MBR partitions, since your disk is GPT-only.) Mount it and look for a file called EFI/Microsoft/Boot/bootmgfw.efi
. If it's present, that's your Windows boot loader, and rEFInd should enable you to launch it. If it's absent, then you'll need to follow a Windows recovery procedure to restore it. In fact, you might want to search the ESP for any files with names that end in .efi
; those are EFI boot loaders (and possibly related files, like drivers).
Deleting your ESP will not help, and could make matters worse! At this point, it appears that either files are missing from the ESP or you're lacking the ability to launch files from the ESP. In either case, deleting the ESP will, at best, do no good. If there are relevant files on the ESP, deleting the ESP will just make matters worse.
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f998289%2fhow-to-fix-efi-boot-on-my-macbook-pro-after-linux-install-crashed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
This helped me a lot!
It looks like the install of CentOs made a new boot partition.
I started Try Ubuntu and gnome-disk give the following info:
sda3
Size ---------------524 MB — 491 MB free (6.3% full)
Device ----------- /dev/sda3
Partition Type ---Basic Data
Contents --------XFS — Mounted at /media/ubuntu/564b41fb-86e3-4350-b906-65d36dae16c6
Also the old EFI boot is still there:
sda1
Size --------------209 MB (208,666,624 bytes)
Device -----------/dev/sda1
Partition Type ---EFI System
Contents --------FAT (16-bit version) — Not MountedEFI System
EFIbootmgr gave the following result in Ubuntu:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000 Windows Boot Manager*
Boot0080 Mac OS X*
Boot0081 Mac OS X*
Boot0082 *
BootFFFF *
The question is how to get lost of the new boot partition and get back to the old boot partition sda1, and that it will boot from there.... Or not?
For better understanding I have attached screenshots of the disk:
CentOs Disk Partition screenshot
Ubuntu disk part sda1 screenshot
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, yourefibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.
– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
add a comment |
This helped me a lot!
It looks like the install of CentOs made a new boot partition.
I started Try Ubuntu and gnome-disk give the following info:
sda3
Size ---------------524 MB — 491 MB free (6.3% full)
Device ----------- /dev/sda3
Partition Type ---Basic Data
Contents --------XFS — Mounted at /media/ubuntu/564b41fb-86e3-4350-b906-65d36dae16c6
Also the old EFI boot is still there:
sda1
Size --------------209 MB (208,666,624 bytes)
Device -----------/dev/sda1
Partition Type ---EFI System
Contents --------FAT (16-bit version) — Not MountedEFI System
EFIbootmgr gave the following result in Ubuntu:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000 Windows Boot Manager*
Boot0080 Mac OS X*
Boot0081 Mac OS X*
Boot0082 *
BootFFFF *
The question is how to get lost of the new boot partition and get back to the old boot partition sda1, and that it will boot from there.... Or not?
For better understanding I have attached screenshots of the disk:
CentOs Disk Partition screenshot
Ubuntu disk part sda1 screenshot
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, yourefibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.
– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
add a comment |
This helped me a lot!
It looks like the install of CentOs made a new boot partition.
I started Try Ubuntu and gnome-disk give the following info:
sda3
Size ---------------524 MB — 491 MB free (6.3% full)
Device ----------- /dev/sda3
Partition Type ---Basic Data
Contents --------XFS — Mounted at /media/ubuntu/564b41fb-86e3-4350-b906-65d36dae16c6
Also the old EFI boot is still there:
sda1
Size --------------209 MB (208,666,624 bytes)
Device -----------/dev/sda1
Partition Type ---EFI System
Contents --------FAT (16-bit version) — Not MountedEFI System
EFIbootmgr gave the following result in Ubuntu:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000 Windows Boot Manager*
Boot0080 Mac OS X*
Boot0081 Mac OS X*
Boot0082 *
BootFFFF *
The question is how to get lost of the new boot partition and get back to the old boot partition sda1, and that it will boot from there.... Or not?
For better understanding I have attached screenshots of the disk:
CentOs Disk Partition screenshot
Ubuntu disk part sda1 screenshot
This helped me a lot!
It looks like the install of CentOs made a new boot partition.
I started Try Ubuntu and gnome-disk give the following info:
sda3
Size ---------------524 MB — 491 MB free (6.3% full)
Device ----------- /dev/sda3
Partition Type ---Basic Data
Contents --------XFS — Mounted at /media/ubuntu/564b41fb-86e3-4350-b906-65d36dae16c6
Also the old EFI boot is still there:
sda1
Size --------------209 MB (208,666,624 bytes)
Device -----------/dev/sda1
Partition Type ---EFI System
Contents --------FAT (16-bit version) — Not MountedEFI System
EFIbootmgr gave the following result in Ubuntu:
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080,0000
Boot0000 Windows Boot Manager*
Boot0080 Mac OS X*
Boot0081 Mac OS X*
Boot0082 *
BootFFFF *
The question is how to get lost of the new boot partition and get back to the old boot partition sda1, and that it will boot from there.... Or not?
For better understanding I have attached screenshots of the disk:
CentOs Disk Partition screenshot
Ubuntu disk part sda1 screenshot
answered Nov 10 '15 at 11:45
BenKitBenKit
112
112
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, yourefibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.
– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
add a comment |
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, yourefibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.
– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, your
efibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.– Rod Smith
Nov 10 '15 at 12:57
Please see superuser.com/questions/508026/…. Note that the main point of my original answer is that a hybrid MBR (or lack thereof) is likely the problem, but you've posted no information relevant to that critical point. That said, your
efibootmgr
output shows a Windows entry, which strongly suggests Windows is installed in EFI mode, which in turn means you should not have a hybrid MBR. Please read the question/answer to which I linked and, if a hybrid MBR is present, remove it.– Rod Smith
Nov 10 '15 at 12:57
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
see information in Answer..... I hope this give the right info.....
– BenKit
Nov 10 '15 at 14:49
add a comment |
Sorry for my lack of understanding ;-(
I did install W10 Technical preview directly to my opinion.
But it was made with or without a MBR, I really don't know...
Can you recognize a MBR?
I did run Try Ubuntu to run gdisk:
ubuntu@ubuntu:~$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C38E8DF0-D5D2-460C-BD6A-EAD7406FB049
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 4697 sectors (2.3 MiB)
Number --- Start (sector) --- End (sector) --- Size --- Code --- Name
1 ----------- 2048 ------------409599------199.0 MiB -EF00 ---EFI System Partition
2 ---------409640---------391034639-----186.3 GiB - AF00 ---MacIntosh HD 1
3----- 391034880 --------392058879------500.0 MiB - 0700
4-----486737768 ---------488007303 -----619.9 MiB - AF00 --Recovery HD
5-----488007680 ---------976080895------232.7 GiB - 0700 --BOOTCAMP
6-----976080896 ---------976183295 ------50.0 MiB - 0C01 --Microsoft reserved part
7-----976183296----------977104895 -----450.0 MiB -2700
8-----392058880----------486735871 ------45.1 GiB - 8E00
It says that there is an MBR (protective)
Can you advise how to continue?
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
add a comment |
Sorry for my lack of understanding ;-(
I did install W10 Technical preview directly to my opinion.
But it was made with or without a MBR, I really don't know...
Can you recognize a MBR?
I did run Try Ubuntu to run gdisk:
ubuntu@ubuntu:~$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C38E8DF0-D5D2-460C-BD6A-EAD7406FB049
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 4697 sectors (2.3 MiB)
Number --- Start (sector) --- End (sector) --- Size --- Code --- Name
1 ----------- 2048 ------------409599------199.0 MiB -EF00 ---EFI System Partition
2 ---------409640---------391034639-----186.3 GiB - AF00 ---MacIntosh HD 1
3----- 391034880 --------392058879------500.0 MiB - 0700
4-----486737768 ---------488007303 -----619.9 MiB - AF00 --Recovery HD
5-----488007680 ---------976080895------232.7 GiB - 0700 --BOOTCAMP
6-----976080896 ---------976183295 ------50.0 MiB - 0C01 --Microsoft reserved part
7-----976183296----------977104895 -----450.0 MiB -2700
8-----392058880----------486735871 ------45.1 GiB - 8E00
It says that there is an MBR (protective)
Can you advise how to continue?
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
add a comment |
Sorry for my lack of understanding ;-(
I did install W10 Technical preview directly to my opinion.
But it was made with or without a MBR, I really don't know...
Can you recognize a MBR?
I did run Try Ubuntu to run gdisk:
ubuntu@ubuntu:~$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C38E8DF0-D5D2-460C-BD6A-EAD7406FB049
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 4697 sectors (2.3 MiB)
Number --- Start (sector) --- End (sector) --- Size --- Code --- Name
1 ----------- 2048 ------------409599------199.0 MiB -EF00 ---EFI System Partition
2 ---------409640---------391034639-----186.3 GiB - AF00 ---MacIntosh HD 1
3----- 391034880 --------392058879------500.0 MiB - 0700
4-----486737768 ---------488007303 -----619.9 MiB - AF00 --Recovery HD
5-----488007680 ---------976080895------232.7 GiB - 0700 --BOOTCAMP
6-----976080896 ---------976183295 ------50.0 MiB - 0C01 --Microsoft reserved part
7-----976183296----------977104895 -----450.0 MiB -2700
8-----392058880----------486735871 ------45.1 GiB - 8E00
It says that there is an MBR (protective)
Can you advise how to continue?
Sorry for my lack of understanding ;-(
I did install W10 Technical preview directly to my opinion.
But it was made with or without a MBR, I really don't know...
Can you recognize a MBR?
I did run Try Ubuntu to run gdisk:
ubuntu@ubuntu:~$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C38E8DF0-D5D2-460C-BD6A-EAD7406FB049
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 4697 sectors (2.3 MiB)
Number --- Start (sector) --- End (sector) --- Size --- Code --- Name
1 ----------- 2048 ------------409599------199.0 MiB -EF00 ---EFI System Partition
2 ---------409640---------391034639-----186.3 GiB - AF00 ---MacIntosh HD 1
3----- 391034880 --------392058879------500.0 MiB - 0700
4-----486737768 ---------488007303 -----619.9 MiB - AF00 --Recovery HD
5-----488007680 ---------976080895------232.7 GiB - 0700 --BOOTCAMP
6-----976080896 ---------976183295 ------50.0 MiB - 0C01 --Microsoft reserved part
7-----976183296----------977104895 -----450.0 MiB -2700
8-----392058880----------486735871 ------45.1 GiB - 8E00
It says that there is an MBR (protective)
Can you advise how to continue?
answered Nov 10 '15 at 14:48
BenKitBenKit
112
112
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
add a comment |
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Please see the edit to my original answer.
– Rod Smith
Nov 10 '15 at 17:36
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
Hi Rod, I did not succeed in restoring Windows in the Boot and gave up. Did resize the partitions, to be able to create new windows partition. Installed W10 via BCA. Now I have the old W10 partition, with all my information, still available! Thnx for all the support!
– BenKit
Nov 13 '15 at 11:51
add a comment |
Chances are it's not the renaming of the EFI System Partition (ESP) that's the problem. (I note also that its size has changed slightly -- but again, I don't think that's the issue.) Chances are the installation attempt has wiped out a hybrid MBR upon which Windows was reliant for booting. If so, restoring the hybrid MBR should fix the problem. You can do that with my gdisk
program or with gptsync
(which comes with the old rEFIt, my rEFInd fork of it, and as a standalone program in some Linux distributions). Apple's Disk Utility can also create hybrid MBRs, but I don't know of a way to force it to create one without making other changes to the disk. (Normally it'll do the job when you create a FAT partition, for instance.)
Another possibility is the exact opposite, depending on the nature of the boot problem: It could be that the failed installation, or your attempt to recover from it, has created a hybrid MBR where one had not previously existed. This is a more likely explanation if you installed Windows 10 directly, rather than if you upgraded to Windows 10 from an earlier version.
Unfortunately, Apple's early reliance on hybrid MBRs and subsequent shift away from them has created an environment in which you need to be an expert to recover from problems like yours.
EDIT:
Please don't create multiple answers, or use answers to ask more questions. Instead, edit your question or post follow-up questions as comments to answers. This site sorts answers by votes, so using multiple answers to carry out a conversation quickly becomes very confusing because it becomes impossible to follow the sequence of questions and answers.
Based on your gdisk
output, you've currently got a standard protective MBR, which means a pure-GPT disk (not a hybrid MBR). Thus, you've got conflicting indications -- the efibootmgr
output indicates a probable EFI-mode Windows install (at some point); but if it's not booting with the current partition table, that might hint at a BIOS-mode Windows install (at some point). It's also possible it's always been EFI-mode, but something's trashed the Windows boot loader.
Given that your ESP is now a different size than it had been, my best guess at this point is that you (or the CentOS installer) inappropriately deleted and re-created the ESP, thus destroying the Windows boot loader. If so, then this question and answers may be your best bet for recovery.
EDIT 2:
You can always edit your question if you need to add extensive information.
Also, in all the back-and-forth, I forgot you were dealing with a Mac. It's possible that your ESP retains Windows boot files, but the Mac just isn't displaying them. If so, installing my rEFInd boot manager may restore your ability to boot both OSes. Before you do that, though, you should determine whether there are Windows boot files on your ESP. (I believe that's what you mean by "MBR partition." You have no MBR partitions, since your disk is GPT-only.) Mount it and look for a file called EFI/Microsoft/Boot/bootmgfw.efi
. If it's present, that's your Windows boot loader, and rEFInd should enable you to launch it. If it's absent, then you'll need to follow a Windows recovery procedure to restore it. In fact, you might want to search the ESP for any files with names that end in .efi
; those are EFI boot loaders (and possibly related files, like drivers).
Deleting your ESP will not help, and could make matters worse! At this point, it appears that either files are missing from the ESP or you're lacking the ability to launch files from the ESP. In either case, deleting the ESP will, at best, do no good. If there are relevant files on the ESP, deleting the ESP will just make matters worse.
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
add a comment |
Chances are it's not the renaming of the EFI System Partition (ESP) that's the problem. (I note also that its size has changed slightly -- but again, I don't think that's the issue.) Chances are the installation attempt has wiped out a hybrid MBR upon which Windows was reliant for booting. If so, restoring the hybrid MBR should fix the problem. You can do that with my gdisk
program or with gptsync
(which comes with the old rEFIt, my rEFInd fork of it, and as a standalone program in some Linux distributions). Apple's Disk Utility can also create hybrid MBRs, but I don't know of a way to force it to create one without making other changes to the disk. (Normally it'll do the job when you create a FAT partition, for instance.)
Another possibility is the exact opposite, depending on the nature of the boot problem: It could be that the failed installation, or your attempt to recover from it, has created a hybrid MBR where one had not previously existed. This is a more likely explanation if you installed Windows 10 directly, rather than if you upgraded to Windows 10 from an earlier version.
Unfortunately, Apple's early reliance on hybrid MBRs and subsequent shift away from them has created an environment in which you need to be an expert to recover from problems like yours.
EDIT:
Please don't create multiple answers, or use answers to ask more questions. Instead, edit your question or post follow-up questions as comments to answers. This site sorts answers by votes, so using multiple answers to carry out a conversation quickly becomes very confusing because it becomes impossible to follow the sequence of questions and answers.
Based on your gdisk
output, you've currently got a standard protective MBR, which means a pure-GPT disk (not a hybrid MBR). Thus, you've got conflicting indications -- the efibootmgr
output indicates a probable EFI-mode Windows install (at some point); but if it's not booting with the current partition table, that might hint at a BIOS-mode Windows install (at some point). It's also possible it's always been EFI-mode, but something's trashed the Windows boot loader.
Given that your ESP is now a different size than it had been, my best guess at this point is that you (or the CentOS installer) inappropriately deleted and re-created the ESP, thus destroying the Windows boot loader. If so, then this question and answers may be your best bet for recovery.
EDIT 2:
You can always edit your question if you need to add extensive information.
Also, in all the back-and-forth, I forgot you were dealing with a Mac. It's possible that your ESP retains Windows boot files, but the Mac just isn't displaying them. If so, installing my rEFInd boot manager may restore your ability to boot both OSes. Before you do that, though, you should determine whether there are Windows boot files on your ESP. (I believe that's what you mean by "MBR partition." You have no MBR partitions, since your disk is GPT-only.) Mount it and look for a file called EFI/Microsoft/Boot/bootmgfw.efi
. If it's present, that's your Windows boot loader, and rEFInd should enable you to launch it. If it's absent, then you'll need to follow a Windows recovery procedure to restore it. In fact, you might want to search the ESP for any files with names that end in .efi
; those are EFI boot loaders (and possibly related files, like drivers).
Deleting your ESP will not help, and could make matters worse! At this point, it appears that either files are missing from the ESP or you're lacking the ability to launch files from the ESP. In either case, deleting the ESP will, at best, do no good. If there are relevant files on the ESP, deleting the ESP will just make matters worse.
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
add a comment |
Chances are it's not the renaming of the EFI System Partition (ESP) that's the problem. (I note also that its size has changed slightly -- but again, I don't think that's the issue.) Chances are the installation attempt has wiped out a hybrid MBR upon which Windows was reliant for booting. If so, restoring the hybrid MBR should fix the problem. You can do that with my gdisk
program or with gptsync
(which comes with the old rEFIt, my rEFInd fork of it, and as a standalone program in some Linux distributions). Apple's Disk Utility can also create hybrid MBRs, but I don't know of a way to force it to create one without making other changes to the disk. (Normally it'll do the job when you create a FAT partition, for instance.)
Another possibility is the exact opposite, depending on the nature of the boot problem: It could be that the failed installation, or your attempt to recover from it, has created a hybrid MBR where one had not previously existed. This is a more likely explanation if you installed Windows 10 directly, rather than if you upgraded to Windows 10 from an earlier version.
Unfortunately, Apple's early reliance on hybrid MBRs and subsequent shift away from them has created an environment in which you need to be an expert to recover from problems like yours.
EDIT:
Please don't create multiple answers, or use answers to ask more questions. Instead, edit your question or post follow-up questions as comments to answers. This site sorts answers by votes, so using multiple answers to carry out a conversation quickly becomes very confusing because it becomes impossible to follow the sequence of questions and answers.
Based on your gdisk
output, you've currently got a standard protective MBR, which means a pure-GPT disk (not a hybrid MBR). Thus, you've got conflicting indications -- the efibootmgr
output indicates a probable EFI-mode Windows install (at some point); but if it's not booting with the current partition table, that might hint at a BIOS-mode Windows install (at some point). It's also possible it's always been EFI-mode, but something's trashed the Windows boot loader.
Given that your ESP is now a different size than it had been, my best guess at this point is that you (or the CentOS installer) inappropriately deleted and re-created the ESP, thus destroying the Windows boot loader. If so, then this question and answers may be your best bet for recovery.
EDIT 2:
You can always edit your question if you need to add extensive information.
Also, in all the back-and-forth, I forgot you were dealing with a Mac. It's possible that your ESP retains Windows boot files, but the Mac just isn't displaying them. If so, installing my rEFInd boot manager may restore your ability to boot both OSes. Before you do that, though, you should determine whether there are Windows boot files on your ESP. (I believe that's what you mean by "MBR partition." You have no MBR partitions, since your disk is GPT-only.) Mount it and look for a file called EFI/Microsoft/Boot/bootmgfw.efi
. If it's present, that's your Windows boot loader, and rEFInd should enable you to launch it. If it's absent, then you'll need to follow a Windows recovery procedure to restore it. In fact, you might want to search the ESP for any files with names that end in .efi
; those are EFI boot loaders (and possibly related files, like drivers).
Deleting your ESP will not help, and could make matters worse! At this point, it appears that either files are missing from the ESP or you're lacking the ability to launch files from the ESP. In either case, deleting the ESP will, at best, do no good. If there are relevant files on the ESP, deleting the ESP will just make matters worse.
Chances are it's not the renaming of the EFI System Partition (ESP) that's the problem. (I note also that its size has changed slightly -- but again, I don't think that's the issue.) Chances are the installation attempt has wiped out a hybrid MBR upon which Windows was reliant for booting. If so, restoring the hybrid MBR should fix the problem. You can do that with my gdisk
program or with gptsync
(which comes with the old rEFIt, my rEFInd fork of it, and as a standalone program in some Linux distributions). Apple's Disk Utility can also create hybrid MBRs, but I don't know of a way to force it to create one without making other changes to the disk. (Normally it'll do the job when you create a FAT partition, for instance.)
Another possibility is the exact opposite, depending on the nature of the boot problem: It could be that the failed installation, or your attempt to recover from it, has created a hybrid MBR where one had not previously existed. This is a more likely explanation if you installed Windows 10 directly, rather than if you upgraded to Windows 10 from an earlier version.
Unfortunately, Apple's early reliance on hybrid MBRs and subsequent shift away from them has created an environment in which you need to be an expert to recover from problems like yours.
EDIT:
Please don't create multiple answers, or use answers to ask more questions. Instead, edit your question or post follow-up questions as comments to answers. This site sorts answers by votes, so using multiple answers to carry out a conversation quickly becomes very confusing because it becomes impossible to follow the sequence of questions and answers.
Based on your gdisk
output, you've currently got a standard protective MBR, which means a pure-GPT disk (not a hybrid MBR). Thus, you've got conflicting indications -- the efibootmgr
output indicates a probable EFI-mode Windows install (at some point); but if it's not booting with the current partition table, that might hint at a BIOS-mode Windows install (at some point). It's also possible it's always been EFI-mode, but something's trashed the Windows boot loader.
Given that your ESP is now a different size than it had been, my best guess at this point is that you (or the CentOS installer) inappropriately deleted and re-created the ESP, thus destroying the Windows boot loader. If so, then this question and answers may be your best bet for recovery.
EDIT 2:
You can always edit your question if you need to add extensive information.
Also, in all the back-and-forth, I forgot you were dealing with a Mac. It's possible that your ESP retains Windows boot files, but the Mac just isn't displaying them. If so, installing my rEFInd boot manager may restore your ability to boot both OSes. Before you do that, though, you should determine whether there are Windows boot files on your ESP. (I believe that's what you mean by "MBR partition." You have no MBR partitions, since your disk is GPT-only.) Mount it and look for a file called EFI/Microsoft/Boot/bootmgfw.efi
. If it's present, that's your Windows boot loader, and rEFInd should enable you to launch it. If it's absent, then you'll need to follow a Windows recovery procedure to restore it. In fact, you might want to search the ESP for any files with names that end in .efi
; those are EFI boot loaders (and possibly related files, like drivers).
Deleting your ESP will not help, and could make matters worse! At this point, it appears that either files are missing from the ESP or you're lacking the ability to launch files from the ESP. In either case, deleting the ESP will, at best, do no good. If there are relevant files on the ESP, deleting the ESP will just make matters worse.
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Nov 9 '15 at 23:00
Rod SmithRod Smith
17.4k22043
17.4k22043
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
add a comment |
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Hi Rod, I understand it about the answer and comments only it is impossible to put tables in the comments, that it still will be readable.... About the CentOs destroy I agree with you that it did create a standard 500 MB MBR partition. I searched the Internet to find a solution for this issue and found fixedbyvonnie.com/2013/12/… If this will not help there is nothing left to do than I will erase the MBR partition. Do you agree?
– BenKit
Nov 10 '15 at 18:02
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
Please see my second edit above.
– Rod Smith
Nov 10 '15 at 18:54
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f998289%2fhow-to-fix-efi-boot-on-my-macbook-pro-after-linux-install-crashed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown