准备批量部署Windows XP,最近研究微软通用Ghost文件的制作,发现很多流行的文章都指出,为了给XP“减肥”,教给读者如何删除C盘下的虚拟内存页面文件(Pagefile.sys),休眠文件(Hiberfil.sys)等休眠以及系统交换文件。这些天随意浏览了一下Ghost 8.2和2003的联机帮助文件,发现似乎存在理解误区。
事实上新版本的Ghost已经帮我们做了这些事情了,自己也用GhostExp在平时做的Ghost文件中提取了上述文件出来,的确如Ghost帮助文件所说——Ghost不会在GHO文件中包含休眠或者页面交换文件,如果Ghost的是FAT文件格式,页面文件不会被克隆进GHO中或者目标磁盘(Disk To Disk);如果是NTFS文件格式,页面文件将会存在,但大小都为零字节:
Hibernation and swap files
When Norton Ghost creates image files or clones, it does not include hibernation and swap files. These files are valid only for one Windows session, and when they are included in an image file, they make it significantly larger.
Norton Ghost implements file skipping differently for each type of file system.
※ FAT file systems: Files are not included on the image file or destination disk.
※ NTFS file systems: A file with the same name is created on the image file or destination disk, but the contents of the file are not copied.
The following files are skipped on all file systems:
· 386Spart.par
· Amizvsus.pmf
· Dos data.sf
· Ghost.dta
· Hiberfil.sys
· Hibrn8.dat
· Hybern8
· Navsysl.dat
· Navsysr.dat
· Pagefile.sys
· Pm_hiber.bin
· Save2dsk.bin
· Saveto.dsk
· Spart.par
· Swapper.dat
· Toshiber.dat
· Virtpart.dat
· Win386.swp
看联机帮助还是最好的学习办法之一。
本文探讨了使用Ghost进行Windows XP批量部署时的注意事项,特别是关于如何避免将不必要的虚拟内存页面文件(Pagefile.sys)和休眠文件(Hiberfil.sys)等包含在备份镜像中。通过分析Ghost的帮助文档,揭示了新版本Ghost在处理这些文件时的内部机制。
1075

被折叠的 条评论
为什么被折叠?



