`
samwong
  • 浏览: 286922 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

grub4dos 教程

 
阅读更多

http://www.themudcrab.com/acronis_grub4dos.php


Introduction

Grub4DOS is a boot manager that can be easily installed to a flashdrive or hard drive (internal or external). It allows booting multiple operating systems directly as well as booting into bootable partitions.

For the purpose of this guide, Grub4DOS will be used to setup a flashdrive to boot the Acronis Resuce Media. This can be done by booting to the partition on the flashdrive (as setup by the Acronis Media Builder program) or by directly booting the Acronis ISO file. When you use the ISO method, you can put as many Acronis ISO images as required on the same flashdrive. This allows you to easily be able to boot into True Image Home 9, 10, 11, 2009, Echo Workstation, etc. by just selecting the desired menu entry.

It is highly recommended that you read through the entire instructions before you begin this procedure.
Either of these methods work equally well on flashdrives. However, if using a USB hard drive or internal drive, the ISO method is strongly recommended. This is because you can't use the Acronis Media Builder program to properly create a bootable partition on a non-flashdrive device (it must be prepared manually).

If you are not setting up a flashdrive, use any references to flashdrives in the instructions as references to your destination drive. For example: You can setup Grub4DOS on a secondary internal drive and then boot into it by using your BIOS's boot menu and selecting to boot that drive. This allows easy access to your recovery media without needing to plug in another drive or insert a CD.

While it is always recommended to have backups of any important data before making any changes to your drives, installing Grub4DOS is not a destructive procedure. Existing partitions and data on the destination drive should not be erased or corrupted in any way.

Section 1 - Installing Grub4DOS

Before Grub4DOS can be installed, several files need to be downloaded and unzipped. One is the Grub4DOS program and the other is the Installer. Click on the links below to download the files. Save them to a known location (My Downloads, for example) so they're easy to find.

For those interested, more information on Grub4Dos can be found at the following locations:
Grub4Dos Main Page
Grub4Dos Downloads Page (check here for updated downloads)
Grub4Dos Tutorial
Grub4Dos Guide (hosted by boot-land.net)
Grub4Dos GUI Installer Downloads

Extract the downloaded zip files into separate folders. For example, you may unzip Grub4DOS to C:\Grub4DOS and the Installer to C:\Grub4DOS-Installer. You may also choose to unzip them into a folder named after the zip file's name.

Click here if you need help using Windows to extract the contents of a zip file.

If your flashdrive is not already plugged into the computer, plug it in now.

The next step is to run the Grub4DOS Installer on the flashdrive. Browse to the Installer's unzipped folder using Windows Explorer.

1.1

In Windows XP, just run the grubinst_gui.exe program.

In Vista, you'll need to run grubinst_gui.exe in Administrator mode. Right-click on the program file and select Run as administrator from the pop-up menu.

1.2

You may get a security pop-up window asking if you want to run the program. Select Run to start the program.

1.3

In Vista, if you have UAC turned on (the default setting), you'll get another warning. Select Allow to let the program start.

1.4

Once the program is started, select the Disk option, then click the Disk Refresh button and then select your flashdrive from the dropdown box.

1.5

You should be able to tell which disk is your flashdrive by the size shown for each drive. In this example, my 8GB flashdrive is easy to pick out.

1.6
IMPORTANT: Make sure you select your flashdrive from the dropdown list and not a different drive (if installing to a USB hard drive or an internal drive, make sure it's the correct one). If you accidentally select the wrong drive, you may not be able to boot your system without doing a boot repair.

Now click the Part List Refresh button, then the dropdown box and finally select the Whole disk (MBR) option.

1.7

Check the Don't search floppy option, leave all the other options unchecked and cleared and then click the Install button to install Grub4DOS to the MBR of the flashdrive.

1.8

Hopefully, you'll get the message that the installation was successful.

1.9

Press Enter to close the Command Prompt window. The Grub4DOS MBR and booting code is now installed on the flashdrive.

The next step is to copy the grldr file to the flashdrive's root folder. Using Windows Explorer, browse to the folder where you unzipped the Grub4DOS program and copy the file to the flashdrive.

1.10

Grub4DOS is now installed on the flashdrive. Depending on how you want to boot your flashdrive to the Acronis Media, select one of the Sections below to continue.

Section 2 - Setup Booting of an Acronis Partition
This method will not work properly with devices other than flashdrives unless special steps are done to create a bootable partition on the device. If you are trying to create a bootable USB hard drive or an internal drive for your Acronis Media, the ISO method (Section 3) is strongly recommended.

Using this method, Grub4DOS just boots to the boot sector of the partition on the flashdrive to start the Acronis Media. This is very similar to using a standard bootable flashdrive. You can only have one version/build of your Acronis Media on the flashdrive.

Please note that if the flashdrive's partition table or structure is non-standard, the Acronis Media may have a problem booting using this method just as it would using a non-Grub4DOS MBR.

There are only two steps needed to use your Grub4DOS flashdrive in this fashion.

First, run the Acronis Media Builder on the flashdrive as you normally would. This will install the proper boot sector code to the partition and copy all necessary files to the flashdrive.

Second, create the Grub4DOS menu.lst file with the entry to start the Acronis Media. The menu.lst file is a plain text file created using the Windows Notepad program. (Please note that the filename is MENU.LST. In the extension, it's a lower-case L, not a one.) This file must be located in the root folder of the flashdrive. Start the Notepad program and type (or copy and paste) in the following text:

timeout 10
default 0

title Acronis True Image Home 2009 (9,615)
chainloader (hd0,0)+1

title CommandLine
commandline

title Reboot
reboot

title Halt
halt
2.1
In this example, I've used Acronis True Image Home 2009 (9,615) as the menu entry's title for the Acronis Media. Feel free to use whatever name you want.

Save the file to the root folder of the flashdrive with the name: menu.lst

If Notepad appends a ".txt" to the filename, just rename the file to menu.lst using Windows Explorer.
If you have the Windows Explorer option set to hide filename extensions for known file types, you may need to disable it. Otherwise, explorer may display menu.lst when the actual filename is menu.lst.txt. Click here for instructions.
2.2

A sample menu.lst file can be downloaded below. If you use it, make sure to rename it to menu.lst once it's on the flashdrive.

To update this flashdrive to a different version or build of the Acronis Media, just rerun the Media Builder program on the flashdrive. No other changes are needed unless you want to edit the title in the menu.lst file to reflect the change.

Section 3 - Setup Booting of an Acronis ISO File

The ability to boot ISO files directly is one of the newer features of Grub4DOS. It is still a work in progress and has problems with some types of ISO files. However, in my use and testing, it hasn't had any problems with the Acronis ISO files.

The flexibility allowed by being able to boot the ISO file directly makes keeping multiple versions and/or different builds on the same flashdrive an easy task. Adding them is as simple as putting the ISO file on the flashdrive and adding the menu entry to boot it.

As with the partition method, there are only two steps needed to use your Grub4DOS flashdrive in this fashion.

First, run the Acronis Media Builder. However, instead of specifying the flashdrive as the destination device, select to create an ISO file. You can save the ISO file directly to the flashdrive if you wish.

Second, create the Grub4DOS menu.lst file with the entry to start the Acronis Media. The menu.lst file is a plain text file created using the Windows Notepad program. (Please note that the filename is MENU.LST. In the extension, it's a lower-case L, not a one.) This file must be located in the root folder of the flashdrive. Start the Notepad program and type (or copy and paste) in the following text:

timeout 10
default 0

title Acronis True Image Home 2009 (9,615)
map (hd0,0)/ti-12-9615.iso (hd32)
map --hook
chainloader (hd32)
boot

title CommandLine
commandline

title Reboot
reboot

title Halt
halt
3.1
In this example, I've used Acronis True Image Home 2009 (9,615) as the menu entry's title for the Acronis Media. Feel free to use whatever name you want. Also note that I used ti-12-9615.iso for the ISO filename. You can use whatever name is appropriate, however I would recommend you don't put spaces into the ISO's filename.

Save the file to the root folder of the flashdrive with the name: menu.lst

If Notepad appends a ".txt" to the filename, just rename the file to menu.lst using Windows Explorer.
If you have the Windows Explorer option set to hide filename extensions for known file types, you may need to disable it. Otherwise, explorer may display menu.lst when the actual filename is menu.lst.txt. Click here for instructions.
3.2

A sample menu.lst file can be downloaded below. If you use it, make sure to rename it to menu.lst once it's on the flashdrive. You will also need to edit it as necessary for your ISO's filename.

To update this flashdrive to a different version or build of the Acronis Media, just rerun the Media Builder program and save the new ISO file to the flashdrive. If you are replacing an existing ISO file, no other changes are needed. If you are adding an ISO file, edit the menu.lst file and add the new menu entry. For example: If you want to add your True Image Home 10 build 4,942 ISO (ti-10-4942.iso) to the flashdrive, you would put the ISO file on the flashdrive and add the following menu entry:

title Acronis True Image Home 10 (4,942)
map (hd0,0)/ti-10-4942.iso (hd32)
map --hook
chainloader (hd32)
boot

Troubleshooting

If you try to boot your ISO entry and you get an error message that the ISO file is not contiguous, add the --mem option to the ISO line in the menu.lst file. Here is an example of the line with the option added:

title Acronis True Image Home 2009 (9,615)
map --mem (hd0,0)/ti-12-9615.iso (hd32)
map --hook
chainloader (hd32)
boot

To avoid any ISO contiguous errors, you can use the --mem option with all of your smaller ISO image files. This option just requires that the computer has enough memory available for Grub4DOS to load the ISO into memory and run it from there instead of from the drive.

Additional Notes

分享到:
评论

相关推荐

    GRUB4DOS教程

    总结,GRUB4DOS教程主要涵盖了GRUB4DOS的安装、配置、菜单创建以及故障排除等核心内容。通过学习和实践,用户不仅可以掌握多操作系统引导管理,还能了解底层引导机制,提升系统维护技能。提供的`grub4dos初级教程_...

    Grub4dos教程

    《Grub4dos教程》是针对计算机用户,尤其是系统管理员和高级用户的一份详细指南,旨在教授如何使用Grub4dos这一强大的启动加载器。Grub4dos是GRUB(Grand Unified Bootloader)的一个增强版本,它允许用户在没有操作...

    grub4dos 教程 很实用 供新手使用

    **GRUB4DOS 教程 - 为新手详解** GRUB4DOS 是一个强大的引导加载器,它基于GRUB(Grand Unified Bootloader)并针对DOS环境进行了优化。这个教程将帮助新手理解GRUB4DOS的基本概念、安装过程以及如何利用它来管理多...

    Grub4dos使用教程

    以上内容仅是Grub4dos使用教程的一部分,详细的操作步骤和更多高级特性可以在提供的"Grub4dos使用教程.doc"文档中找到,该文档深入探讨了Grub4dos的各项功能和应用实例,是学习和掌握Grub4dos的宝贵资源。

    grub4dos初级教程-入门篇

    本教程将引导你入门GRUB4DOS的世界,了解其基本概念、安装方法以及如何使用它来管理多系统启动。 ### 一、GRUB4DOS简介 GRUB4DOS是一个非常灵活的启动加载器,可以在不修改MBR(主引导记录)的情况下,从软盘、...

    GRUB4DOS 教程

    GRUB4DOS是一个优秀的双(多)系统引导软件,使用GRUB4DOS可以很方便的引导各种操作系统,比如DOS、Windows、 Linux等。

    grub4dos初级教程图文版

    最后,GRUB4DOS教程往往也会介绍一些典型的使用场景,比如多系统的安装和维护。在这些场景中,GRUB4DOS通常会作为首选的启动管理器,因为它能够有效地处理不同操作系统的引导问题,确保用户在多系统环境下能够平滑...

    grub4dos初级教程_CHM图文版.rar

    在grub4dos教程中,你将了解到以下核心知识点: 1. **GRUB基础知识**:首先,你需要了解GRUB的基本概念,它是多操作系统引导的首选工具,支持多种文件系统,如FAT、NTFS等。GRUB4DOS是GRUB的一个变体,特别适合...

    grub4dos初级教程_CHM图文版_090411

    本教程旨在帮助初学者理解和掌握grub4dos的基本概念、配置与操作方法。 grub4dos是一款开源的GRUB(Grand Unified Bootloader)版本,适用于DOS环境,用于多系统启动管理。它允许用户在不同操作系统之间切换,如...

    Grub4dos初级教程图文版CHM

    **Grub4dos初级教程图文版** Grub4dos是一款强大的引导加载器,它扩展了GRUB的功能,专为在Windows环境下安装和管理多操作系统提供便利。本教程针对初学者,旨在帮助那些想要安装Linux系统或者对多系统引导感兴趣的...

    grub4dos 启动管理程序

    2008年10月22日发布的简体中文版grub4dos教程,通常会包含以下内容: - 基本概念介绍 - 安装步骤详解 - menu.lst配置指南 - 常用命令解析 - 实例操作演示 - 故障排查技巧 通过学习这些教程,用户可以熟练掌握grub4...

    grub4dos-0.4.4-2009-06-20_带中文教程

    这个压缩包“grub4dos-0.4.4-2009-06-20_带中文教程”包含了GRUB4DOS的版本0.4.4以及2009年6月20日的中文教程,对于想要制作U盘启动盘的用户来说是非常实用的资源。 GRUB4DOS的核心功能在于其多系统启动能力,它能...

    Grub4DOS软件+教程

    提供的"grub4dos教程.CHM"是一个帮助文件,包含了Grub4DOS的详细使用指南,包括基本命令、配置方法以及常见问题解答。另外,"grub4dos.zip"包含的是Grub4DOS的软件包,用户可以解压后按照文档中的步骤进行安装和配置...

    grub4dos初级教程 CHM图文版_0331.rar

    grub4dos相关的资料互联网上并不少,grub4dos软件包里也有说明文件,可是绝大多数资料并不适合刚接触grub的人。初学者下载了grub4dos软件包后,面对一大堆(约40个)的文件,即使大概看了readme.txt文件后,也很可能...

    grub4dos初级教程_CHM图文版

    **GRUB4DOS初级教程** GRUB4DOS是一款基于GRUB(Grand Unified Bootloader)的引导加载器,主要用于在多操作系统环境下管理启动过程。它具有强大的功能,包括从不同的分区、光盘、USB设备等启动系统,甚至能够修复...

    grub4dos初级教程_(免费版).

    **GRUB4DOS初级教程** GRUB4DOS是一款基于GRUB(Grand Unified Bootloader)的引导加载器,主要用于在多系统环境下管理启动过程。它具有强大的功能,包括加载不同的操作系统、支持从多种存储设备启动,以及进行系统...

    grub4dos-0.4.6a.rar

    - 对于不熟悉GRUB4DOS的用户,建议先阅读官方文档或相关教程,确保正确操作。 6. **应用实例**: - 当系统被病毒破坏,原有引导加载器失效时,GRUB4DOS可作为临时的引导工具,帮助恢复系统。 - 在多系统环境中,...

    grub4dos 0.45

    - `grub4dos.chm`:可能是GRUB4DOS的离线帮助文件,提供了详细的命令参考和教程。 - `stage1`和`stage1.5`:GRUB引导过程中的阶段1和阶段1.5文件,用于从MBR过渡到GRUB的完整环境。 - 可能还包含其他驱动程序和实用...

Global site tag (gtag.js) - Google Analytics