Cannot install Ubuntu 17.10 on MBP 9,2 (boot problems)

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








up vote
1
down vote

favorite












My problem is a bit hard to formulate, therefore the vague title. Basically, I can't get Ubuntu to boot from my Macbook Pro, but I'm completely unsure where this problem comes from.



To give a little bit of backstory: I had macOS and Arch dual-booting on my machine for a year or so now and after an update, Arch stopped working (vmlinuz-linux timed out). Tried looking into the drive from macOS, but macOS didn't start too (displayed a prohibitory sign on startup). I felt that fixing this issue would take a loong time and I'd be better off just installing Ubuntu for now. Huh.



So I installed Ubuntu 17.10 via a USB stick, following Canonical tutorials like this one. Needless to say, my computer did not boot, showing a flashing folder with a question mark instead (after showing a white screen for about 30 seconds - normally it only needs about 10 seconds to boot). People say this means that the computer does not know where to boot from. I looked into the interwebs and found different suggestions:



  1. Boot in BIOS/legacy mode (1st try): To do this, I created a new msdos partition table with gparted (in Ubuntu Live from USB) for my SSD, created a 1MiB FAT32 partition, enabled the boot flag for it and rebooted (based on a comment found here). Another install of Ubuntu changed the partition table back to GPT, however, and added a EFI partition. Also, it still didn't boot.

  2. Boot in BIOS/legacy mode (2nd try): I burned a DVD with Ubuntu on it, then booted into the boot menu (not sure if this is how it's called, I held down the Alt key during startup) and on the first try, I saw three alternatives:

    1. EFI boot (with a harddrive icon): does not always show up (pattern seems to be that it only shows up after resetting the NVRAM when I didn't use it before), but when it does and I choose it, error: file '/boot/' not found appears.

    2. Windows (with a CD icon): when I choose this, I hear the DVD spinning faster, the display might change in brightness and turn black (or not) and a blinking underline-type cursor might appear (or not), but then the DVD stops spinning and nothing happens.

    3. EFI boot (with a CD icon): same as the first option, this shows me error: file '/boot/' not found.


  3. Install Debian: Did this, seemed like it installed itself in BIOS/legacy mode, as Disk Utility in recovery mode showed that the file system is 'Master Boot Record' and Ubuntu warned me upon installation that there is an OS in BIOS/legacy mode installed already. Upon startup, the flashing folder icon appears and when I boot with the Alt key held down, then urgh... last time the error message error: file '/boot/' not found appeared, now the flashing folder icon.

  4. Start recovery mode and select 'Startup Disk' / reinstall macOS: Booted into recovery mode through the Internet, but neither the 'Startup Disk'-program nor the macOS installer found my hard drive. Note, however, that Ubuntu has no problem to find my hard drive when it is booted in Live mode. I also ran the 'Disk Utility' program, but it could not repair the disk and frequently stops showing the disk in the left panel.

Do you know anything I could do to fix this?



Also, just to add confusion: The computer did successfully boot into Debian and Ubuntu once and then never again. Couldn't reproduce anything (what I tried was resetting the NVRAM and entering recovery mode to select my hard drive as start disk).



I went to a apple store and they told me that the thing they‘d try is replacing the SSD cable. Can a broken SSD cable cause such weird problems? By the way, I ran badblocks from Ubuntu and it found no problems.










share|improve this question























  • Does your Mac have a working DVD drive? If so, why did you not try this drive?
    – David Anderson
    Jan 28 at 12:30










  • My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
    – sammecs
    Jan 28 at 17:45










  • @DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
    – sammecs
    Jan 29 at 9:18










  • You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
    – David Anderson
    Feb 4 at 14:22










  • Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
    – sammecs
    Feb 6 at 10:04














up vote
1
down vote

favorite












My problem is a bit hard to formulate, therefore the vague title. Basically, I can't get Ubuntu to boot from my Macbook Pro, but I'm completely unsure where this problem comes from.



To give a little bit of backstory: I had macOS and Arch dual-booting on my machine for a year or so now and after an update, Arch stopped working (vmlinuz-linux timed out). Tried looking into the drive from macOS, but macOS didn't start too (displayed a prohibitory sign on startup). I felt that fixing this issue would take a loong time and I'd be better off just installing Ubuntu for now. Huh.



So I installed Ubuntu 17.10 via a USB stick, following Canonical tutorials like this one. Needless to say, my computer did not boot, showing a flashing folder with a question mark instead (after showing a white screen for about 30 seconds - normally it only needs about 10 seconds to boot). People say this means that the computer does not know where to boot from. I looked into the interwebs and found different suggestions:



  1. Boot in BIOS/legacy mode (1st try): To do this, I created a new msdos partition table with gparted (in Ubuntu Live from USB) for my SSD, created a 1MiB FAT32 partition, enabled the boot flag for it and rebooted (based on a comment found here). Another install of Ubuntu changed the partition table back to GPT, however, and added a EFI partition. Also, it still didn't boot.

  2. Boot in BIOS/legacy mode (2nd try): I burned a DVD with Ubuntu on it, then booted into the boot menu (not sure if this is how it's called, I held down the Alt key during startup) and on the first try, I saw three alternatives:

    1. EFI boot (with a harddrive icon): does not always show up (pattern seems to be that it only shows up after resetting the NVRAM when I didn't use it before), but when it does and I choose it, error: file '/boot/' not found appears.

    2. Windows (with a CD icon): when I choose this, I hear the DVD spinning faster, the display might change in brightness and turn black (or not) and a blinking underline-type cursor might appear (or not), but then the DVD stops spinning and nothing happens.

    3. EFI boot (with a CD icon): same as the first option, this shows me error: file '/boot/' not found.


  3. Install Debian: Did this, seemed like it installed itself in BIOS/legacy mode, as Disk Utility in recovery mode showed that the file system is 'Master Boot Record' and Ubuntu warned me upon installation that there is an OS in BIOS/legacy mode installed already. Upon startup, the flashing folder icon appears and when I boot with the Alt key held down, then urgh... last time the error message error: file '/boot/' not found appeared, now the flashing folder icon.

  4. Start recovery mode and select 'Startup Disk' / reinstall macOS: Booted into recovery mode through the Internet, but neither the 'Startup Disk'-program nor the macOS installer found my hard drive. Note, however, that Ubuntu has no problem to find my hard drive when it is booted in Live mode. I also ran the 'Disk Utility' program, but it could not repair the disk and frequently stops showing the disk in the left panel.

Do you know anything I could do to fix this?



Also, just to add confusion: The computer did successfully boot into Debian and Ubuntu once and then never again. Couldn't reproduce anything (what I tried was resetting the NVRAM and entering recovery mode to select my hard drive as start disk).



I went to a apple store and they told me that the thing they‘d try is replacing the SSD cable. Can a broken SSD cable cause such weird problems? By the way, I ran badblocks from Ubuntu and it found no problems.










share|improve this question























  • Does your Mac have a working DVD drive? If so, why did you not try this drive?
    – David Anderson
    Jan 28 at 12:30










  • My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
    – sammecs
    Jan 28 at 17:45










  • @DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
    – sammecs
    Jan 29 at 9:18










  • You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
    – David Anderson
    Feb 4 at 14:22










  • Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
    – sammecs
    Feb 6 at 10:04












up vote
1
down vote

favorite









up vote
1
down vote

favorite











My problem is a bit hard to formulate, therefore the vague title. Basically, I can't get Ubuntu to boot from my Macbook Pro, but I'm completely unsure where this problem comes from.



To give a little bit of backstory: I had macOS and Arch dual-booting on my machine for a year or so now and after an update, Arch stopped working (vmlinuz-linux timed out). Tried looking into the drive from macOS, but macOS didn't start too (displayed a prohibitory sign on startup). I felt that fixing this issue would take a loong time and I'd be better off just installing Ubuntu for now. Huh.



So I installed Ubuntu 17.10 via a USB stick, following Canonical tutorials like this one. Needless to say, my computer did not boot, showing a flashing folder with a question mark instead (after showing a white screen for about 30 seconds - normally it only needs about 10 seconds to boot). People say this means that the computer does not know where to boot from. I looked into the interwebs and found different suggestions:



  1. Boot in BIOS/legacy mode (1st try): To do this, I created a new msdos partition table with gparted (in Ubuntu Live from USB) for my SSD, created a 1MiB FAT32 partition, enabled the boot flag for it and rebooted (based on a comment found here). Another install of Ubuntu changed the partition table back to GPT, however, and added a EFI partition. Also, it still didn't boot.

  2. Boot in BIOS/legacy mode (2nd try): I burned a DVD with Ubuntu on it, then booted into the boot menu (not sure if this is how it's called, I held down the Alt key during startup) and on the first try, I saw three alternatives:

    1. EFI boot (with a harddrive icon): does not always show up (pattern seems to be that it only shows up after resetting the NVRAM when I didn't use it before), but when it does and I choose it, error: file '/boot/' not found appears.

    2. Windows (with a CD icon): when I choose this, I hear the DVD spinning faster, the display might change in brightness and turn black (or not) and a blinking underline-type cursor might appear (or not), but then the DVD stops spinning and nothing happens.

    3. EFI boot (with a CD icon): same as the first option, this shows me error: file '/boot/' not found.


  3. Install Debian: Did this, seemed like it installed itself in BIOS/legacy mode, as Disk Utility in recovery mode showed that the file system is 'Master Boot Record' and Ubuntu warned me upon installation that there is an OS in BIOS/legacy mode installed already. Upon startup, the flashing folder icon appears and when I boot with the Alt key held down, then urgh... last time the error message error: file '/boot/' not found appeared, now the flashing folder icon.

  4. Start recovery mode and select 'Startup Disk' / reinstall macOS: Booted into recovery mode through the Internet, but neither the 'Startup Disk'-program nor the macOS installer found my hard drive. Note, however, that Ubuntu has no problem to find my hard drive when it is booted in Live mode. I also ran the 'Disk Utility' program, but it could not repair the disk and frequently stops showing the disk in the left panel.

Do you know anything I could do to fix this?



Also, just to add confusion: The computer did successfully boot into Debian and Ubuntu once and then never again. Couldn't reproduce anything (what I tried was resetting the NVRAM and entering recovery mode to select my hard drive as start disk).



I went to a apple store and they told me that the thing they‘d try is replacing the SSD cable. Can a broken SSD cable cause such weird problems? By the way, I ran badblocks from Ubuntu and it found no problems.










share|improve this question















My problem is a bit hard to formulate, therefore the vague title. Basically, I can't get Ubuntu to boot from my Macbook Pro, but I'm completely unsure where this problem comes from.



To give a little bit of backstory: I had macOS and Arch dual-booting on my machine for a year or so now and after an update, Arch stopped working (vmlinuz-linux timed out). Tried looking into the drive from macOS, but macOS didn't start too (displayed a prohibitory sign on startup). I felt that fixing this issue would take a loong time and I'd be better off just installing Ubuntu for now. Huh.



So I installed Ubuntu 17.10 via a USB stick, following Canonical tutorials like this one. Needless to say, my computer did not boot, showing a flashing folder with a question mark instead (after showing a white screen for about 30 seconds - normally it only needs about 10 seconds to boot). People say this means that the computer does not know where to boot from. I looked into the interwebs and found different suggestions:



  1. Boot in BIOS/legacy mode (1st try): To do this, I created a new msdos partition table with gparted (in Ubuntu Live from USB) for my SSD, created a 1MiB FAT32 partition, enabled the boot flag for it and rebooted (based on a comment found here). Another install of Ubuntu changed the partition table back to GPT, however, and added a EFI partition. Also, it still didn't boot.

  2. Boot in BIOS/legacy mode (2nd try): I burned a DVD with Ubuntu on it, then booted into the boot menu (not sure if this is how it's called, I held down the Alt key during startup) and on the first try, I saw three alternatives:

    1. EFI boot (with a harddrive icon): does not always show up (pattern seems to be that it only shows up after resetting the NVRAM when I didn't use it before), but when it does and I choose it, error: file '/boot/' not found appears.

    2. Windows (with a CD icon): when I choose this, I hear the DVD spinning faster, the display might change in brightness and turn black (or not) and a blinking underline-type cursor might appear (or not), but then the DVD stops spinning and nothing happens.

    3. EFI boot (with a CD icon): same as the first option, this shows me error: file '/boot/' not found.


  3. Install Debian: Did this, seemed like it installed itself in BIOS/legacy mode, as Disk Utility in recovery mode showed that the file system is 'Master Boot Record' and Ubuntu warned me upon installation that there is an OS in BIOS/legacy mode installed already. Upon startup, the flashing folder icon appears and when I boot with the Alt key held down, then urgh... last time the error message error: file '/boot/' not found appeared, now the flashing folder icon.

  4. Start recovery mode and select 'Startup Disk' / reinstall macOS: Booted into recovery mode through the Internet, but neither the 'Startup Disk'-program nor the macOS installer found my hard drive. Note, however, that Ubuntu has no problem to find my hard drive when it is booted in Live mode. I also ran the 'Disk Utility' program, but it could not repair the disk and frequently stops showing the disk in the left panel.

Do you know anything I could do to fix this?



Also, just to add confusion: The computer did successfully boot into Debian and Ubuntu once and then never again. Couldn't reproduce anything (what I tried was resetting the NVRAM and entering recovery mode to select my hard drive as start disk).



I went to a apple store and they told me that the thing they‘d try is replacing the SSD cable. Can a broken SSD cable cause such weird problems? By the way, I ran badblocks from Ubuntu and it found no problems.







boot mac macbook-pro






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 7 at 20:03

























asked Jan 27 at 23:12









sammecs

63




63











  • Does your Mac have a working DVD drive? If so, why did you not try this drive?
    – David Anderson
    Jan 28 at 12:30










  • My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
    – sammecs
    Jan 28 at 17:45










  • @DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
    – sammecs
    Jan 29 at 9:18










  • You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
    – David Anderson
    Feb 4 at 14:22










  • Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
    – sammecs
    Feb 6 at 10:04
















  • Does your Mac have a working DVD drive? If so, why did you not try this drive?
    – David Anderson
    Jan 28 at 12:30










  • My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
    – sammecs
    Jan 28 at 17:45










  • @DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
    – sammecs
    Jan 29 at 9:18










  • You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
    – David Anderson
    Feb 4 at 14:22










  • Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
    – sammecs
    Feb 6 at 10:04















Does your Mac have a working DVD drive? If so, why did you not try this drive?
– David Anderson
Jan 28 at 12:30




Does your Mac have a working DVD drive? If so, why did you not try this drive?
– David Anderson
Jan 28 at 12:30












My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
– sammecs
Jan 28 at 17:45




My Mac does have a DVD drive, wasn't able to burn a DVD from live Ubuntu (couldn't install brasero). I might try this later today, though.
– sammecs
Jan 28 at 17:45












@DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
– sammecs
Jan 29 at 9:18




@DavidAnderson Updated my description; I wasn't able to start Ubuntu from the DVD
– sammecs
Jan 29 at 9:18












You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
– David Anderson
Feb 4 at 14:22




You should use a USB flash drive to install Ubuntu. You should install using EFI mode. If you successfully install Ubuntu, you should NOT expect to be able to boot Ubuntu. You need to make additional modifications in order to get Ubuntu to boot. I hope this helps. BTW, what version of macOS (OS X) do you have installed?
– David Anderson
Feb 4 at 14:22












Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
– sammecs
Feb 6 at 10:04




Did use flash drive and EFI mode for all other attempts, booting from BIOD mode failed. I don’t currently have macOS installed, but Snow Leopard is the OS the MBP shipped with. Followed instructions given here, but failed to find a partition with ‘ls (...)/boot/grub’ as described there.
– sammecs
Feb 6 at 10:04










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Below is the sequence of steps needed install Ubuntu on your Mac.



  1. Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.

  2. After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.

  3. Boot to Ubuntu Live.

  4. From the Desktop, press the control+option+T keys to open a Terminal window.


  5. Enter the command shown below.



    sudo fdisk -l /dev/sda


    Below is the output I saw from entering this command. (This image is from a Ubuntu Desktop 16.04.3 Live boot)




    Note: For a better view, click on the image or open the image in a new window.




    j0



  6. From the output of the sudo fdisk -l /dev/sda command, determine the device for the EFI System partition. For me, this was /dev/sda1. If you determine a different device, make the appropriate substitutions.



  7. Enter the commands given below to make Ubuntu appear in the Startup Manager.



    sudo bash
    mkdir efi
    mount /dev/sda1 efi
    cd efi/EFI
    mkdir BOOT
    cp ubuntu/grubx64.efi BOOT/bootx64.efi
    cd ~
    umount efi
    rmdir efi
    exit
    exit


  8. Shutdown Ubuntu live.


  9. Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.


  10. Click on the hard disk icon labeled "EFI Boot". Next, while holding down the control key, click on the circular arrow below this icon.


You are finished. Your Mac will now automatically boot to Ubuntu on startup and restart.






share|improve this answer






















  • This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
    – sammecs
    Feb 7 at 19:43










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000521%2fcannot-install-ubuntu-17-10-on-mbp-9-2-boot-problems%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Below is the sequence of steps needed install Ubuntu on your Mac.



  1. Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.

  2. After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.

  3. Boot to Ubuntu Live.

  4. From the Desktop, press the control+option+T keys to open a Terminal window.


  5. Enter the command shown below.



    sudo fdisk -l /dev/sda


    Below is the output I saw from entering this command. (This image is from a Ubuntu Desktop 16.04.3 Live boot)




    Note: For a better view, click on the image or open the image in a new window.




    j0



  6. From the output of the sudo fdisk -l /dev/sda command, determine the device for the EFI System partition. For me, this was /dev/sda1. If you determine a different device, make the appropriate substitutions.



  7. Enter the commands given below to make Ubuntu appear in the Startup Manager.



    sudo bash
    mkdir efi
    mount /dev/sda1 efi
    cd efi/EFI
    mkdir BOOT
    cp ubuntu/grubx64.efi BOOT/bootx64.efi
    cd ~
    umount efi
    rmdir efi
    exit
    exit


  8. Shutdown Ubuntu live.


  9. Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.


  10. Click on the hard disk icon labeled "EFI Boot". Next, while holding down the control key, click on the circular arrow below this icon.


You are finished. Your Mac will now automatically boot to Ubuntu on startup and restart.






share|improve this answer






















  • This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
    – sammecs
    Feb 7 at 19:43














up vote
0
down vote













Below is the sequence of steps needed install Ubuntu on your Mac.



  1. Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.

  2. After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.

  3. Boot to Ubuntu Live.

  4. From the Desktop, press the control+option+T keys to open a Terminal window.


  5. Enter the command shown below.



    sudo fdisk -l /dev/sda


    Below is the output I saw from entering this command. (This image is from a Ubuntu Desktop 16.04.3 Live boot)




    Note: For a better view, click on the image or open the image in a new window.




    j0



  6. From the output of the sudo fdisk -l /dev/sda command, determine the device for the EFI System partition. For me, this was /dev/sda1. If you determine a different device, make the appropriate substitutions.



  7. Enter the commands given below to make Ubuntu appear in the Startup Manager.



    sudo bash
    mkdir efi
    mount /dev/sda1 efi
    cd efi/EFI
    mkdir BOOT
    cp ubuntu/grubx64.efi BOOT/bootx64.efi
    cd ~
    umount efi
    rmdir efi
    exit
    exit


  8. Shutdown Ubuntu live.


  9. Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.


  10. Click on the hard disk icon labeled "EFI Boot". Next, while holding down the control key, click on the circular arrow below this icon.


You are finished. Your Mac will now automatically boot to Ubuntu on startup and restart.






share|improve this answer






















  • This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
    – sammecs
    Feb 7 at 19:43












up vote
0
down vote










up vote
0
down vote









Below is the sequence of steps needed install Ubuntu on your Mac.



  1. Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.

  2. After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.

  3. Boot to Ubuntu Live.

  4. From the Desktop, press the control+option+T keys to open a Terminal window.


  5. Enter the command shown below.



    sudo fdisk -l /dev/sda


    Below is the output I saw from entering this command. (This image is from a Ubuntu Desktop 16.04.3 Live boot)




    Note: For a better view, click on the image or open the image in a new window.




    j0



  6. From the output of the sudo fdisk -l /dev/sda command, determine the device for the EFI System partition. For me, this was /dev/sda1. If you determine a different device, make the appropriate substitutions.



  7. Enter the commands given below to make Ubuntu appear in the Startup Manager.



    sudo bash
    mkdir efi
    mount /dev/sda1 efi
    cd efi/EFI
    mkdir BOOT
    cp ubuntu/grubx64.efi BOOT/bootx64.efi
    cd ~
    umount efi
    rmdir efi
    exit
    exit


  8. Shutdown Ubuntu live.


  9. Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.


  10. Click on the hard disk icon labeled "EFI Boot". Next, while holding down the control key, click on the circular arrow below this icon.


You are finished. Your Mac will now automatically boot to Ubuntu on startup and restart.






share|improve this answer














Below is the sequence of steps needed install Ubuntu on your Mac.



  1. Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.

  2. After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.

  3. Boot to Ubuntu Live.

  4. From the Desktop, press the control+option+T keys to open a Terminal window.


  5. Enter the command shown below.



    sudo fdisk -l /dev/sda


    Below is the output I saw from entering this command. (This image is from a Ubuntu Desktop 16.04.3 Live boot)




    Note: For a better view, click on the image or open the image in a new window.




    j0



  6. From the output of the sudo fdisk -l /dev/sda command, determine the device for the EFI System partition. For me, this was /dev/sda1. If you determine a different device, make the appropriate substitutions.



  7. Enter the commands given below to make Ubuntu appear in the Startup Manager.



    sudo bash
    mkdir efi
    mount /dev/sda1 efi
    cd efi/EFI
    mkdir BOOT
    cp ubuntu/grubx64.efi BOOT/bootx64.efi
    cd ~
    umount efi
    rmdir efi
    exit
    exit


  8. Shutdown Ubuntu live.


  9. Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.


  10. Click on the hard disk icon labeled "EFI Boot". Next, while holding down the control key, click on the circular arrow below this icon.


You are finished. Your Mac will now automatically boot to Ubuntu on startup and restart.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 6 at 11:12

























answered Feb 6 at 10:55









David Anderson

47627




47627











  • This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
    – sammecs
    Feb 7 at 19:43
















  • This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
    – sammecs
    Feb 7 at 19:43















This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
– sammecs
Feb 7 at 19:43




This actually kind-of worked for the first boot, it showed me a Ubuntu-colored screen. On the second boot, a kernel panic. On the third boot, it didn’t find the OS.
– sammecs
Feb 7 at 19:43

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000521%2fcannot-install-ubuntu-17-10-on-mbp-9-2-boot-problems%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491