Create bootable hfs+ partition for macbook

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















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:



  1. HFS+

  2. EFI on /boot/efi

  3. BTRFS on /

  4. 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?










share|improve this question

















  • 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












  • 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
















1















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:



  1. HFS+

  2. EFI on /boot/efi

  3. BTRFS on /

  4. 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?










share|improve this question

















  • 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












  • 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














1












1








1








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:



  1. HFS+

  2. EFI on /boot/efi

  3. BTRFS on /

  4. 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?










share|improve this question














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:



  1. HFS+

  2. EFI on /boot/efi

  3. BTRFS on /

  4. 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+






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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













  • 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












  • 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











1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer
























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer





























      0














      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.






      share|improve this answer



























        0












        0








        0







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 12 '14 at 12:13









        Anthon

        60.7k17102166




        60.7k17102166










        answered Dec 12 '14 at 9:26









        AndrewAndrew

        1




        1



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay