无忧启动论坛

标题: firadisk FROM ISO to IMG问题 [打印本页]

作者: hys1984    时间: 2011-5-27 16:12
标题: firadisk FROM ISO to IMG问题
参考
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=191024

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187261

进行相关修改,因为直接使用http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187261的方法提示找不到文件,相关文件按照他的方法放置在相关分区也不行。而且使用firadisk0.0.1.30不行,使用0.0.1.28的img才行。我的是希捷SATA硬盘,斯巴达克BA-210pro主板,设置为ACHI模式。

现在情况是第一步可以通过,查看img中文件也正常。第二步英文提示read disk error

贴上menu.lst,请求高手指点:

title Setup Windows from ISO to IMG Step 1 : Boot from ISO, with virtual CD+Floppy
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
# Unpartitioned disk image needs geometry
find --set-root /hddimg.img
map --heads=255 --sectors-per-track=63 /hddimg.img (hd0)
map --mem /winsetup.iso (0xff)
map --mem /firadisk.img (fd0)
map --mem /firadisk.img (fd1)
# Hide other disks, so partition in virtual disk will get C letter.
map --harddrives=1
map --hook
# The "boot" option is required for virtual disk to have system partition with C letter.
write (99) [firadisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;cdrom,vmem=find:/winsetup.iso;floppy,vmem=find:/firadisk.img;\n\0
chainloader (0xff)
map --status
pause Press any key twice . . .

title Setup Windows from ISO to IMG Step 2 : Boot from IMG, with virtual CD
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
find --set-root /hddimg.img
map  /hddimg.img (hd0)
map --hook
# The "boot" option here is required for booting Windows the first time.
write (99) [FiraDisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;cdrom,vmem=find:/winsetup.iso;\n\0
root (hd0,0)
chainloader /ntldr
pause Press any key . . .

title Setup Windows from ISO to IMG Step 3 : Boot from IMG
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
find --set-root /hddimg.img
map /hddimg.img (hd0)
map --hook
write (99) [[firadisk]]\nStartOptions=disk,vmem=find:/hddimg.img,boot;\n\0
root (hd0,0)
chainloader /ntldr
map --status
pause Press any key . . .
作者: 11ydy    时间: 2011-5-27 20:17
我和楼主讨论过

下面贴上我成功的菜单(用的3个镜像必须是连续的)

感兴趣的朋友试试吧

  1. title Setup Windows from ISO to IMG Step 1 : Boot from ISO, with virtual CD+Floppy
  2. map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
  3. # Unpartitioned disk image needs geometry
  4. map --heads=255 --sectors-per-track=63 /hddimg.img (hd0)
  5. map /winsetup.iso (222)
  6. map /firadisk.img (fd1)
  7. map /firadisk.img (fd0)
  8. map --hook
  9. # Hide other disks, so partition in virtual disk will get C letter.
  10. map --harddrives=1
  11. # The "boot" option is required for virtual disk to have system partition with C letter.
  12. write (99) [FiraDisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;cdrom,vmem=find:/winsetup.iso;floppy,vmem=find:/firadisk.img;\n\0
  13. rootnoverify (222)
  14. chainloader





  15. title Setup Windows from ISO to IMG Step 2 : Boot from IMG, with virtual CD
  16. map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
  17. map /hddimg.img (hd0)
  18. map --hook
  19. # The "boot" option here is required for booting Windows the first time.
  20. write (99) [FiraDisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;cdrom,vmem=find:/winsetup.iso;\n\0
  21. rootnoverify (hd0)
  22. chainloader +1





  23. title Setup Windows from ISO to IMG Step 3 : Boot from IMG
  24. map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
  25. map /hddimg.img (hd0)
  26. map --hook
  27. write (99) [FiraDisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;\n\0
  28. rootnoverify (hd0)
  29. chainloader +1




  30. title START RAMOS_ form hddimg.img (map --mem)
  31. find --set-root /hddimg.img
  32. map --mem /hddimg.img (hd0)
  33. map (hd0) (hd1)
  34. map --hook
  35. root (hd0,0)
  36. chainloader /ntldr
  37. boot
复制代码





欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3