Windows 2008 R2上的100M系统隐藏分区

HP-UX、Linux、Tru64 UNIX、NonStop、OpenVMS、Windows Server等,数据中心、虚拟化方案等

版主: xyevolve

版面规则
1. 本版是定位于惠普软件系统及解决方案的技术讨论区。
2. 本版鼓励发帖共同讨论技术问题,不鼓励站内信件私下交流,独知知不如众知知。
3. 本版允许转贴或引用他人的作品,但必须声明原作者信息。
4. 本版禁止发表出售、求购、或其他非技术讨论等帖子。
5. 本版禁止灌水,包括但不限于任何与所讨论主题无关的回复,无意义字符,直接复制其他回复等。
6. 本站附件禁止用于商业目的,请在下载后24小时内删除,本站不对其造成的结果负任何责任。
回复
HEUNG
荣誉版主
帖子: 229
注册时间: 2011年 1月 26日 23:31 星期三

Windows 2008 R2上的100M系统隐藏分区

帖子 HEUNG » 2011年 11月 2日 15:30 星期三

当安装Windows 2008 R2到一个新的磁盘(指未分区或格式化)上时,操作系统会自动创建一个100mb大小的隐藏系统分区.

我想用HP Insight Control Server Deployment [RDP]实现同样的功能,请问Windows OS installer是不是从一个unattended xml文件读取这些信息并创建100M分区的呢?

谢谢大家!

头像
MUDBOY
创始人
帖子: 3877
注册时间: 2010年 12月 28日 21:17 星期二

Re: Windows 2008 R2上的100M系统隐藏分区

帖子 MUDBOY » 2011年 11月 2日 15:39 星期三

是的

提供一个PE的节选部分作参考

代码: 全选

        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>100</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Size>64000</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>Windows</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Extend>true</Extend>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
提倡分享之精神, 技术问题请在相关版面直接发帖, 站内短信恕不答复.
I don't answer private messages on topics of public interest, because it defeats the whole purpose of a message board.

HEUNG
荣誉版主
帖子: 229
注册时间: 2011年 1月 26日 23:31 星期三

Re: Windows 2008 R2上的100M系统隐藏分区

帖子 HEUNG » 2011年 11月 2日 15:40 星期三

Windows installer 使用的是一个现成的unmodified answer file还是一个需要编辑的answer file?

头像
MUDBOY
创始人
帖子: 3877
注册时间: 2010年 12月 28日 21:17 星期二

Re: Windows 2008 R2上的100M系统隐藏分区

帖子 MUDBOY » 2011年 11月 2日 15:49 星期三

1. Windows installer 总是优先检索和使用定制的响应文件.
2. 当定制的响应文件 answer file不存在时, 会在(windows\system32\sysprep and windows\panther) 检索旧的响应文件answer file .
3. 当没有相应文件时,会使用默认的设置. 当你定制安装后的 sysprep /generalize /oobe 就成了默认设置.

Point 1:
WindowsPE, Offline Servicing -> always looking for answer file in the installation root folder and on the root folder of all USB drives
Point 2:
Generalize -> pointing to sysprep folder
Point 3:
Specialize, OOBE -> looking for answer file in panther folder.


使用 sysprep 的选项 “/unattend:” ,answer file 放置两个地方 (sysprep and panther)


如果你准备使用自己的响应文件answer files时, 记得设置c:\windows\setup\scripts\setupcomplete.cmd 并把所有的响应文件放好answer files! 否则可能会遇到使用其他响应文件的麻烦.
提倡分享之精神, 技术问题请在相关版面直接发帖, 站内短信恕不答复.
I don't answer private messages on topics of public interest, because it defeats the whole purpose of a message board.

回复