If the Ubuntu system Grub fails, the first thing many people think of is to reinstall Grub, which wastes a lot of time. In fact, it can completely repair Grub to solve the fault on Grub, and can retain the original settings to minimize the impact.
how
Ubuntu system repair Grub
1. find a way into the Ubuntu Live CD system, or other newer versions of the Live CD system.
2. Open the terminal, type sudo fdisk -l, view the partition with ID=83, and record sd[NUM], such as sda8.
3. If there are multiple partitions with ID=83 in the previous step, I will try to determine the partition number where the partition is located, and /boot is also mounted on the same partition as the /partition, for example, sda8 .
4. Enter sudo -i and get root privileges.
5.mkdir /media/tmp.
6. Mount the /partition to the newly created directory mount /dev/sda8 /media/tmp.
7. If the previous system /boot is mounted separately, you need to find the /boot partition such as sda7, then mount /dev/sda7 /media/tmp/boot. Otherwise this step jumps directly.
8. Next, prepare to install grub, terminal input: grub-install --root-directory=/media/tmp /dev/sda.
9. If you see information such as Installation finished, no error occured, it indicates that it has been successful.
10. At this point, restart the system, you should be able to see the original grub2 boot interface back, and if there are other systems, it will also display the list of startup items
PS: If step10 If you don't see your Windows 8 startup item, after the Ubuntu is started normally, the terminal enters sudo update-grub2. After that, you should wait for a moment and you can see that the Windows 8 startup items are also added to the list.
Follow the steps above to fix Grub on Ubuntu system. You will find it easier and faster than reinstalling Grub. Of course, if you want to fix Grub boot, you can also refer to: How to fix Grub boot under Ubuntu.
The latest Windows 10 system, in addition to adding a new virtual desktop and task manager interface
1, open your Internet browser 2, open nternet browser options 3, in the connection internet prope
Win10 9926 interface style has changed greatly, even the start menu has become very
1, the main reason that iTunes can not be successfully installed is: iTunes version number and the n
How to add personal documents to the Win10 system desktop?
Win7 upgrade Win10 prompt "Microsoft compatibility detection patch is not installed" how to solve?
Win10 clicks on the resource manager unresponsive response
Win10 System Edge browser font blur how to do
Entering a key does not activate the system when upgrading Win10
Windows10 system update graphics driver method
Win10 installs Office error "0x80070BC9" solution
How can I solve the problem that Win10 system cannot install KB3124200?
How to use the virtual keyboard to input emoji expressions under the Win10 system
Win10 Change Mouse Pointer Tutorial
Win10 new folder stuck how to do win10 new folder crash solution
User Experience Win10 Preview Edition 10049: Tunbao
Win7 computer desktop icons are gone, how to do
How to install VPN in CentOS system
Win10 latest KMS client activation key and how to use it
Windows 2000 Advanced Server Dcpromo Command
How does the win10 system turn off driver updates? Win10 turn off the driver update method
What should I do if the Win7 system has a "Not a valid Win32 application" prompt?
Win7 system web video can not see the solution