I just installed Ubuntu 16.04 under win7, but after the installation, I couldn't find the entry option for win7 after the computer was restarted.
I searched online, but it didn’t work! It almost reinstalled. Finally found it!
After installing Ubuntu, you can directly enter the Ubuntu system, Ctrl+alt+t enter the terminal, and enter the following command:
sudo gedit /etc/default/grub
Find this line of words in the open gedit editor:
GRUB_DEFAULT=0
Then modify it to:
GRUB_DEFAULT=4
Then update grub:
sudo update-grub
You can see in the terminal:
found win7...
The words of Indicates that win7 boot has been found. You can restart the computer and enter win7
postscript
The above modification means that the boot modification is defaulted to win7. After booting, it will automatically enter the win7 system even if it does not select the win7 system after booting.
The above is the perfect solution for not getting into win7 after installing Ubuntu under win7. I hope it will be helpful to everyone. If you have any questions, please leave me a message. The editor will reply to everyone in time!