Create bootable hfs+ partition for macbook
I've installed Debian testing on a Macbook Pro (mid 2014) without keeping OS X on the internal SSD. I've used the following GPT partition layout:
- HFS+
- EFI on /boot/efi
- BTRFS on /
- SWAP on swap
I've heard that the Apple implementation of UEFI is different and only boots from a HFS+ partition instead of the default FAT32 partition, so i decided to create a HFS+ partition. The Debian installer automatically installed Grub 2 to the EFI partition, when i manually issue grub-install to the HFS+ partition, grub-install fails. I'm a bit in the dark about how Fedora/Ubuntu solves this problem, those distributions create a HFS+ partition and get it to boot after the install.
I'd like to avoid using refind because i'm not using OS X anymore. I do however have OS X installed on a SD card.
How can i get my laptop to boot Debian directly without using refind?
debian boot osx uefi hfs+
add a comment |
I've installed Debian testing on a Macbook Pro (mid 2014) without keeping OS X on the internal SSD. I've used the following GPT partition layout:
- HFS+
- EFI on /boot/efi
- BTRFS on /
- SWAP on swap
I've heard that the Apple implementation of UEFI is different and only boots from a HFS+ partition instead of the default FAT32 partition, so i decided to create a HFS+ partition. The Debian installer automatically installed Grub 2 to the EFI partition, when i manually issue grub-install to the HFS+ partition, grub-install fails. I'm a bit in the dark about how Fedora/Ubuntu solves this problem, those distributions create a HFS+ partition and get it to boot after the install.
I'd like to avoid using refind because i'm not using OS X anymore. I do however have OS X installed on a SD card.
How can i get my laptop to boot Debian directly without using refind?
debian boot osx uefi hfs+
2
Apple should support a FAT32/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message fromgrub-install
?
– garethTheRed
Aug 13 '14 at 7:15
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26
add a comment |
I've installed Debian testing on a Macbook Pro (mid 2014) without keeping OS X on the internal SSD. I've used the following GPT partition layout:
- HFS+
- EFI on /boot/efi
- BTRFS on /
- SWAP on swap
I've heard that the Apple implementation of UEFI is different and only boots from a HFS+ partition instead of the default FAT32 partition, so i decided to create a HFS+ partition. The Debian installer automatically installed Grub 2 to the EFI partition, when i manually issue grub-install to the HFS+ partition, grub-install fails. I'm a bit in the dark about how Fedora/Ubuntu solves this problem, those distributions create a HFS+ partition and get it to boot after the install.
I'd like to avoid using refind because i'm not using OS X anymore. I do however have OS X installed on a SD card.
How can i get my laptop to boot Debian directly without using refind?
debian boot osx uefi hfs+
I've installed Debian testing on a Macbook Pro (mid 2014) without keeping OS X on the internal SSD. I've used the following GPT partition layout:
- HFS+
- EFI on /boot/efi
- BTRFS on /
- SWAP on swap
I've heard that the Apple implementation of UEFI is different and only boots from a HFS+ partition instead of the default FAT32 partition, so i decided to create a HFS+ partition. The Debian installer automatically installed Grub 2 to the EFI partition, when i manually issue grub-install to the HFS+ partition, grub-install fails. I'm a bit in the dark about how Fedora/Ubuntu solves this problem, those distributions create a HFS+ partition and get it to boot after the install.
I'd like to avoid using refind because i'm not using OS X anymore. I do however have OS X installed on a SD card.
How can i get my laptop to boot Debian directly without using refind?
debian boot osx uefi hfs+
debian boot osx uefi hfs+
asked Aug 13 '14 at 6:33
Peter VerbruggePeter Verbrugge
366
366
2
Apple should support a FAT32/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message fromgrub-install
?
– garethTheRed
Aug 13 '14 at 7:15
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26
add a comment |
2
Apple should support a FAT32/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message fromgrub-install
?
– garethTheRed
Aug 13 '14 at 7:15
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26
2
2
Apple should support a FAT32
/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message from grub-install
?– garethTheRed
Aug 13 '14 at 7:15
Apple should support a FAT32
/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message from grub-install
?– garethTheRed
Aug 13 '14 at 7:15
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26
add a comment |
1 Answer
1
active
oldest
votes
Would you mind expanding on how you "using OS X recovery to bless the grubx64.efi file"?
I booted from an OS X installation SD card, started a terminal but was not able to mount the fat32 EFI partition. I tried mount -t exfat /dev/disk1s1 /Volumes/xxx
but it came back saying "Invalid argument". I also tried -t msdos
to no avail.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f150008%2fcreate-bootable-hfs-partition-for-macbook%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Would you mind expanding on how you "using OS X recovery to bless the grubx64.efi file"?
I booted from an OS X installation SD card, started a terminal but was not able to mount the fat32 EFI partition. I tried mount -t exfat /dev/disk1s1 /Volumes/xxx
but it came back saying "Invalid argument". I also tried -t msdos
to no avail.
add a comment |
Would you mind expanding on how you "using OS X recovery to bless the grubx64.efi file"?
I booted from an OS X installation SD card, started a terminal but was not able to mount the fat32 EFI partition. I tried mount -t exfat /dev/disk1s1 /Volumes/xxx
but it came back saying "Invalid argument". I also tried -t msdos
to no avail.
add a comment |
Would you mind expanding on how you "using OS X recovery to bless the grubx64.efi file"?
I booted from an OS X installation SD card, started a terminal but was not able to mount the fat32 EFI partition. I tried mount -t exfat /dev/disk1s1 /Volumes/xxx
but it came back saying "Invalid argument". I also tried -t msdos
to no avail.
Would you mind expanding on how you "using OS X recovery to bless the grubx64.efi file"?
I booted from an OS X installation SD card, started a terminal but was not able to mount the fat32 EFI partition. I tried mount -t exfat /dev/disk1s1 /Volumes/xxx
but it came back saying "Invalid argument". I also tried -t msdos
to no avail.
edited Dec 12 '14 at 12:13
Anthon
60.6k17102165
60.6k17102165
answered Dec 12 '14 at 9:26
AndrewAndrew
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f150008%2fcreate-bootable-hfs-partition-for-macbook%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
2
Apple should support a FAT32
/boot/efi
partition as it's mandatory according to the spec. The spec doesn't ban the use of any other filesystem which is why Apple use HFS+. Anyway, can you expand your post with the error message fromgrub-install
?– garethTheRed
Aug 13 '14 at 7:15
Inspired by your comment i reinstalled debian without a HFS+ partition with just a fat32 EFI partition. After a normal install and then using OS X recovery to bless the grubx64.efi file it worked. weird that it didn't the last time. still, thanks for your help.
– Peter Verbrugge
Aug 14 '14 at 6:26