O'Reilly logo

Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition by Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Restoring the GRUB2 Boot Loader

The easiest way to restore a broken system’s GRUB2 files is simply to replace them. This works with Ubuntu 9.10 or later only and only if the system uses GRUB2 (which it does if it was originally installed using 9.10 or later, but might not if Ubuntu was originally installed using an older Ubuntu release and upgraded as GRUB2 is not automatically installed during release upgrades).

To get started, boot using the live DVD and open a terminal from the menu at Applications, Accessories, Terminal. Then determine which of the hard drive’s partitions holds the Ubuntu installation, which you can discover using the following:

matthew@seymour:~$ sudo fdisk –l

Unless you customized your installation, in which case you probably ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required