Compact image prototype for restoring to smaller disks Hello Steven and the Clonezilla community, An old friend is sharing a prototype that shrinks the filesystem when the image is created, so the same image can restore to disks of different sizes. The restore checks the destination first and reports the minimum size if it won’t fit. The Linux test compacted a 192 MiB GPT/ext4 disk image to 82 MiB, then restored it to a 112 MiB image. The file contents matched and the filesystem checks passed. The...
Steven 與 Clonezilla 社群各位好: 這是一位老朋友分享的 Clonezilla 原型。做法是在製作映像時先縮小檔案系統,讓同一份映像可以還原到不同容量的磁碟。還原前先檢查容量,空間不足就停止並回報所需的最小容量。 Linux 測試將 192 MiB 的 GPT/ext4 測試映像縮至 82 MiB,再還原到 112 MiB,並確認檔案內容與檔案系統完整。修補檔也包含 WinPE 與 macOS 的範例,以及未加密與加密 LVM 的整合說明。這些延伸流程仍需在各自的平台驗證。 附件有修補檔與繁體中文技術說明。修補檔內也有英文說明、重現步驟和建議的整合切入點。歡迎大家試用與提供意見。