无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4049|回复: 6

[讨论] 如何 “取消” 而不是“破坏”系统的硬链接 ???

[复制链接]
发表于 2018-7-1 06:29:40 | 显示全部楼层 |阅读模式
现象: 系统镜像,安装到vhd 。

1. dism 解压镜像到vhd ,完成安装,正常

2. dism 解压镜像到硬盘的一个目录(ntfs,fat32都可以),再从这个目录复制全部文件到vhd,完成安装,可以进系统,但是不太正常。 比如,左键打不开开始菜单

使用7z 最新18.05解压镜像,失败,但是可以看见那些失败的硬链接
发表于 2018-7-1 21:18:31 | 显示全部楼层
xcopy /b 行不行?还有个robocopy,没研究过,,或其它专业复制工具?
回复

使用道具 举报

发表于 2018-7-1 21:53:35 | 显示全部楼层

上层文件夹需是实体文件夹

上层文件夹需是实体文件夹
左键点不开开始菜单是因为上层文件夹需要是实体文件夹。
回复

使用道具 举报

发表于 2018-7-1 22:07:35 来自手机 | 显示全部楼层
回复

使用道具 举报

发表于 2018-7-2 09:46:02 | 显示全部楼层

以前在跟员外做XP一键primo RAMOS的时候,研究过fastcopy,有处理硬链接的参数,不知道能否解决你所说的问题。
fastcopy /cmd=force_copy /speed=full /auto_close /error_stop=FALSE /log=FALSE /skip_empty_dir=FALSE /linkdest /exclude=hiberfil.sys;pagefile.sys;MSOCache\;"System Volume Information\" .\111 /to=.\test\
你看下fastcopy说明文件。
目录链接和符号连接(Junction and SymLink)
Junction(include MountPoint) and Symlink is supported in ver1.70 or later.
Mode        Details
Diff/Copy        Copy Junction/Symlink itself.
If you want to change the copy Junction/Symlnk's target, it can be changed in the options settings
Move        Always move Junction/Symlink itself.
Delete        Always delete Junction/Symlink itself.
硬链接(HardLink)
HardLink can be reproduced as much as possible, if specified /linkdest option in ver1.95 or later.
(In running, "TotalFiles:" format changes "number_of_files (number_of_dirs)" to "number_of_files / number_of_created_hardlinks (number_of_dirs)").

Two very Important notes:
1. It needs 2-4MB per 10 thousand hardlink entity files. (It depends on path length)
2. It can decrease speed, because it opens not only copying files but also skip files.

If /linkdest option is enabled, /recreate option is enabled tacitly.
If you want always to enable /linkdest option, write [main] linkdest=1 in FastCopy2.ini file.



回复

使用道具 举报

 楼主| 发表于 2018-7-2 18:28:30 | 显示全部楼层
各种尝试,无果.

导致无法制作成ramos
回复

使用道具 举报

发表于 2018-7-4 00:30:30 | 显示全部楼层
直接copy肯定是会破坏硬链接的,要用分区克隆才行。
用dg和dism++的克隆总是会出现小问题,但是ghost屡试不爽,真不知道是用了什么黑科技……
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-3-29 01:54

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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