Unable to enter Ubuntu solution after reloading windows
1 to start with the Ubuntu installation CD, select the "Try without installation" option, usually the first
2 enters the system, enters the console interface and enters sudo su to switch to root permissions
3 Input Fdisk-l View the partition of the hard disk, mainly understand the partition where the Linux partition is located, my machine does not have the boot partition, all subsequent steps have no MNT boot partition
4 Enter the following command, note that the following/dev/sda7 is the partition where my Linux resides.
Mount/dev/sda7/mnt
Mount--bind/dev/mnt/dev
Mount--bind/proc/mnt/proc
chroot/mnt
Not surprisingly, it's now in your Ubuntu.
5 Enter the following command
sudo grub-install/dev/sda
sudo update-grub
The reboot will go into Ubuntu, but without the boot menu let me choose
6 after entering Ubuntu, re-execute sudo update-grub, reboot again, finally see the Boot menu, choose Windows Normal Access. This solves the problem of not getting into Ubuntu after reloading windows.