Because the Windows Startup manager cannot identify the linux system, installing the linux system first and then Windows 7 will cause the problem of linux Startup failure. After trying for a long time tonight, I finally helped my colleagues solve the problem that once plagued me. The solution is as follows: 1. Start livecd with the CD for Ubuntu installation (that is, try Ubuntu) 2. Open the terminal and enter the sudo-ifdisk-l command (note the letter l, not number 1) 3. Check the terminal information and remember
Because the Windows Startup manager cannot identify the linux system, installing the linux system first and then Windows 7 will cause the problem of linux Startup failure.
After trying for a long time tonight, I finally helped my colleagues solve the problem that once plagued me.
The solution is as follows:
1. Start live cd with a cd for Ubuntu installation (that is, try Ubuntu)
2. Open the terminal and enter the command
Sudo-I
Fdisk-l (note that it is the letter l, not the number 1)
3. Check the terminal information and remember the partition where your Ubuntu system is installed (if there is a root partition, record it ).
4. If your Ubuntu/partition is sda7 and the/boot partition is sda6, enter
Mount/dev/sda7/mnt
Mount/dev/sda6/mnt/boot (skip this step if no/boot partition is available)
Grub-install -- root-directory =/mnt // dev/sda
Exit
Restart
The grub option may appear after restart, and the problem is fixed. You don't need to check the following.
Or
Grub>
Not moving after
Enter the command
Kernel/boot/grub/core. img
Boot
Then you can start the Ubuntu system.
After entering the Ubuntu system and connecting to the Internet, go to the Neide Software Package (system-management-Neide software package) and mark the installation of grub-pc
Next, open the terminal
Sudo-I
Update-grub2
OK!