无忧启动论坛

 找回密码
 注册
搜索

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

查看数: 3138 | 评论数: 4 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2017-2-3 13:52

正文摘要:

这个是在老外的Hiren's BootCD.iso里面发现的, 老外把winnt.sif改名成了X,这是其内容: [SetupData] BootDevice="ramdisk(0)" BootPath="\i386\System32\" OsLoadOptions="/fastdetect /minint ...

回复

1400700226 发表于 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!
2012mshs 发表于 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
2012mshs 发表于 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

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

闽公网安备 35020302032614号

GMT+8, 2025-8-7 19:16

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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