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
原帖由 jspeng 于 2011-6-19 18:49 发表
以前maanu发过, http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187261, 偶测试过。没问题,可以的。不过后来没采用这种方式,这种方式制作RAMOS太费事了。实际上在物理机上安装好,使用PE拷贝到镜像文件上就行。
原帖由 jspeng 于 2011-6-24 02:11 发表
同意. 这样也不错. 偶对VHD这种方式不熟悉. 能否指教一下, 安装好的VHD文件,在精简WINDOWS后, VHD文件如何压缩啊, 以减少体积?
原帖由 jspeng 于 2011-6-24 02:11 发表
同意. 这样也不错. 偶对VHD这种方式不熟悉. 能否指教一下, 安装好的VHD文件,在精简WINDOWS后, VHD文件如何压缩啊, 以减少体积?
原帖由 bardlet 于 2011-6-28 18:13 发表
要把firadisk的驱动离线安装到boot.wim和install.wim太麻烦
map --mem /firadisk.img (fd0)
让win7 安装程序认出firadisk的驱动有谁能成功的?
原帖由 yueyezhan 于 2011-6-28 18:27 发表
新版本的g4d我还没试过直接把iso安装到虚拟磁盘,等我试完告诉你
刚才试了一下,你如果想用iso安装win7到虚拟磁盘的话,必须像处理boot.wim注册表一样处理install.wim,用reg import命令来添加注册表比用 ...
原帖由 <i>jspeng</i> 于 2011-6-19 18:49 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2260295&ptid=195672" 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 />
以前maanu发过, http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187261, 偶测试过。没问题,可以的。不过后来没采用这种方式,这种方式制作RAMOS太费事了。实际上在物理机上安装好,使用PE拷贝到镜像文件上就行。
原帖由 2011bolojedy 于 2011-9-3 17:13 发表
1. DiskGen 创建的 hdd.img 是 FAT16 格式,比起 ntfs 格式落后很多,
2. LZ 给的 截图 hdd.img 的大小是 888M, 我照做了,结果出现:
安装时提示需要1350m的磁盘空间
原帖由 2011几十年 于 2011-9-29 20:26 发表
我成功了,bios里面关掉软盘,还有就是不插u盘后,成功整起了ramxp,但是,运行不了多久就会出现磁盘空间不足的提示,我是2g的镜盘影像,怎么办?
原帖由 xianglang 于 2012-1-18 14:42 发表
我前两天用WINVBLOCK安装过2003X64,不过是装到硬盘上,不是装到VHD镜像中去,不过我认为能够装到硬盘中,装到VHD中应该也没有问题。
title INSTALL_VHD0364 1
write (md)0x200+1 [FiraDisk]\nStartOptions=disk,vmem=find:/RAMOS/test.vhd,boot;cdrom,vmem=find:/ramos/0364.iso;floppy,vmem=find:/RAMOS/firadisk.ima;\n\0
map --mem (md)0x200+16 (99)
find --set-root /RAMOS/firadisk.ima
map /RAMOS/firadisk.ima (fd0)
map /RAMOS/firadisk.ima (fd1)
find --set-root /RAMOS/test.vhd
map /RAMOS/test.vhd (hd0)
find --set-root /RAMOS/0364.iso
map /ramos/0364.iso (0xff)
map (hd0) (hd1)
map --hook
chainloader (0xff)
title INSTALL_VHD0364 2
write (md)0x200+1 [FiraDisk]\nStartOptions=disk,vmem=find:/RAMOS/test.vhd,boot;cdrom,vmem=find:/ramos/0364.iso;\n\0
map --mem (md)0x200+16 (99)
find --set-root /RAMOS/test.vhd
map /RAMOS/test.vhd (hd0)
find --set-root /RAMOS/0364.iso
map /ramos/0364.iso (0xff)
map (hd0) (hd1)
map --hook
root (hd0,0)
chainloader /ntldr
title START_VHD0364
write (md)0x200+1 [FiraDisk]\nStartOptions=disk,vmem=find:/RAMOS/test.vhd,boot;\n\0
map --mem (md)0x200+16 (99)
find --set-root /RAMOS/test.vhd
map /RAMOS/test.vhd (hd0)
map (hd0) (hd1)
map --hook
root (hd0,0)
chainloader /ntldr
title START_ramosVHD0364
find --set-root /RAMOS/test.vhd
map --mem /RAMOS/test.vhd (hd0)
map (hd0) (hd1)
map --hook
root (hd0,0)
chainloader /ntldr
2011mking 发表于 2011-9-29 23:11
创建IMG时镜像可以选择压缩,这样用-mem启动时需要的内存就大大减少了。
但是,如果用g4d启动,根目录下 ...
2011rokku 发表于 2015-4-9 03:36
7B 藍屏與 NTFS 文件壓縮有關嗎?是否有辦法直接透過 DiskGenius 取消那幾個文件的 NTFS 文件壓縮?
...
欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) | Powered by Discuz! X3.3 |