电脑装Windows和ubuntu双系统,出现电脑只能进Windows无法进入ubuntu,可参照以下步骤对ubuntu的引导进行修复。
请大家特别注意,在执行
sudo add-apt-repository ppa:yannubuntu/boot-repair
这条添加ppa命令时,之前网上有教程把 ppa:yannubuntu/boot-repair
当中的ubuntu错写成了Ubuntu导致添加失败。
- either from an Ubuntu live-session (boot your computer on a Ubuntu live-CD or live-USB then choose "Try Ubuntu") or from your installed Ubuntu session (if you can access it)
- connect to the Internet
- open a new Terminal, then type the following commands (press Enter after each line):
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && boot-repair