0

I was trying to install linux Ubuntu version 12.04 alongside Windows 8 on my Toshiba Satellite but when I restart I can't find the place to switch between the windows and Ubuntu. I have tried using Linux in Oracle Virtualbox and it did well but when I restarted my laptop it didn't show any signs of changing to the Linux OS. the laptop when opened boots direct to windows 8

3 Answers3

0

You didn't tell us if you can boot into Ubuntu or Windows, so I'm considering you can use Ubuntu. Try to be more specific next time.

Boot into Ubuntu. Open a terminal window (Ctrl+Alt+T) and run the following commands:

sudo gedit /etc/default/grub/

Find the two lines that begin with GRUB_HIDDEN and put a # in front of both of them. Find GRUB_TIMEOUT and change its value to 10. Make sure GRUB_DEFAULT is also set to 10. Save the file and exit. Again in the terminal run:

sudo update-grub

Reboot and you should see the GRUB menu. You should be able to select Windows from there.

muru
  • 207,228
Eduardo Cola
  • 5,876
  • 3
  • 20
  • 33
0

If you can't access Windows 8 nor Ubuntu you'll probably need to reinstall the the GRUB bootloader because it it is possible that it has been wiped.

To reinstall GRUB, run the following command:

sudo apt-get install --reinstall $(aptitude search '~i!~M' -F '%p' | grep grub)
John Scott
  • 1,472
wie5Ooma
  • 1,849
0

Based on your comment (that you should add to your question, not as an answer), you can use a live Ubuntu use and boot-repair to fix grub.

First get a live USB drive or DVD (the one you used to install Ubuntu or see this), now boot this and choose try ubuntu.

Press CTRL+ALT+T for a terminal and run these commands to install boot-repair

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

Now run it

boot-repair

Just follow the instructions CAREFULLY and this will repair your boot loader, now reboot and you should see grub.

As your question is a bit unclear and you mention virtualbox, I must point out that a Virtualbox install won't show at boot, you must run it in Virtualbox once the OS has booted.

Boot-repair documentation

Mark Kirby
  • 18,949
  • 19
  • 79
  • 116