install Ubuntu 14.04 Lts and windows7 along , dual boot system

Currenlty, I would like to run the nodejs project. But the virtual manchine on Windows doesn’t work very well. So I decide to install the dual boot systems on my laptop.

On my laptop, I have already install windows 7. So I just need to reserve one partition for ubuntu. How to install ubuntu along with windows can be found on google.com, there are tons of articles introducing about this. But for  Ubuntu 14.04, when selecting the install options, you don’t have the option for grub dule boot system. So I finnished installing the Ubuntu 14.04, I could only boot to Ubuntu, but have no other options to choose during booting.

I searched for a long time, at last I got the answer in the easiest way to solve the problem:

In terminal environment or open the terminal window by ‘Ctrl+Alt+T’ and type in the following command:

sudo update-grub

The explain is:

you install Ubuntu the bootloader in it(Grub2) will replace the default windows bootloader, which cannot detect any other operating systems other than windows. Grub2 will not search for windows automatically, that's why you have to give the command.

See the link here:http://askubuntu.com/questions/589591/problems-installing-and-dual-booting-ubuntu-12-4-13-10-and-14-4-1-via-pendrive/662393#662393

the GRUB configuration file is here:

/etc/default/grub

Use the editor here and then run the command: sudo update-grub

again to make it applicable.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s