无忧启动论坛

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

[求助] Winnt.sif中的OsLoadOptions的参数/iso=\ISO\Hiren'sBootCD.iso是做什么的?

[复制链接]
跳转到指定楼层
1#
发表于 2017-2-3 13:52:21 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
这个是在老外的Hiren's BootCD.iso里面发现的,

老外把winnt.sif改名成了X,这是其内容:

[SetupData]
BootDevice="ramdisk(0)"
BootPath="\i386\System32\"
OsLoadOptions="/fastdetect /minint /rdimageoffset=8192 /rdimagelength=3161088 /rdpath=\HBCD\XP\XP.wim /iso=\ISO\Hiren'sBootCD.iso"



我很不解,前面的参数我都能理解,但是最后面那个 /iso=\ISO\Hiren'sBootCD.iso到底是做什么的?

我没有在任何其他PE中发现这个参数。

我也不知道哪里还有这么个路径\ISO\Hiren'sBootCD.iso。


所以请教大家,这个/iso=\ISO\Hiren'sBootCD.iso到底是做什么的?

我尝试删掉这个参数,启动也没有什么异常,启动后盘符什么的也没有任何变化。

求教!谢谢了!
2#
发表于 2017-2-3 15:33:48 | 只看该作者
You can learn it from file Startup.cmd.
This code

  1. for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir %%I:\ 1>nul 2>nul && if /i exist %%I:\HBCD\HBCDMenu.exe if /i exist %%I:\HBCD\Programs\7z.exe set HBCD=%%I:&goto k)
  2. if not "%ISO%"=="" goto h
  3. set ISO=none
  4. for /f "tokens=5 delims==" %%X in ('REG QUERY HKLM\SYSTEM\Controlset001\Control /v SystemStartOptions') do set ISO=%%X
  5. for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir "%%I:%ISO%" 1>nul 2>nul && imdisk -a -m #: -f "%%I:%ISO%"&nircmd wait 3000&goto a)
复制代码

it means
- HBCDMenu.exe must present
- If you extract file iso, no need /iso=\ISO\Hiren'sBootCD.iso (HBCDMenu.exe in usb device)
- If you boot from iso file (path \ISO\Hiren'sBootCD.iso; file not fragment), it will mount file Hiren'sBootCD.iso with imdisk, find HBCDMenu.exe and start all component from virtual drive.

点评

Oh, I just made a mistake. I have understood now. Very thanks to your help! =========================== Thanks. But I still have questions: These is what I do: 1. Copy Hiren'sBootCD.  详情 回复 发表于 2017-2-3 22:15
回复

使用道具 举报

3#
 楼主| 发表于 2017-2-3 22:15:30 | 只看该作者
2012mshs 发表于 2017-2-3 15:33
You can learn it from file Startup.cmd.
This code

Oh, I just made a mistake.

I have understood now.

Very thanks to your help!

===========================

Thanks. But I still have questions:

These is what I do:

1. Copy Hiren'sBootCD.iso to C:\ISO\


点评

You should add this code to menu.lst  详情 回复 发表于 2017-2-3 22:31
回复

使用道具 举报

4#
发表于 2017-2-3 22:31:38 | 只看该作者
1400700226 发表于 2017-2-3 22:15
Oh, I just made a mistake.

I have understood now.

You should add this code to menu.lst

  1. title Hiren'sBootCD (Full menu)
  2. find  --set-root /ISO/Hiren'sBootCD.iso
  3. map /ISO/Hiren'sBootCD.iso (0xff)
  4. map --hook
  5. chainloader (0xff)
  6. boot

  7. title Mini Windows Xp\nRun Antivirus and other windows programs
  8. find  --set-root /ISO/Hiren'sBootCD.iso
  9. map /ISO/Hiren'sBootCD.iso (0xff)
  10. map --hook
  11. chainloader (0xff)/HBCD/XP/XP.BIN
  12. boot
复制代码

点评

Thanks a lot! Though I do not use G4D now, but I still studied how to use map and chainloader form your post. Thanks!  详情 回复 发表于 2017-2-3 22:49
回复

使用道具 举报

5#
 楼主| 发表于 2017-2-3 22:49:50 | 只看该作者
2012mshs 发表于 2017-2-3 22:31
You should add this code to menu.lst


Thanks a lot!

Though I do not use G4D now, but I still studied how to use map and chainloader from your post.

Thanks!
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2025-6-22 21:22

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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