无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 10551|回复: 14
打印 上一主题 下一主题

[分享] 终于弄成了F6软盘镜像装系统

[复制链接]
跳转到指定楼层
1#
发表于 2011-5-31 13:53:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
一直想制作(SCSI,RAID,SATA)F6软盘镜像驱动,免软驱安装原版xp系统.遍循论坛不得其法,别人的
又看不大懂,也不想花时间去研究。只想能会用grub4dos最基本的应用就可以了。
现在终于弄成了最简单的F6软盘镜像驱动,虚拟机测试安装微软原版xp-sp3成功.
只想要简单的F6软盘镜像驱动,DIY属于自己机子用的往下看。高手可以路过,或想要功能更全面的F6软盘镜像驱动也路过。
1 制作Firadisk.img软盘映像(把下载的firadisk-driver.zip里的文件添加到软盘映像里.
  把(SCSI,RAID,SATA)驱动也添加到软盘映像里.把修改好的TXTSETUP.OEM文件放在软盘映像
  根目录.这里关键是修改的TXTSETUP.OEM文件能同时处理firadisk驱动和你的(SCSI,RAID,SATA)驱动.
例如:集成VMware SCSI驱动(从虚拟机驱动包中提取)
把vmscsi.inf vmscsi.sys vmscsi.cat firadisk.inf firadisk.sys firadisk.cat TXTSETUP.OEM添加到Firadisk.img软盘映像
其中TXTSETUP.OEM的内容如下:(参照各自的TXTSETUP.OEM填写)
[Disks]
disk1="FiraDisk Installation Disk",\firadisk.inf,\
disk1="AHCI&RAID DRIVER",\vmscsi.inf,\
[Defaults]
SCSI=firadiskx86
[SCSI]
firadiskx86="FiraDisk Driver x86"
VMSCSI="VMware SCSI Controller"
[Files.scsi.firadiskx86]
driver=disk1,firadisk.sys,FiraDisk
inf=disk1,firadisk.inf
catalog=disk1,firadisk.cat
[Files.scsi.VMSCSI]
driver=disk1,vmscsi.sys,VMSCSI
inf=disk1,vmscsi.inf
catalog=disk1,vmscsi.cat
[Config.VMSCSI]
value = "", Tag, REG_DWORD, 5
value = Parameters\Device,NumberOfRequests,REG_DWORD, 128
[HardwareIds.scsi.firadiskx86]
id="detected\firadisk","FiraDisk"
[HardwareIds.scsi.VMSCSI]
id="PCI\VEN_104B&DEV_1040","VMSCSI"
因机子内存不大,所以只用虚拟机PXE启动安装和U盘启动PE安装两种方法测试
方法一:  虚拟机PXE启动
(虚拟机PXE启动)
title 光驱安装系统
map --mem /Firadisk.img (fd0)
map --mem (md)0x6000+800 (fd1)
cdrom --init
map --hook
dd if=(fd0) of=(fd1) count=1
chainloader (cd0)
安装程序启动后,在提示按F6时,按F6加载驱动。把firadisk VMSCSI两种驱动都选上,漏选一样都安装失败.
方法一安装成功.
方法二: U盘启动PE
在PE中把系统安装到硬盘(确保系统正确安装到硬盘,而不是U盘)
重启后选择
title U盘安装
map (hd1) (hd0)
map (hd0) (hd1)
map --rehook
map --mem (ud)/Firadisk.img (fd0)
map --mem (md)0x6000+800 (fd1)
map --hook
dd if=(fd0) of=(fd1) count=1
rootnoverify (hd0,0)
chainloader +1
安装程序启动后,在提示按F6时,按F6加载驱动。把firadisk VMSCSI两种驱动都选上,漏选一样都安装失败.
方法二安装成功.
2#
发表于 2011-5-31 14:25:33 | 只看该作者

这里有简化了的:

一行grub4dos命令安装XP到SATA/RAID硬盘

都通罗马。
回复

使用道具 举报

3#
发表于 2011-5-31 16:57:52 | 只看该作者
楼主是高手,我也来研究研究
回复

使用道具 举报

4#
发表于 2011-6-1 09:50:11 | 只看该作者
其实资料论坛都有了。。
回复

使用道具 举报

5#
发表于 2011-7-18 00:14:27 | 只看该作者
不错的资料,基本上把原理说明白了。
回复

使用道具 举报

6#
发表于 2011-7-18 10:41:17 | 只看该作者
资料详细,须测试研究。
回复

使用道具 举报

7#
发表于 2011-8-28 12:34:19 | 只看该作者
支持下11!谢谢楼主
回复

使用道具 举报

8#
发表于 2011-9-8 00:05:55 | 只看该作者
学习了,不过看不到一行grub4dos命令安装XP到SATA/RAID硬盘
回复

使用道具 举报

9#
发表于 2011-10-6 19:27:54 | 只看该作者
学习学习,谢谢分享!!
回复

使用道具 举报

10#
发表于 2011-10-6 20:00:10 | 只看该作者
支持下11!谢谢楼主
回复

使用道具 举报

11#
发表于 2011-10-7 00:23:25 | 只看该作者
我想把wvbk
  1. [Disks]
  2. disk1 = "WinVBlock Driver Disk",\WinVBlk.inf,\

  3. [Defaults]
  4. scsi = WinVBlock64

  5. [scsi]
  6. WinVBlock32 = "WinVBlock Bus (32-bit)"
  7. WinVBlock64 = "WinVBlock Bus (64-bit)"

  8. [Files.scsi.WinVBlock32]
  9. driver = disk1,WVBlk32.Sys,WinVBlock
  10. inf = disk1,WinVBlk.Inf
  11. catalog = disk1,WinVBlk.Cat

  12. [Files.scsi.WinVBlock64]
  13. driver = disk1,WVBlk64.Sys,WinVBlock
  14. inf = disk1,WinVBlk.Inf
  15. catalog = disk1,WinVBlk.Cat

  16. [HardwareIds.scsi.WinVBlock32]
  17. id="Detected\WinVBlock","WinVBlock"

  18. [HardwareIds.scsi.WinVBlock64]
  19. id="Detected\WinVBlock","WinVBlock"
复制代码
和AMD的ahci
  1. [Disks]
  2. disk0 = "AMD AHCI Compatible RAID Controller Driver Diskette", \ahcix86, \
  3. disk1 = "AMD AHCI Compatible RAID Controller Driver Diskette", \ahcix86, \x86
  4. disk2 = "AMD AHCI Compatible RAID Controller Driver Diskette", \ahcix64, \x64

  5. [Defaults]
  6. SCSI = Napa_i386_ahci8086

  7. [SCSI]
  8. Napa_i386_ahci8086 = "AMD AHCI Compatible RAID Controller-x86 platform", ahcix86
  9. Napa_amd64_ahci    = "AMD AHCI Compatible RAID Controller-x64 platform", ahcix64

  10. [Files.SCSI.Napa_i386_ahci8086]
  11. inf    = disk1, ahcix86.inf
  12. driver    = disk1, ahcix86.sys, ahcix86
  13. catalog = disk1, ahcix86.cat

  14. [Files.SCSI.Napa_amd64_ahci]
  15. inf    = disk2, ahcix64.inf
  16. driver    = disk2, ahcix64.sys, ahcix64
  17. catalog = disk2, ahcix64.cat

  18. [HardwareIds.SCSI.Napa_i386_ahci8086]
  19. id = "PCI\VEN_1002&DEV_4380&SUBSYS_280A103C", "ahcix86"
  20. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2814103C", "ahcix86"
  21. id = "PCI\VEN_1002&DEV_4392", "ahcix86"
  22. id = "PCI\VEN_1002&DEV_4391", "ahcix86"
  23. id = "PCI\VEN_1002&DEV_4393", "ahcix86"
  24. id = "PCI\VEN_1002&DEV_4380&SUBSYS_101E1462", "ahcix86"
  25. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10221462", "ahcix86"
  26. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10201462", "ahcix86"
  27. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305817AA", "ahcix86"
  28. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305717AA", "ahcix86"
  29. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00421B0A", "ahcix86"
  30. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00431B0A", "ahcix86"
  31. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2A89103C", "ahcix86"
  32. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3054103C", "ahcix86"
  33. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3055103C", "ahcix86"
  34. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0184107B", "ahcix86"
  35. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0FFF0FFF", "ahcix86"
  36. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0051458", "ahcix86"
  37. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0031458", "ahcix86"
  38. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02131025", "ahcix86"
  39. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02111025", "ahcix86"
  40. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02161025", "ahcix86"
  41. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B311462", "ahcix86"
  42. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B321462", "ahcix86"
  43. id = "PCI\VEN_1002&DEV_4380&SUBSYS_021D1025", "ahcix86"
  44. id = "PCI\VEN_1002&DEV_4381&SUBSYS_43811002", "ahcix86"
  45. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43821002", "ahcix86"
  46. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43811002", "ahcix86"

  47. [HardwareIds.SCSI.Napa_amd64_ahci]
  48. id = "PCI\VEN_1002&DEV_4380&SUBSYS_280A103C", "ahcix64"
  49. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2814103C", "ahcix64"
  50. id = "PCI\VEN_1002&DEV_4392", "ahcix64"
  51. id = "PCI\VEN_1002&DEV_4391", "ahcix64"
  52. id = "PCI\VEN_1002&DEV_4393", "ahcix64"
  53. id = "PCI\VEN_1002&DEV_4380&SUBSYS_101E1462", "ahcix64"
  54. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10221462", "ahcix64"
  55. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10201462", "ahcix64"
  56. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305817AA", "ahcix64"
  57. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305717AA", "ahcix64"
  58. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00421B0A", "ahcix64"
  59. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00431B0A", "ahcix64"
  60. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2A89103C", "ahcix64"
  61. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3054103C", "ahcix64"
  62. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3055103C", "ahcix64"
  63. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0184107B", "ahcix64"
  64. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0FFF0FFF", "ahcix64"
  65. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0051458", "ahcix64"
  66. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0031458", "ahcix64"
  67. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02131025", "ahcix64"
  68. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02111025", "ahcix64"
  69. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02161025", "ahcix64"
  70. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B311462", "ahcix64"
  71. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B321462", "ahcix64"
  72. id = "PCI\VEN_1002&DEV_4380&SUBSYS_021D1025", "ahcix64"
  73. id = "PCI\VEN_1002&DEV_4381&SUBSYS_43811002", "ahcix64"
  74. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43821002", "ahcix64"
  75. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43811002", "ahcix64"

  76. [Config.ahcix86]
  77. value = "", Tag, REG_DWORD, 1

  78. [Config.ahcix64]
  79. value = "", Tag, REG_DWORD, 1
复制代码
合并, 于是写成了这样,
  1. [Disks]
  2. disk1 = "WinVBlock Driver Disk",\WinVBlk.inf,\
  3. disk1 = "AMD AHCI Compatible RAID Controller Driver Diskette", \ahcix64.inf, \

  4. [Defaults]
  5. SCSI = Napa_amd64_ahci

  6. [SCSI]
  7. Napa_amd64_ahci    = "AMD AHCI Compatible RAID Controller-x64 platform", ahcix64
  8. WinVBlock64 = "WinVBlock Bus (64-bit)"

  9. [Files.SCSI.Napa_amd64_ahci]
  10. inf    = disk1, ahcix64.inf
  11. driver    = disk1, ahcix64.sys, ahcix64
  12. catalog = disk1, ahcix64.cat

  13. [Files.SCSI.WinVBlock64]
  14. inf = disk1,WinVBlk.Inf
  15. driver = disk1,WVBlk64.Sys,WinVBlock
  16. catalog = disk1,WinVBlk.Cat

  17. [HardwareIds.SCSI.Napa_amd64_ahci]
  18. id = "PCI\VEN_1002&DEV_4380&SUBSYS_280A103C", "ahcix64"
  19. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2814103C", "ahcix64"
  20. id = "PCI\VEN_1002&DEV_4392", "ahcix64"
  21. id = "PCI\VEN_1002&DEV_4391", "ahcix64"
  22. id = "PCI\VEN_1002&DEV_4393", "ahcix64"
  23. id = "PCI\VEN_1002&DEV_4380&SUBSYS_101E1462", "ahcix64"
  24. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10221462", "ahcix64"
  25. id = "PCI\VEN_1002&DEV_4380&SUBSYS_10201462", "ahcix64"
  26. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305817AA", "ahcix64"
  27. id = "PCI\VEN_1002&DEV_4380&SUBSYS_305717AA", "ahcix64"
  28. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00421B0A", "ahcix64"
  29. id = "PCI\VEN_1002&DEV_4380&SUBSYS_00431B0A", "ahcix64"
  30. id = "PCI\VEN_1002&DEV_4380&SUBSYS_2A89103C", "ahcix64"
  31. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3054103C", "ahcix64"
  32. id = "PCI\VEN_1002&DEV_4380&SUBSYS_3055103C", "ahcix64"
  33. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0184107B", "ahcix64"
  34. id = "PCI\VEN_1002&DEV_4380&SUBSYS_0FFF0FFF", "ahcix64"
  35. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0051458", "ahcix64"
  36. id = "PCI\VEN_1002&DEV_4380&SUBSYS_B0031458", "ahcix64"
  37. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02131025", "ahcix64"
  38. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02111025", "ahcix64"
  39. id = "PCI\VEN_1002&DEV_4380&SUBSYS_02161025", "ahcix64"
  40. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B311462", "ahcix64"
  41. id = "PCI\VEN_1002&DEV_4380&SUBSYS_6B321462", "ahcix64"
  42. id = "PCI\VEN_1002&DEV_4380&SUBSYS_021D1025", "ahcix64"
  43. id = "PCI\VEN_1002&DEV_4381&SUBSYS_43811002", "ahcix64"
  44. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43821002", "ahcix64"
  45. id = "PCI\VEN_1002&DEV_4380&SUBSYS_43811002", "ahcix64"

  46. [HardwareIds.SCSI.WinVBlock64]
  47. id="Detected\WinVBlock","WinVBlock"

  48. [Config.ahcix64]
  49. value = "", Tag, REG_DWORD, 1
复制代码
打包成这样,


提示的错误类似于这样
File txtsetup.oem caused an unexpected error (256) at line ???? in d:\xpsprtm\base\boot\setup\oemdisk.c"

我是这样启动安装的
title iso install windows 1
map --mem (hd0,0)/boot/IMGS/sysandwvbk.img (fd1)
map --mem (md)0x6000+800 (fd0)
find --set-root /install/os/win2003x64.iso
map --mem
/install/os/win2003x64.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xff)


[ 本帖最后由 loveqianool 于 2011-10-7 00:27 编辑 ]
回复

使用道具 举报

12#
发表于 2011-10-11 16:29:44 | 只看该作者
樓主,我太愛你了,我就喜歡這樣的.万分感谢
回复

使用道具 举报

13#
发表于 2011-10-24 22:51:38 | 只看该作者
楼主,[Disks]下的disk0 disk1 需不需要自己手动编号啊,而且,你这里两个disk1重复了!!会不会导致错误??
原帖由 <i>loveqianool</i> 于 2011-10-7 00:23 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2315819&ptid=194560" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
我想把wvbk[Disks]<br />
disk1 = "WinVBlock Driver Disk",\WinVBlk.inf,\<br />
<br />
[Defaults]<br />
scsi = WinVBlock64<br />
<br />
[scsi]<br />
WinVBlock32 = "WinVBlock Bus (32-bit)"<br />
WinVBlock64 = "WinVBlock Bus (64-bit)"<br />
<br />
...
<br />
回复

使用道具 举报

14#
发表于 2011-10-25 13:25:31 | 只看该作者
可是我是按照这个楼主的文本写的呀.
回复

使用道具 举报

15#
发表于 2012-9-24 23:22:36 | 只看该作者
这个F6值得研究,装服务器挠头啊。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-16 12:29

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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