Diff for "Boot-Repair"


Differences between revisions 2 and 70 (spanning 68 versions)
Revision 2 as of 2011-06-02 12:17:53
Size: 3004
Editor: i222-150-207-78
Comment: title
Revision 70 as of 2014-10-25 13:30:33
Size: 4885
Editor: 82-69-29-161
Comment: This tool appears to be sorely out of date, and as a result is highly dangerous.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#title Repair your computer boot with Boot-Repair #title Recover access to your operating systems with Boot-Repair
Line 4: Line 4:
= Introduction = = Warning =

/!\ '''This tool was built for saucy, and does not appear to have been updated since. It does not appear to know much about EFI, and in at least one case has broken initrds that needed dm-crypt.ko support to function. Proceed with extreme caution''' /!\
Line 7: Line 10:
'''Boot-Repair''' is a small graphical tool to repair frequent boot problems : '''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.
Line 9: Line 12:
 * Repair the boot when an OS does not boot any more after installing Ubuntu
 * Repair the boot when access to GRUB and any OS is lost (may be due to a [[https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/441941|Windows software that wrote into the MBR gap]], or a OEM MBR lock),
 * Allow to reinstall [[GRUB]] bootloader easily
 * Allow to restore the original bootsector (MBR) if it has been saved by [[https://launchpad.net/~yannubuntu/+archive/clean-ubiquity|Clean-Ubiquity]]
Do not use it for a system that uses EUFI/SecureBoot! It hasn't been updated to handle that.
Line 14: Line 14:
Boot-Repair is a free software, licenced under GNU-GPL. 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.
Line 16: Line 16:
{{http://pix.toile-libre.org/upload/original/1299426403.png}} Boot-Repair also has advanced options to back up table partitions, back up 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.
Line 18: Line 18:
Boot-Repair is a free software, licensed under GNU-GPL.
Line 19: Line 20:
{{http://pix.toile-libre.org/upload/original/1335260967.png}}
Line 23: Line 25:
== 1st option : get a CD including Boot-Repair == == 1st option : get a disk including Boot-Repair ==
Line 25: Line 27:
 * If the system you want to repair is 32 bits, download and burn a CD of [[http://ubuntuforums.org/showpost.php?p=10084551&postcount=1|Ubuntu Secured]] (32bits)
 * If the system you want to repair is 64 bits, download and burn a CD of [[http://ubuntuforums.org/showpost.php?p=10084551&postcount=1|Ubuntu Secured 64bits]]
The easiest way to use Boot-Repair is to burn one of the following disks and boot on it.
Line 28: Line 29:
Remark : you can also install the ISO on a [[Installation/FromUSBStick|live-USB]].  * [[http://sourceforge.net/p/boot-repair-cd/home|Boot-Repair-Disk]] is a disk starting Boot-Repair automatically.
 * Boot-Repair is also included in [[LinuxSecureRemix|Linux-Secure-Remix]] and various other distributions.

Remark : you can also install the ISO on a [[Installation/FromUSBStick|live-USB]] (eg via [[http://unetbootin.sourceforge.net/|UnetBootin]] or [[http://www.linuxliveusb.com/|LiliUSB]] or [[http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/|Universal USB Installer]]).
Line 32: Line 36:
Either add ‘ppa:yannubuntu/boot-repair’ to your Software Sources via the Software Centre or, for speeds-sake, add it using a new Terminal session: - either from an Ubuntu live-session ([[https://help.ubuntu.com/community/BootFromCD|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)
Line 34: Line 38:
  * sudo add-apt-repository ppa:yannubuntu/boot-repair
  * sudo apt-get update && sudo apt-get install boot-repair-ubuntu
- connect to the Internet
Line 37: Line 40:
- open a new [[Terminal]], then type the following commands (press Enter after each line):
Line 38: Line 42:
Boot-Repair can be installed & used from any Ubuntu session (normal session, or live-CD, or live-USB). {{{
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sed 's/trusty/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
}}}
Line 40: Line 49:
PPA packages are available for Ubuntu 10.04, 10.10 and 11.04. Note: if you are running 14.10 (utopic) you have to replace the second command with the following
{{{
sudo sed 's/utopic/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-utopic.list
}}}
Line 44: Line 57:
 * if you use Gnome (default in Ubuntu 10.10 and previous versions): launch Boot-Repair from System->Administration->Boot-Repair menu
 * if you use Unity (Ubuntu 11.04): search "boot" in the dash.
== 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
Line 47: Line 63:
Then follow the menus...  * 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.
Line 49: Line 65:
Remark : if you want to repair a 64bits system, you need to use Boot-Repair from a 64bits system. Same for 32bits.  * If the repair did not succeed, indicate the URL to people who help you by email or forum.
Line 51: Line 67:
Example : Boot-repair can be used to reinstall [[GRUB2|GRUB]] easily. In the example below the BIOS is set to boot on first hard disk (sda), so the user chooses "Place GRUB into : sda". == Advanced options ==
Line 53: Line 69:
{{http://pix.toile-libre.org/upload/original/1306401412.png}} 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 [[Boot-Info|BootInfo URL]], and asking for advice on Ubuntu Forums [[http://ubuntuforums.org/newthread.php?do=newthread&f=326|Absolute Beginners Section]] or in [[http://ubuntuforums.org/newthread.php?do=newthread&f=333|Installation and Upgrades]].
Line 55: Line 71:
= See Also =
Line 57: Line 72:
 * [[GRUB2]] - Ubuntu bootloader {{http://pix.toile-libre.org/upload/img/1335263156.png}}
{{http://pix.toile-libre.org/upload/img/1335263804.png}}
{{http://pix.toile-libre.org/upload/img/1357337899.png}}
{{http://pix.toile-libre.org/upload/img/1335263417.png}}
{{http://pix.toile-libre.org/upload/img/1357348203.png}}
Line 61: Line 81:
 * [[https://launchpad.net/~yannubuntu/+archive/boot-repair|Official website of Boot-Repair]]
 * [[http://ubuntuforums.org/showpost.php?p=10871917&postcount=1|Topic "Boot-repair: Graphical tool to repair the PC boot in 1 clic !"]] - on Ubuntu forum, for any questions/comments.
 * [[https://sourceforge.net/p/boot-repair/|Official website of Boot-Repair]]
 * [[http://ubuntuforums.org/showthread.php?p=10871917#post10871917|Topic "Boot-repair: Graphical tool to repair the PC boot in 1 click !"]] - on Ubuntu forum, for any questions/comments.
 * [[Boot-Info|HOWTO : easily create a Boot-Info summary]]

Warning

Warning /!\ This tool was built for saucy, and does not appear to have been updated since. It does not appear to know much about EFI, and in at least one case has broken initrds that needed dm-crypt.ko support to function. Proceed with extreme caution Warning /!\

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.

Do not use it for a system that uses EUFI/SecureBoot! It hasn't been updated to handle that.

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 back up table partitions, back up 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.

http://pix.toile-libre.org/upload/original/1335260967.png

Getting Boot-Repair

1st option : get a disk including Boot-Repair

The easiest way to use Boot-Repair is to burn one of the following disks and boot on it.

Remark : you can also install the ISO on a live-USB (eg via UnetBootin or LiliUSB or Universal USB Installer).

2nd option : install Boot-Repair in 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 sed 's/trusty/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)

Note: if you are running 14.10 (utopic) you have to replace the second command with the following

sudo sed 's/utopic/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-utopic.list

Using Boot-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 for advice on Ubuntu Forums Absolute Beginners Section or in Installation and Upgrades.

http://pix.toile-libre.org/upload/img/1335263156.png http://pix.toile-libre.org/upload/img/1335263804.png http://pix.toile-libre.org/upload/img/1357337899.png http://pix.toile-libre.org/upload/img/1335263417.png http://pix.toile-libre.org/upload/img/1357348203.png

External Links

Boot-Repair (last edited 2022-01-18 23:30:53 by yannubuntu)