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:
- [How to Fix] error: file ‘/boot/grub/i386-pc/normal.mod’ not found
- How to solve the problem of error 15: file not found when Linux starts
- Linux mounting errors (Error mounting /dev/sda8 at /media)
- Win7 and Ubuntu dual system, start error: no such partition grub rescue
- Error 13 when grub starts: solving the problem of invalid or unsupported executable
- Root password of windows 10 WSL Ubuntu system
- Solve the error of dual system installation: the grub-efi-amd64-signed package failed to install into /target/.
- Modify the screen resolution after installing Ubuntu 16.04 (xrandr: Failed to get size of gamma for output default)
- There is a solution to the problem: severity = corrected, type = physical layer, id = 00e5 or id = 00e8 (receiver ID) under Ubuntu
- Solve boot prompt“ error:unknown filesystem Grub rescue “problem
- How to solve the failed to start switch root error during centos8.1 startup?
- [problem solving] Error:failed to get canonical path of /cow
- Solution to UBI partman failed with code 141 when installing Ubuntu
- Mount windows NTFS partition under Linux
- MP-BIOS bug: 8254 timer not connected to IO-APIC
- Solve the problem of “wireless network activation failure” in Ubuntu 18, and repeatedly pop up the password input interface
- Ubuntu (16.04) creates a Windows boot U disk, using woeusb instead of DD
- Ubuntu 12.04 installation and use of airtrack ng tutorial
- Kali linux installation guide