1. 首先用另一台电脑从Ubuntu官网上下载.iso文件,注意不要下载到U盘里。
2. 准备一个U盘。下载Rufus软件。按照教程burn the system into the USB
3. Insert the USB into the computer that I want to install Ubuntu. After installing, the shell entered "grub rescue" automatically.
4. Tried https://www.youtube.com/watch?v=J4uK3Nf1g2U&t=229s. Did not work for me. I do not have the i3886-pc folder in my (hd0,msdos6)/boot/grub folder. Tried using boot-repair-disk. Did not work.
5. Finally tried this solution: https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd. In this solution, we need to install Ubuntu live (a.k.a the "Try Ubuntu" option for installing) first, then use the command line in this version of Ubuntu to update grub. All the steps are clearly laid out in the link.
6. Restart the computer and Ubuntu is able to boot successfully.
在一整天的煎熬后,这是最好的解决方法。