|
原帖由 chenall 于 2011-6-28 08:39 发表
目前版本默认就是非mem模式的。
你可以使用@cdrom=/boot/winxp.iso强制使用--mem参数。
否则默认是优先尝试使用非mem失败了再用--mem
C大我的意思是否支持"G4D引导ISO安装系统进IMG,直接生成RAMOS的IMG!"这个帖子中的用法?
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=195672&extra=page%3D1
Setup Windows from ISO to Step 1
command %NTBOOT% iso_inst=firadisk harddisk=/WinXP.img cdrom=/Win$.iso
Setup Windows from ISO to Step 2
command %NTBOOT% iso_inst=firadisk cdrom=/Win$.iso harddisk=/WinXP.img boot=harddisk
还有就是harddisk=这个前面支持吗?强制使用--mem参数? @harddisk=/WinXP.img
这里是他帖子中的菜单:
G4D菜单:
QUOTE:
title Setup Windows from ISO to IMG Step 1 : Boot from ISO, with virtual CD+Floppy
find --set-root /hddimg.img
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
# Unpartitioned disk image needs geometry
map --heads=255 --sectors-per-track=63 /hddimg.img (hd0)
map /winsetup.iso (222)
map /firadisk.img (fd1)
map /firadisk.img (fd0)
map --hook
# Hide other disks, so partition in virtual disk will get C letter.
map --harddrives=1
# 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
rootnoverify (222)
chainloader
title Setup Windows from ISO to IMG Step 2 : Boot from IMG, with virtual CD
find --set-root /hddimg.img
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
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
rootnoverify (hd0)
chainloader +1
title Setup Windows from ISO to IMG Step 3 : Boot from IMG
find --set-root /hddimg.img
map --heads=2 --sectors-per-track=18 --mem (md)0x800+4 (99)
map /hddimg.img (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=disk,vmem=find:/hddimg.img,boot;\n\0
rootnoverify (hd0)
chainloader +1
# 下面就是正常启动RAMOS,载入内存方式,如果要加载到高位内存 map --mem --top /hddimg.img (hd0)
title START RAMOS_ form hddimg.img (map --mem)
find --set-root /hddimg.img
map --mem /hddimg.img (hd0)
map (hd0) (hd1)
map --hook
root (hd0,0)
chainloader /ntldr
boot
[ 本帖最后由 thttht 于 2011-6-28 10:39 编辑 ] |
|