ydbldg
Last Updated: February 25, 2016
·
18.16K
· lmcooper
Picture0507131846 1

Installing Ubuntu 13.xx alongside Windows 8 (UEFI)

Installing Linux is a little trickier with Windows 8 now that Microsoft has implemented the UEFI system, instead of the BIOS system. I hope this guide will help at least some people out, because I would hate for people to be forced into Windows just because of UEFI and secure boot! The horror.

I'm using a Toshiba Satellite P75 A7200, and some of the guides I've read left out information that I needed for my specific computer, so I might be including extras that you might not need for your computer. The two main things I had to do that most guides didn't include were:

--Add in a fix to the script at the GRUB screen during installation; this was due to a hanging black screen at startup.

--I had to manually partition the hard drive, because the Ubuntu installer didn't recognize that Windows 8 was already on the computer.

OK, so here's how you do it. I'm assuming you already have a LiveUSB or LiveCD made with an ISO image.

1.) Start Windows 8 and navigate to the Disk Manager. Right-click the largest/main partition and click "Shrink volume." I typed in 15000. I guess that is a good solid number. That's all you have to do in Windows. I used this video to partition the disk:
http://www.youtube.com/watch?v=wNCSbTyUzoM

2.) You will have to make sure you boot the USB instead of just booting back into Windows. To do this, go to the right-hand sidebar, click on PC Settings at the bottom, go to General, and scroll down "Advanced Startup." Click on this, then go to Troubleshooting>Advanced>UEFI Firmware Settings. This will restart your computer at the BIOS screen. Insert your LIVEUSB or LiveCD.

3.) On the BIOS screen, disable Secure Boot. I don't know if it matters since Ubuntu supposedly supports Secure Boot now, but I did this anyway. You don't have to change to CMS Legacy Boot. Also, change the boot order so the USB or CD boots first. Then press F10 to save and continue.

4.) Hopefully now you will get to the GRUB screen. You can either try Ubuntu or just install it if you are feeling daring, but before I did this I had to press 'e' and then revise the script. Before "quiet splash," I included "acpi _ osi=Linux acpi _ backlight=vendor". Then it should load without issue into the Ubuntu GUI.

5.) While installing, if the installer doesn't recognize the existing Windows OS, you will have to select the "Something else" option and manually partition. In the end, Windows 8 will still be there, so don't worry. Select the partition you created and within it create a swap partition at about 10% of the size of the partition itself. The video I linked above explains this much better than I can. Then complete the installation.

6.) If you try to reboot the computer and it loads onto a black screen again, don't fear. Restart the computer using the LiveCD and install boot-repair from the LiveCD:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

sudo apt-get install boot-repair

In boot-repair, just click on the "Recommended" button and let it do its work. It will fix the GRUB screen so you can see Ubuntu and Windows, although Windows is named something weird in the menu, it still works. Restart the computer.

7.) You should see the GRUB screen. Select Ubuntu and press 'e'. Repeat step 4 so you can get into Ubuntu. To fix the black screen problem permanently, edit this line in /etc/default/grub:

GRUB _ CMDLINE _ LINUX _ DEFAULT="acpi _ osi=Linux acpi _ backlight=vendor quiet splash"

Then in a terminal, do "sudo update-grub" and restart.

Everything should work successfully! If not, keep trying! Mandelbaum! Mandelbaum! Mandelbaum!

Sources:
http://askubuntu.com/questions/319390/display-issue-on-toshiba-satellite-p75-a7200

http://askubuntu.com/questions/340223/ubuntu-13-04-on-uefi-system-hangs-at-black-screen

http://www.youtube.com/watch?v=wNCSbTyUzoM

Say Thanks
Respond

10 Responses
Add your response

9060
C360 2013 03 31 15 24 04

I once had a same situation with Toshiba Satellite while installing ubuntu 12.04.
done similar works, but don't had to edit the grub

over 1 year ago ·
9066
Picture0507131846 1

Yeah, might have been my specific model. Strangely, I had to edit the grub on my Acer too, back when I was dual booting with Windows 7...but not when updating/switching distros etc.

over 1 year ago ·
10635

I was pulling my hair out in regards to the black screen. Thanks so much!

over 1 year ago ·
10896
Image normal

Thanks it works. Just a few notes:
- didn't have to edit the GRUB script;
- when install Ubuntu make sure you boot from /sda2/EFI (or similar);
- when executing boot-repair make sure to check EFI option, so use the advanced option.

over 1 year ago ·
11780
0 8lxtpsftkz5ubbtxgcnyp4m3k9 nubhxctropjyy7kbqk1c02iqsjmotyriw4k3pt66xyyuzx1bq

Laura, what did you do with the function key mapping?

over 1 year ago ·
13233
Default profile 6 normal

Lenovo G505 amd e1 2100, thank you sooo much, youŕe a lifesaver ;)

over 1 year ago ·
17091
Default profile 3 normal

This Beta version of Ubuntu 14.10 is better than the LTS 14.04 for some reasons. For example, I was unable to go past a black screen while installing Ubuntu on Toshiba P75 A7100.

Laura you have explained it nicely however point 4 was to technical for me.

I could not include "acpi _ osi=Linux acpi _ backlight=vendor" in 14.04 LTS so while using Rufus I used the nightly build (29/09/14) version of 14.10 as the LiveUSB & it booted to GUI, & installed flawlessly.

So for me 14.10 is already better than LTS 14.04.
:)

over 1 year ago ·
17092
Default profile 3 normal

This Beta version of Ubuntu 14.10 is better than the LTS 14.04 for some reasons. For example, I was unable to go past a black screen while installing Ubuntu on Toshiba P75 A7100.

Laura you have explained it nicely however point 4 was to technical for me.

I could not include "acpi _ osi=Linux acpi _ backlight=vendor" in 14.04 LTS so while using Rufus I used the nightly build (29/09/14) version of 14.10 as the LiveUSB & it booted to GUI, & installed flawlessly.

So for me 14.10 is already better than LTS 14.04.
:)

over 1 year ago ·
17093
Default profile 3 normal

This Beta version of Ubuntu 14.10 is better than the LTS 14.04 for some reasons. For example, I was unable to go past a black screen while installing Ubuntu on Toshiba P75 A7100.

Laura you have explained it nicely however point 4 was to technical for me.

I could not include "acpi _ osi=Linux acpi _ backlight=vendor" in 14.04 LTS so while using Rufus I used the nightly build (29/09/14) version of 14.10 as the LiveUSB & it booted to GUI, & installed flawlessly.

So for me 14.10 is already better than LTS 14.04.
:)

over 1 year ago ·
17111
Default profile 3 normal

And Laura with the Beta of 14.10 there was no need to edit GRUB.

over 1 year ago ·
Filed Under