问题
grub无法加载Ubuntu,并引发错误 symbol 'grub_term_highlight_color' not found
抛出了错误 failed to get canonical path of /cow
。
现在,我正试图安装Boot-Repair来修复这个问题,
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
但是,在添加和更新存储库之后,它显示ppa:yannubuntu/boot-repair
404 not Found错误。
W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
答案1
解决方法:安装旧版本软件包 要在Ubuntu中安装boot-repair
,在终端上运行以下命令:
sudo add-apt-repository ppa:yannubuntu/boot-repair
codename="$(lsb_release -cs)"
sudo sh -c"sed -i 's/$codename/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-$codename.list"
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
答案2
你必须手动安装三个.deb软件包:glade2script,boot-sav, boot-repair,然后引导修复。
相关文章