I am a dual system installed with UEFI+GPT. Computer: Lenovo R720 System: Windows10 +Ubuntu16.04
After installing Ubuntu16.04, Win10 from the GRUB menu was somehow missing. (If you don’t even have GRUB on display, click on Windows 10 to install Ubuntu.)
Goal: Access Win10 from Ubuntu GRUB.
Implementation:
The terminal executes the following commands in turn
After installing Ubuntu16.04, Win10 from the GRUB menu was somehow missing. (If you don’t even have GRUB on display, click on Windows 10 to install Ubuntu.)
Goal: Access Win10 from Ubuntu GRUB.
Implementation:
The terminal executes the following commands in turn
sudo grub-install /dev/sda
sudo chmod -x /etc/grub.d/30_os-prober
sudo gedit /etc/grub.d/40_custom
Enter the following in the 40_custom file that opens:
menuentry 'Win10' {
insmod part_gpt
insmod chain
insmod ntfs
set root='(hd0,gpt1)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
The terminal continues to execute sudo update-grub
The file /boot/grub/grub.cfg has been changed.
After rebooting, the Win10 option appears in the GRUB menu.
More:
If need to modify the order of the grub or modify grub background:
this is grub Customizer installation method: https://www.tuziang.com/combat/635.html
Read More:
- Solution: the dual system uses grub to make windows the preferred startup option
- Win7 and Ubuntu dual system, start error: no such partition grub rescue
- Solve the error of dual system installation: the grub-efi-amd64-signed package failed to install into /target/.
- Ubuntu 18.04/ubuntu 16.04 (Ubuntu kylin 18 / 16), the last grub installation failed
- Windows 10 startup item repair an operating system was’t found solution
- Synergy Protocol error from Server && dual system shared mouse and keyboard solution
- Root password of windows 10 WSL Ubuntu system
- Solution to “the grub PC ‘package failed to install into / target / when installing Ubuntu server
- Modify grub to solve computer startup error: error 17
- Windows 10 startup item repair an operating system wasn’t found
- Windows 10 upgrade 1803 failed because of dual hard disk!!
- Error messages of copying files to Linux system by PSCP in Windows operating system
- Solution of visdom startup failure in Windows 10
- After installing the dual system , Code error
- Perfect solution to raise runtimeerror (“distributed package doesn’t have nccl”) in Windows system“
- Hololens2 reported an error. Microsoft.windows.system is missing
- Solution: pairing Bluetooth devices with win10 and Linux dual systems
- Solution of grub loading error 17
- Solution to display CPU over voltage error when Windows system starts
- Restart and shutdown of Ubuntu system in the terminal