|
|
在论坛里看了很多方法,各种TF卡启动盘的制作方法都不简单,而且一旦增加或者减少了硬盘,很多时候就需要修改TF卡的启动配置,很麻烦。
在无忧启动论坛里面讨教了一种用grub4dos制作TF卡启动盘的方法(http://bbs.wuyou.net/forum.php?mod=viewthread&tid=371351),可以引导光驱位硬盘,并且不管增加或者减少硬盘,都不需要再做任何改动,Gen8总是从光驱位硬盘启动,下面是实现的方法:
1. 首先Gen8去除hd1-hd4的硬盘,只保留光驱位硬盘,按一般方法安装好Windows;
2. 按如下步骤制作一张grub4dos的TF卡启动盘:
1) 在DiskGenius(http://www.diskgenius.cn/download.php)中格式化TF卡为NTFS格式。
2) 在DiskGenius中将TF卡“重新建立主引导区”,并且激活当前分区,然后关闭Diskgenuis软件;
3) 运行BOOTICE软件(http://bbs.wuyou.net/forum.php?m ... 7232&extra=page%3D1),将TF卡的分区引导记录设置为grub4dos0.4.6a。
具体操作:打开BOOTICE软件,选择你的TF卡(别报错选中本地硬盘),点击“分区引导记录(P)”-->选择“GRUB4DOS0.4.5c/0.4.6a(FAT/FAT32/NTFS/ExFAT)"-->点击”安装/配置(S)“-->选择“0.4.6a"-->点击”确定“-->点击”确定“。
4) 下载grub4dos(http://grub4dos.chenall.net/,最新版本是grub4dos-0.4.6a-2015-09-15.7z),解压后把“grldr”文件复制到TF卡根目录;
5) 在TF卡根目录下创建menu.lst文件,编辑文件内容如下(注意要保存为UTF-8格式):
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
#
# It must be UTF-8 encoding for multi-lingual support. Font lines can be
# appended to the file. The font lines should be in the unifont.hex format.
color blue/green yellow/red white/magenta white/magenta
timeout 5
## menu border color
color border=0xEEFFEE
## set vbe mode
graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
## loading splashimage
#splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp
default /default
## Menu AutoNumber
write 0x8274 0x2001
title Boot Windows from latest Hard disk
rootnoverify (hd-1,0)
chainloader /bootmgr
# In the end, font lines for unicode chars in unifont.hex format.
# It should include all unicode chars used in the above menu code.
# Surely normal ASCII chars are not necessary to be included here.
5173:10100810082000003FF8010001000100FFFE010002800280044008203018C006
542F:010000801FFC1004100410041FFC10001000100017FC24042404440487FC0404
673A:100011F011101110FD10111031103910551055109110111211121212120E1400
91CD:001000F83F000100FFFE01001FF011101FF011101FF001003FF80100FFFE0000
复制代码
3. 然后就可以用这张TF卡启动Gen8了,启动后会先显示grub4dos的启动菜单,5秒钟没有动作后会自动从第一个菜单项“Boot Windows from latest Hard disk”启动进入光驱位硬盘中的Windows;不管hd1-hd4有几块硬盘,只要从这个TF卡启动,都会转向到最后一块硬盘也就是光驱位的硬盘启动。
已经在我的Gen8上测试通过。
|
|