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

[原创]longhorn wim封装不再神秘---install.wim剖析

[复制链接]
发表于 2005-6-28 14:07:11 | 显示全部楼层 |阅读模式
[这个贴子最后由peak8在 2005/06/30 08:43pm 第 6 次编辑]

前些天笔者下载了“WinXP_W2K3_WIM_免激活预封装_for_FtpDown_v1.0”,便对“WIM”封装起了兴趣。
众所周知,微软从WINDOWS LONGHORN开始,其封装及其安装采取新的方式:WINPE+INSTALL.WIM镜像。
本来想法挺简单的:自己用ximage.exe做个镜像文件,然后替换原来ccfly888里的install.wim。但是,在测试时发现并不能出现winpe的启动画面。
随后,我联系了hnlyzhd,经他指点,知道是自己的install.wim出了问题,于是我用ximage /info  d:\install.wim查看了ccfly888里的install.wim(见下图)。
[UploadFile=00_1119940346.jpg]
从这个图可以看出,ccfly888的install.wim分成3部分了。第一部分:WinPE Boot Image; 第二部分:WinPE Drive Image; 第三部分:windows xp
知道了文件的结构就不难制作了,于是,我就想怎样将前两部分加到我自己的install.wim中,接着我用ximage /?查看了其中的帮助看到里面有 /boot和/append两个参数。于是,我一下子明白是怎么回事了。现在将具体的制作思路写在下面:
step 1.从ccfly888的install.wim提取第一部分:WinPE Boot Image到指定的空分区(盘符设为J:),然后执行命令:ximage /apply  D:\install.wim  J:  1
(“1”不能少,用来指定提取第一部分启动信息)
step 2.用ximage /boot 来生成带启动信息的WIM镜像,具体命令如下:
ximage /boot /capture /lzx /flags 1 J: e:\install.wim "WinPE Boot Image"
/capture表示生成镜像,/flags 1 表示用户自定义的标记。这里仍然遵循原镜像的约定。
/lzx 是压缩参数,经过测试,这是最大的压缩参数。
引号里的参数是自定义的描述性信息
step 3.删除D分区所有文件,从原install.wim里释放第二部分到D分区,命令如下
ximage /apply  D:\install.wim  J:  2
(“2”不能少,用来指定提取第二部分驱动信息)
step 4将D分区里的驱动信息追加到step 2中生成已经带启动信息的install.wim中,命令如下:
ximage /append /lzx /scroll /flags 2 D: e:\install.wim "WinPE Drive Image"
(/append表示追加,/scroll表示以滚屏方式显示进度,/flags 2表示作的标记,仍然遵循原镜像的约定)
到此为止,主要工作就完成了,现在生成的wim镜像已经含有PE必需的启动信息和驱动信息.剩下的工作是,你找个裸机,安装xp-减肥-封装。然后再用ximage /append命令将xp追加到step 4生成的wim镜像中,然后你再用这个install.wim镜像替换ccfly888提供的ISO里的相应到此的文件
到此为止所有工作完成!
如有不妥之处,敬请指正!
从老外的论坛里copy了一下文字,供大家参考,主要谈论了用 Longhorn 的技术来repack xp. 有些乱!
Use the Sysprep version installed by Longhorn 4074. USe it';s GUI to set the following settings: Mode: factory, image:yes, exit:exit.
When you install Longhorn 4074, you get a folder named sysprep on your installation drive.If you enter, there is a file called sysprep.exe. Sysprep is one of the deployment tools for all Windows NT-based OS. Also, I';ve found out that this won';t fully work, as the installer will request the product key for Longhorn, not for XP. To avoid this, copy pidgen.dll and setupp.ini from the original (non-repacked) installation CD to the ISO image using UltraISO overwriting the previous ones.
Well i needed a repacked version cos i am creating Windows XP Live-CD and now i can create Windows XP Live-CD WIM Edition, thnks guys! Yeah i have made a bootable CD with booting Windows XP Preinstallation Environment created with PEBuilder and when it';s booting from WIM it booting realy fast!
P.S: When i sysprep my XP with Sysprep of LH4074 i getted a BSOD but i think that just a trouble with sysprepping my system with non-cooling Riva TNT Video Card.
So please in points how can i sysprep my XP so i can put it in WIM and i can be guranteed that it will work on another PC if i unpack it there? I have heard about some patch which fixes 0x0000007B which is about IDE controller problem and i can find it but it';s not the same as sysprepping XP...
Remove the FAKE section, as that';s unneeded, and it';s possible that it won';t even boot. What you need to do is to change the image index numbers. And I forgot a few steps.
Before sysprepping the OS, do the following:
1. Copy the I386 (and AMD64&IA64 if they exist) folder(s) of the installation disc to the system root of that OS. Be sure to do this from inside the OS.
2. Install TweakUI to it, and modify the installation source to %SystemRoot%\I386 (or AMD64/IA64 if you use a different platform).
3. If you don';t want to pack TweakUI together with the OS, then remove it now.
4. Copy the SYSPREP folder of the Longhorn 4074 or 5048 installation or extracted WIM.
5. Run the uncabsrc.cmd file of the copied SYSPREP folder from inside the OS being repacked.
And finally, sysprep the installation using the SYSPREP program in the newly copied folder.
It';s recommended that you do this in a PC emulator, such as VMware, Bochs, Virtual PC or Virtual Server.
发表于 2005-6-28 14:18:15 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

最好写得详细些,把上午说的那些东西全写上,让人一看就明白。
回复

使用道具 举报

发表于 2005-6-28 14:18:36 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

通过对wim的研究,我发现可以用wim对winpe进行压缩,这样原来200M的WinPE就可以被压缩到100M以内,而且还可以启动。
但是目前只支持longhorn中提取出来的winpe,其他基于xp制作的pe无法启动。
不过这已经是很令人兴奋的事情了。
回复

使用道具 举报

 楼主| 发表于 2005-6-28 14:35:48 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

[这个贴子最后由peak8在 2005/06/28 06:40pm 第 1 次编辑]

顺便说一下,ximage的压缩功能是Ghost所不及的!!
回复

使用道具 举报

发表于 2005-6-28 14:44:07 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

好。
回复

使用道具 举报

发表于 2005-6-28 15:45:14 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

回复

使用道具 举报

发表于 2005-6-28 15:49:16 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

真不错啊!
回复

使用道具 举报

发表于 2005-6-28 16:20:39 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

热切关注中
回复

使用道具 举报

发表于 2005-6-28 17:21:42 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析


Wim 技术是明日之星,密切关注相关技术的发展!!! ;)
回复

使用道具 举报

发表于 2005-6-28 17:39:03 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

ximage的压缩功能是Ghost所不及的!!有如此神奇功能?
看来我们要将研究发展方向转向WIMAGE?
回复

使用道具 举报

发表于 2005-6-28 18:02:34 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

请问ximage哪里有下?
呵呵,这说明了封装系统(也就是俗谓的万能克隆)是很有发展前途的,至少微软就用上了。
回复

使用道具 举报

发表于 2005-6-28 18:31:04 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

[UploadFile=xImage_1119954622.rar][UploadFile=xImage_1119954631.rar]
大家研究一下:XIMAGE
回复

使用道具 举报

发表于 2005-6-28 18:54:49 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

谢谢楼主的分析,受益非浅。
回复

使用道具 举报

发表于 2005-6-28 20:48:56 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

我倒是比较期待微破的版本,它的似乎还含有一些封装外的技术。
sources目录下的一些inf文件应该不是摆设。
回复

使用道具 举报

发表于 2005-6-28 21:31:48 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由秋无痕98022005/06/28 08:48pm 发表的内容:
我倒是比较期待微破的版本,它的似乎还含有一些封装外的技术。
sources目录下的一些inf文件应该不是摆设。
我看过了,除了install.wim和pidgen.dll不同,其他的文件和longhorn 4074是一模一样的。
回复

使用道具 举报

发表于 2005-6-28 21:37:00 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由xiamenatc2005/06/28 09:31pm 发表的内容:
我看过了,除了install.wim和pidgen.dll不同,其他的文件和longhorn 4074是一模一样的。也就是说你只需要替换你自己做的install.wim和相应的pidgen.dll就可以了。
回复

使用道具 举报

发表于 2005-6-28 22:01:48 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由xiamenatc2005/06/28 09:31pm 发表的内容:
我看过了,除了install.wim和pidgen.dll不同,其他的文件和longhorn 4074是一模一样的。
那么龙卷风现在发布这个可能只是把GHOST镜像换作WIM镜像,其他的和现在的GHOST版应该没区别。
回复

使用道具 举报

发表于 2005-6-28 22:37:49 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

现在没有时间,先占贴关注一下……
回复

使用道具 举报

发表于 2005-6-28 22:43:41 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

关键是中文的longhorn界面在哪里修改呢?
回复

使用道具 举报

发表于 2005-6-28 22:48:06 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

我看原创者的安装过程介绍是中文的,但是我下了没有安装,所以不知道到底是什么文的。现在还不太成熟,过一段时间再用也不迟。
回复

使用道具 举报

发表于 2005-6-28 23:17:51 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

关注中
回复

使用道具 举报

发表于 2005-6-28 23:32:22 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由秋无痕98022005/06/28 10:01pm 发表的内容:
那么龙卷风现在发布这个可能只是把GHOST镜像换作WIM镜像,其他的和现在的GHOST版应该没区别。
从目前来看是这样的。
回复

使用道具 举报

发表于 2005-6-29 01:05:34 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

看来是种新的封装技术啊,可以给个详细点的教程吗?
回复

使用道具 举报

发表于 2005-6-29 02:36:07 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由xiamenatc2005/06/28 02:18pm 发表的内容:
通过对wim的研究,我发现可以用wim对winpe进行压缩,这样原来200M的WinPE就可以被压缩到100M以内,而且还可以启动。
但是目前只支持longhorn中提取出来的winpe,其他基于xp制作的pe无法启动。
不过这已经是很令 ...
可不可以把这个技术用到类似“深山红叶”系列的维护盘上面呢
回复

使用道具 举报

发表于 2005-6-29 03:51:29 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

原来是4074的。
难怪我的5048不行。
期待longhorn beta出来时
回复

使用道具 举报

 楼主| 发表于 2005-6-29 08:49:13 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由打狗协会理事2005/06/28 10:48pm 发表的内容:
我看原创者的安装过程介绍是中文的,但是我下了没有安装,所以不知道到底是什么文的。现在还不太成熟,过一段时间再用也不迟。
我也做了个类似ccfly888的wim-xp,  安装界面是英文的,目前,ximage只是个能做带pe启动信息的镜象工具!而不是封装工具!!
要知道longhorn是怎么封装的,需要研究longhorn里的install.wim
回复

使用道具 举报

发表于 2005-6-29 09:55:33 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

热切等待MCC给出LH封装模式的系统和教程.
回复

使用道具 举报

发表于 2005-6-29 10:06:27 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

下面引用由秋无痕98022005/06/28 08:48pm 发表的内容:
我倒是比较期待微破的版本,它的似乎还含有一些封装外的技术。
sources目录下的一些inf文件应该不是摆设。
同意,还有不少的xml文件也很重要哦,大部分都和注册表有关,不知道MCC怎么解决电源模式之类的问题.
回复

使用道具 举报

发表于 2005-6-29 12:39:16 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

等待成熟技术。
回复

使用道具 举报

发表于 2005-6-29 12:42:09 | 显示全部楼层

[原创]longhorn wim封装不再神秘---install.wim剖析

期待详细教程~~~^^^^
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-16 19:40

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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