Cannot install Ubuntu 17.10 on MBP 9,2 (boot problems)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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:
- 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. - 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:
- 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. - 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.
- EFI boot (with a CD icon): same as the first option, this shows me
error: file '/boot/' not found
.
- 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,
- 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. - 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
 |Â
show 2 more comments
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:
- 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. - 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:
- 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. - 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.
- EFI boot (with a CD icon): same as the first option, this shows me
error: file '/boot/' not found
.
- 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,
- 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. - 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
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
 |Â
show 2 more comments
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:
- 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. - 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:
- 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. - 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.
- EFI boot (with a CD icon): same as the first option, this shows me
error: file '/boot/' not found
.
- 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,
- 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. - 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
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:
- 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. - 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:
- 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. - 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.
- EFI boot (with a CD icon): same as the first option, this shows me
error: file '/boot/' not found
.
- 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,
- 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. - 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
boot mac macbook-pro
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
 |Â
show 2 more comments
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
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
Below is the sequence of steps needed install Ubuntu on your Mac.
- Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.
- After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.
- Boot to Ubuntu Live.
- From the Desktop, press the control+option+T keys to open a Terminal window.
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.
From the output of the
sudo fdisk -l /dev/sda
command, determine the device for theEFI System
partition. For me, this was/dev/sda1
. If you determine a different device, make the appropriate substitutions.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
exitShutdown Ubuntu live.
Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.
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.
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
add a comment |Â
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.
- Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.
- After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.
- Boot to Ubuntu Live.
- From the Desktop, press the control+option+T keys to open a Terminal window.
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.
From the output of the
sudo fdisk -l /dev/sda
command, determine the device for theEFI System
partition. For me, this was/dev/sda1
. If you determine a different device, make the appropriate substitutions.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
exitShutdown Ubuntu live.
Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.
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.
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
add a comment |Â
up vote
0
down vote
Below is the sequence of steps needed install Ubuntu on your Mac.
- Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.
- After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.
- Boot to Ubuntu Live.
- From the Desktop, press the control+option+T keys to open a Terminal window.
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.
From the output of the
sudo fdisk -l /dev/sda
command, determine the device for theEFI System
partition. For me, this was/dev/sda1
. If you determine a different device, make the appropriate substitutions.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
exitShutdown Ubuntu live.
Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.
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.
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
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Below is the sequence of steps needed install Ubuntu on your Mac.
- Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.
- After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.
- Boot to Ubuntu Live.
- From the Desktop, press the control+option+T keys to open a Terminal window.
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.
From the output of the
sudo fdisk -l /dev/sda
command, determine the device for theEFI System
partition. For me, this was/dev/sda1
. If you determine a different device, make the appropriate substitutions.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
exitShutdown Ubuntu live.
Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.
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.
Below is the sequence of steps needed install Ubuntu on your Mac.
- Install Ubuntu for EFI booting. You should boot the installer from a USB flash drive.
- After you are finished installing Ubuntu, you will not be able to boot Ubuntu from your internal drive. The remaining steps correct this problem.
- Boot to Ubuntu Live.
- From the Desktop, press the control+option+T keys to open a Terminal window.
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.
From the output of the
sudo fdisk -l /dev/sda
command, determine the device for theEFI System
partition. For me, this was/dev/sda1
. If you determine a different device, make the appropriate substitutions.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
exitShutdown Ubuntu live.
Startup the Mac and immediately hold down the option key until the Startup Manager icons appear.
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.
edited Feb 6 at 11:12
answered Feb 6 at 10:55
![](https://i.stack.imgur.com/jsfa8.png?s=32&g=1)
![](https://i.stack.imgur.com/jsfa8.png?s=32&g=1)
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
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