我有一块USB接口的移动硬盘,硬盘型号是FUJITSU MHT2040AH,40G,分3个区,主分区1.9G FAT32,已安装DOS系统,能正常引导并运行DOS下的软件
在DOS的CONFIG.sys中用“device=grub.exe --config-file="/boot/grub/menu.lst"”引导至
Starting cmain()... 时死机,键盘无响应。
DOS启动后在dos提示符下运行grub.exe也是在 Starting cmain()... 时死机,dos启动时未加载emm386.exe,Config.sys文件配置见后,启动详情如下图:
我又试图将GRUB安装到USB移动硬盘的MBR来引导,在dos下运行 bootlace 0x80, MBR上安装正常完成,提示:
Disk geometry calculated according to the partition table:
Sectors per track=63, Number ot heads=255
Success
但重启后系统运行至 Verfying DMI Pool Data......... 时死机,之后我将硬盘从移动盒中取出通过大小硬盘转接卡直接连到主板IDE1口,GRUB能正常从MBR引导,启动menu.lst中菜单,菜单中的每一个启动项均能正常运行。
GRUB我用的是grub_for_dos-2006-11-26最新版,GRUB的相关文件如menu.lst,stage1,stage2等文件均在移动硬盘\boot\grub\下,grldr在移动硬盘根目录下,
不知为何在USB上却不能启动,郁闷啊....
我的menu.lst文件内容如下:
########################################################################
# Grub 0.95 中文版配置文件样例, by Gandalf(
f22_storm@163.com)
# 2004 - 07 - 15 (midified 13:13 2004-11-13)
#
# 默认延迟时间(秒)
timeout 30
# 第一项为默认值
default 5
# Fallback to the second entry.
fallback 1
# 设置动画图形菜单文件
gfxmenu /boot/grub/grub_chs.msg
# 设置中文支持的字体文件
fontfile /boot/grub/fonts
# 设置图形背景文件
splashimage /boot/grub/bj2008.xpm.gz
# 使用 TFTP 协议从网络启动一个软盘镜像
# 手工设置
# address = ip 地址
# mask = 子网掩码
# gateway = 网关
#
# tftpserver tftp 服务器地址
# 你可以修改 win99.img 为你的软盘镜像,注意:
# 可以使用 winzip 压缩,原始大小必须是 1.44/2.88MB
# title 从网络软盘镜像文件启动
# ifconfig --address=192.168.200.1
# ifconfig --mask=255.255.255.192
# ifconfig --gateway=192.168.200.5
# tftpserver 192.168.200.5
# kernel (nd)/memdisk.gz
# initrd (nd)/win99.zip
# 启动另一个功能强大的引导器。注意:
# 在它里面界面里,不要做任何保存!!!!!
title 运行 Smart BootManager
kernel /boot/grub/memdisk.gz
initrd /boot/grub/sbm.bin
# 本地软盘镜像的使用方法之一。还可使用 4DOS 的功能
# 即 map (xxx)/win98.img (fd0) 的方法。本版本支持。
title 启动本地 Win98 软盘镜像文件
kernel /boot/grub/memdisk.gz
initrd /boot/grub/win99.zip
# 转到光盘启动
title 从光盘启动系统
scdrom --bootcd
title 启动本地 NTFS 软盘镜像文件
kernel /boot/grub/memdisk.gz
initrd /boot/grub/ntfs.img
# 从本地磁盘的主分区启动
title 从硬盘第一分区启动
rootnoverify (hd0,0)
makeactive
chainloader +1
# 从移动硬盘主分区启动
title 从移动硬盘启动MS-DOS
chainloader (hd0,0)+1
# Change the colors.
title 改变菜单颜色
color light-green/brown blink-red/blue
######################################################################
Config.sys文件配置如下:
##################################################################
menuitem=M1, Boot with UMBPCI
menuitem=M2, Boot with EMM386(NOEMS)
menuitem=M3, Boot with CD-ROM support
menuitem=M5, DOS Tools with VDISK
menuitem=M6, Boot with GRUB
menuitem=M7, Boot only
menucolor=15,1
menudefault=M1,10
device=himem.sys /testmem:off /q
device=umbpci.sys
devicehigh=qdma.sys /l
device=himem.sys /testmem:off /q
device=emm386.exe noems
devicehigh=qdma.sys /l
include M1
devicehigh=VIDE-CDD.SYS /D:IDE-CD
include M2
device=grub.exe --config-file="/boot/grub/menu.lst"
device=himem.sys /testmem:off /q
DOS=HIGH,UMB,AUTO
FCBSHIGH=4,0
FILESHIGH=30
BUFFERSHIGH=20,0
STACKSHIGH=9,256
LASTDRIVEHIGH=Z
NUMLOCK=ON
SET PATH=C:\; C:\HXR\BIN\; C:\HXGUI\BIN\
############################################################
请大侠们指点迷津!!!