This is probably simple to explain/resolve but I need help with dual booting.
I have win7 installed. I just installed Ubuntu. Before the Ubuntu installation, I took the necessary steps. Such as create new partition, assign for storage space and also swap space. Once, I started installation everything went smoothly. However, after confirming "no" to import settings from win7 to Ubuntu (such as mozilla firefox settings etc. for users) I restarted the computer to complete the install.
Naturally, in a dual boot situation the PC displays which system to start (win7 or Ubuntu). I don't get this screen. It just boots directly to Ubuntu. I need to be able to choose either win7 or Ubuntu.
Any help is appreciated, thank you.
I know my win7 loader is in dev/sda1 and I think that I also updated the grub…PLEASE HELP
Best Answer
You need to set timer in grub so when it loads you can choose which OS to boot. To do so follow this steps
sudo gedit /etc/default/grub
GRUB_TIMEOUT
and set the value 10 for example. So it will look like thisGRUB_TIMEOUT="10"
GRUB_HIDDEN_TIMEOUT=0
. To comment a line you should add # at the begging. So it will look like this#GRUB_HIDDEN_TIMEOUT=0
sudo update-grub
Now you should be able to see boot menu where is your Ubuntu and Windows listed.In order to reinstall grub we are going to use tool called Boot-repair Actual quote from Ubuntu community wiki
To repair GRUB follow these steps:
boot your computer on a Ubuntu live-CD or live-USB.
choose "Try Ubuntu"
connect internet
open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Press Enter.
Then type:
sudo apt-get install -y boot-repair && boot-repair
Press Enter
Using Boot-Repair
Recommended repair
Hope this help to restore access to your systems.