Reverting to GRUB Legacy

转载 2012年03月24日 03:12:27

If a user chooses to return to GRUB legacy (0.97), these steps will remove GRUB 2 and install GRUB.

The command line produces a cleaner uninstall and reinstallation. While adding and removing the packages can be accomplished with Synaptic, certain steps must be accomplished in a terminal.

  1. Open a terminal: Applications, Accessories, Terminal.
  2. Optional: Make backup copies of the main GRUB 2 directories and files.
    • sudo cp /etc/default/grub /etc/default/grub.old

    • sudo cp -R /etc/grub.d /etc/grub.d.old

    • sudo cp -R /boot/grub /boot/grub.old

  3. Remove GRUB 2
    • sudo apt-get purge grub-pc

    • important.png The system will be unbootable until another bootloader is installed.

    • Once the packages are removed, many files will still remain in '/boot/grub'
  4. Install GRUB 0.97
    • sudo apt-get install grub

  5. With grub installed, the user must still create the menu.lst and stage1/stage2 files by running the following two commands.

    1. sudo grub-install /dev/sdX

      • Choose the correct device (sda, sdb, etc), normally the one on which Ubuntu is installed.
      • Creates the stage1 and stage2 files in /boot/grub and writes to the MBR.

    2. sudo update-grub

      • Generates menu.lst

      • Tab to "Yes" when prompted.
  6. Reboot

相关文章推荐 was modified manually! Reverting to generated version!(R文件丢失异常原因汇总)

引言: R文件丢失异常在java开发中是个比较常见的异常,造成这个异常的原因可能非常微小,但是给Android开发者们造成的麻烦可是巨大的,当程序员们费尽千辛万苦,找到自己错在哪里的时候,绝对会对自...
  • zhufuing
  • zhufuing
  • 2014年03月28日 14:35
  • 70627

cl : Command line warning D9028 : minimal rebuild failure, reverting to normal build stdafx.cpp :

编译程序时,出现错误提示: cl : Command line warning D9028 : minimal rebuild failure, reverting to normal bu...
  • lwbkfc
  • lwbkfc
  • 2012年10月02日 00:07
  • 1989

芒果iOS开发之ReactiveCocoa:Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configure

【主要内容:】 1. 错误起因 2. 错误提示 3. 解决问题办法 一、错误起因: 项目在Xcode8中使用了ReactiveCoco...

Android Studio 从svn导入项目 Warning:Unable to find optional library: org.apache.http.legacy

最近把项目从Eclipse迁移到Android Studio,遇到如题的问题: Warning:Unable to find optional library: org.apache.http.le...

【行为分析】(四)Introduce to ga.js(Legacy)

ga.js is a JavaScript library for measuring how users interact with your website. This is a legacy l...

Android stuido 错误:Error:Unable to find optional library: org.apache.http.legacy


Introduction to Ext 2.0 (Chinese) (Legacy)

本教程适用于Ext 2.0的版本,而版本1.x仍可找到。 无论你是Ext库的新手,抑或是想了解Ext的人,本篇文章的内容都适合你。本文将简单地介绍Ext的几个基本概念,和如何快速地做出一个动态的...

Eclipse OS X Yosemite 提示– To open“Eclipse” you need to install the legacy Java SE 6 runtime的解决办法

最近我将笔记本更换成了Macbook Pro,它默认自带的系统是OS X Yosemite 10.10.1。安装了JDK 1.8之后,我的Android IDE(Eclipse and Android...

How to Fix Grub Loading Error

What's GRUB? GRUB stands for GRand Unified Bootloader, which is invoked by BIOS to load multiple ke...


  • 2011年03月24日 13:20
  • 185KB
  • 下载
您举报文章:Reverting to GRUB Legacy