Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
Boot-Repair lets you fix these issues with a simple click, which (generally reinstalls GRUB and) restores access to the operating systems you had installed before the issue.
Boot-Repair also has advanced options to backup table partitions, backup bootsectors, create a Boot-Info (to get help by email or forum), or change the default repair parameters: configure GRUB, add kernel options (acpi=off ...), purge GRUB, change the default OS, restore a Windows-compatible MBR, repair a broken filesystem, specify the disk where GRUB should be installed, etc.
Boot-Repair is a free software, licensed under GNU-GPL. Boot-Repair should be soon included in Ubuntu official repositories, until then use it at your own risks.
一、获取 Boot-Repair
第一步 : get a CD including Boot-Repair
The easiest way to use Boot-Repair is to burn one of the following disks and boot on it.
- Boot-Repair-Disk is a CD starting Boot-Repair automatically.
- Boot-Repair is also included in Linux-Secure-Remix.
Remark : you can also install the ISO on a live-USB (eg via UnetBootin or LiliUSB or Universal USB Installer).
第二步 : install Boot-Repair in Ubuntu
- boot your computer on a Ubuntu live-CD or live-USB.
- choose "Try Ubuntu"
- connect internet
- open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
- Press Enter.
- Then type:
sudo apt-get install -y boot-repair && (boot-repair &)
- Press Enter
二、使用Boot-Repair
Recommended repair
- launch Boot-Repair from either :
- the Dash (the Ubuntu logo at the top-left of the screen)
- or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
- or by typing 'boot-repair' in a terminal
- Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.
- If the repair did not succeed, indicate the URL to people who help you by email or forum.
Advanced options
Warning: the default settings are the ones used by the "Recommended Repair". Changing them may worsen your problem. Don't modify them before creating a BootInfo URL, and asking advice on this thread.
三、可能出现的问题及解决办法:
How to fix Duplicate sources.list entry?
How do I fix “E:Type 'b-src' is not known on line 'X' in source list” error?
- 本文固定链接: https://zxbcw.cn/post/1359/
- 转载请注明:必须在正文中标注并保留原文链接
- QQ群: PHP高手阵营官方总群(344148542)
- QQ群: Yii2.0开发(304864863)