找回密码
 加入我们

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 3615|回复: 1

[NAS/Server] Gen8通过TF卡启动光驱位硬盘的新办法

[复制链接]
发表于 2016-12-20 15:02 | 显示全部楼层 |阅读模式
方法来自于 https://www.chiphell.com/thread-1382739-1-1.html

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格式):

  1. # This is a sample menu.lst file. You should make some changes to it.
  2. # The old install method of booting via the stage-files has been removed.
  3. # Please install GRLDR boot strap code to MBR with the bootlace.com
  4. # utility under DOS/Win9x or Linux.
  5. #
  6. # It must be UTF-8 encoding for multi-lingual support. Font lines can be
  7. # appended to the file. The font lines should be in the unifont.hex format.

  8. color blue/green yellow/red white/magenta white/magenta
  9. timeout 5
  10. ## menu border color
  11. color border=0xEEFFEE
  12. ## set vbe mode
  13. graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32
  14. ## loading splashimage
  15. #splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp
  16. default /default
  17. ## Menu AutoNumber
  18. write 0x8274 0x2001

  19. title Boot Windows from latest Hard disk
  20. rootnoverify  (hd-1,0)
  21. chainloader /bootmgr

  22. # In the end, font lines for unicode chars in unifont.hex format.
  23. # It should include all unicode chars used in the above menu code.
  24. # Surely normal ASCII chars are not necessary to be included here.

  25. 5173:10100810082000003FF8010001000100FFFE010002800280044008203018C006
  26. 542F:010000801FFC1004100410041FFC10001000100017FC24042404440487FC0404
  27. 673A:100011F011101110FD10111031103910551055109110111211121212120E1400
  28. 91CD:001000F83F000100FFFE01001FF011101FF011101FF001003FF80100FFFE0000
复制代码



3. 然后就可以用这张TF卡启动Gen8了,启动后会先显示grub4dos的启动菜单,5秒钟没有动作后会自动从第一个菜单项“Boot Windows from latest Hard disk”启动进入光驱位硬盘中的Windows;不管hd1-hd4有几块硬盘,只要从这个TF卡启动,都会转向到最后一块硬盘也就是光驱位的硬盘启动。
回复

使用道具 举报

 楼主| 发表于 2016-12-20 15:04 | 显示全部楼层
相关的两个文件如附件:
menu.lst (1.32 KB, 下载次数: 1118)
grldr (276.58 KB, 下载次数: 1161)

另外,我做好了一张卡,然后做了一张GHOST出来,不知道是不是可以直接拿来给其他的机器用,先分享出来 吧,需要的朋友可以直接下载
Gen8TF2.GHO (798 KB, 下载次数: 1133)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2024-3-29 14:03 , Processed in 0.225633 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表