Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Question concerning EFI booting on MacOS
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
So I got a new computer, a MacBook Pro 2016. Since I only had one of those usb-usb-c cable I decided to use another UEFI based computer to install Ubuntu (I originally wanted Debian). I managed to install Ubuntu on an external hardrive with this another computer with this layout:
I then installed refind on my macbook pro and plugged the hardrive in. Refind or (option at boot) doesn't detect my drive boot but it detects the live boot usb that I used.
How do I fix this? Do I have to rename some files? Also, why does grub work with Apple's SPI keyboard but ubuntu doesn't? Why does it recognize the live boot EFI but not ubuntu's EFI?
I don't want to use macOS for certain reasons.
EFI 200mbI have 900 gigs left. I also installed the necessary drivers for the mac.
boot 200mb
root 15000mb
home 50000mb
I then installed refind on my macbook pro and plugged the hardrive in. Refind or (option at boot) doesn't detect my drive boot but it detects the live boot usb that I used.
How do I fix this? Do I have to rename some files? Also, why does grub work with Apple's SPI keyboard but ubuntu doesn't? Why does it recognize the live boot EFI but not ubuntu's EFI?
I don't want to use macOS for certain reasons.
Last edited by Blaze349 (July 31, 2017 21:41:37)
- bobbybee
-
1000+ posts
Question concerning EFI booting on MacOS
You may need to the hard drive. I don't remember the details exactly.
bless
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
It works when I boot on an HP laptop but not on my macbook You may need tothe hard drive. I don't remember the details exactly.bless
- Jonathan50
-
1000+ posts
Question concerning EFI booting on MacOS
I think Blaze349 already got into GRUB from the OP You may need tothe hard drive. I don't remember the details exactly.bless
Last edited by Jonathan50 (Aug. 1, 2017 01:49:10)
- DatOneLefty
-
1000+ posts
Question concerning EFI booting on MacOS
Reinstall grub, idk. I messed up with my server and just reinstalled ubuntu server again (in leik 3 minutes start to finish xD)
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
I don't think that's the problem…I want to know why I can use any other non-apple computer to boot into it but it doesn't work with reFIND. Reinstall grub, idk. I messed up with my server and just reinstalled ubuntu server again (in leik 3 minutes start to finish xD)
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Ok I think this is the problem. Apparently my macbook only recognizes the bootloader if it is formatted as HFS+. I'm going to try this but I'm worried as the other computers I want to use with this hard-drive (at different locations) may not be able to boot HFS+. 

- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Didn't work. Instead I managed to delete my EFI partition (it refused to format it correctly). I'm reinstalling Ubuntu.
- Jonathan50
-
1000+ posts
Question concerning EFI booting on MacOS
But how did GRUB work with your keyboard if the keyboard if the macbook didn't recognize the bootloader? Ok I think this is the problem. Apparently my macbook only recognizes the bootloader if it is formatted as HFS+. I'm going to try this but I'm worried as the other computers I want to use with this hard-drive (at different locations) may not be able to boot HFS+.

- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Grub on the live usb works with my keyboardBut how did GRUB work with your keyboard if the keyboard if the macbook didn't recognize the bootloader? Ok I think this is the problem. Apparently my macbook only recognizes the bootloader if it is formatted as HFS+. I'm going to try this but I'm worried as the other computers I want to use with this hard-drive (at different locations) may not be able to boot HFS+.
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
I'm following this guide: http://www.rodsbooks.com/ubuntu-efi/
I've installed Super Grub 2 to a usb however when I boot into it, it just goes to grub-rescue rather than what is shown on EFI.
I've installed Super Grub 2 to a usb however when I boot into it, it just goes to grub-rescue rather than what is shown on EFI.
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Ok, I've managed to enter Ubuntu using Super Grub 2. It is now booting (though it is rather slow). I still haven't installed the drivers and haven't got an external keyboard with me at the moment.
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Ok, I need to stop prefixing my sentences with ok. But seriously, why does GRUB work with Apple's SPI keyboard but Ubuntu doesn't?
- bobbybee
-
1000+ posts
Question concerning EFI booting on MacOS
I imagine GRUB uses the (proprietary) EFI firmware to handle keyboard input, whereas Linux uses native drivers (or lack thereof). Ok, I need to stop prefixing my sentences with ok. But seriously, why does GRUB work with Apple's SPI keyboard but Ubuntu doesn't?
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
Oh. Is there a way for me to install the drivers from macOS. I have two usb-C slots on this computer. One is for Super Grub and the other is for Ubuntu. I will use Super Grub to fix the Ubuntu installation. So is there a way for me to install this from macOS?I imagine GRUB uses the (proprietary) EFI firmware to handle keyboard input, whereas Linux uses native drivers (or lack thereof). Ok, I need to stop prefixing my sentences with ok. But seriously, why does GRUB work with Apple's SPI keyboard but Ubuntu doesn't?
- Jonathan50
-
1000+ posts
Question concerning EFI booting on MacOS
this from macOS?Oh. Is there a way for me to install the drivers from macOS. I have two usb-C slots on this computer. One is for Super Grub and the other is for Ubuntu. I will use Super Grub to fix the Ubuntu installation. So is there a way for me to install Nope, the macOS drivers will be kext files that don't work with Linux. You'll need to find Linux drivers (I misinterpreted your first sentence)
If you have another keyboard then you can build the drivers on the macbook if they aren't in the Ubuntu repositories.
Last edited by Jonathan50 (Aug. 13, 2017 07:24:34)
- Jonathan50
-
1000+ posts
Question concerning EFI booting on MacOS
You might be able to cross compile the kernel module on macOS if you install a cross-compiler from macOS to Linux and you install the Linux kernel headers on your macOS.
But if you can get a deb from the Ubuntu website you can extract it (Using 7-Zip?) on macOS and then put the files into your Ubuntu partition.
But if you can get a deb from the Ubuntu website you can extract it (Using 7-Zip?) on macOS and then put the files into your Ubuntu partition.
Last edited by Jonathan50 (Aug. 13, 2017 07:34:31)
- Blaze349
-
1000+ posts
Question concerning EFI booting on MacOS
I'm confused. I'll just use another computer to install the drivers.this from macOS?Oh. Is there a way for me to install the drivers from macOS. I have two usb-C slots on this computer. One is for Super Grub and the other is for Ubuntu. I will use Super Grub to fix the Ubuntu installation. So is there a way for me to install Nope, the macOS drivers will be kext files that don't work with Linux. You'll need to find Linux drivers (I misinterpreted your first sentence)
If you have another keyboard then you can build the drivers on the macbook if they aren't in the Ubuntu repositories.
- Jonathan50
-
1000+ posts
Question concerning EFI booting on MacOS
I meant get another keyboard, then boot into Ubuntu and install the drivers for your macbook's keyboard from there I'm confused. I'll just use another computer to install the drivers.

- Discussion Forums
- » Advanced Topics
-
» Question concerning EFI booting on MacOS