Thursday, August 9, 2018

grub2 - How do I choose the OS to boot?




I had windows 7 on my hard drive, then I installed Ubuntu 14.04 to dual boot (I have several partitions and ubuntu is working fine). But I don't know how to switch between the two in boot time. I read a menu for me to choose should appear at boot time, but it justs boots up to ubuntu without asking me...
I know I didn't wipe my hard drive by accident because I can see my windows files from ubuntu.



So how do I switch between the two? Is there a button I should press or a setting I should turn on?




You could try this to see if it helps.
It could be that the GRUB timeout is 0 seconds so you don't see it at all.



Open up a terminal or type in the dash:



sudo -H gedit /etc/default/grub


You will be prompted to type your password and after that a text file will open inside the terminal.




Try changing:



GRUB_TIMEOUT=0



to



GRUB_TIMEOUT=X (however many seconds you want)



then save the file and exit. Now the GRUB menu should appear when you boot it up.




If that's not the problem, you could try Boot Repair




No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...