目前使用 alternative stable - 20250620-plucky 版本,映像檔是 100GB + 18GB,用 SATA 硬碟製作
還原到 SATA 硬碟的時候,如果下 -r -k1 參數,會變成 C 磁碟分割區沒有改變,變成 100GB,然後剩下的空間為 D 磁碟,紀錄檔如下:
/dev/sda1: Created a new partition 1 of type 'HPFS/NTFS/exFAT' and of size 100 GiB.
/dev/sda2: Created a new partition 2 of type 'HPFS/NTFS/exFAT' and of size 365.7 GiB.
/dev/sda3: Done.
Thanks.
Steven
如果還原到 NVMe 硬碟,調整硬碟空間大小就會正常作用,紀錄檔如下:/dev/nvme0n1p1: Created a new partition 1 of type 'HPFS/NTFS/exFAT' and of size 200 GiB.
/dev/nvme0n1p2: Created a new partition 2 of type 'HPFS/NTFS/exFAT' and of size 38.5 GiB.
/dev/nvme0n1p3: Done.
--
這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com。
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/25720e4f-b40c-4a83-ba73-48ffb398b975n%40googlegroups.com。
-- Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key ID: 4096R/163E3FB0 Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0
oh,我之前看錯了,這個選單的部份是說你的印象檔中有的分割區備份檔是只有來自原本硬碟中的sda5,檔案系統是ext4,大小是21.7
GB。這不是目的分割區只有sda5。
你目的分割區看來的確有sda5.
Steven
--
這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com。
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/25720e4f-b40c-4a83-ba73-48ffb398b975n%40googlegroups.com。
我這邊無法重複這問題,看來也沒啥道理可以在nvme的硬碟成功,但是sata硬碟就不行。
請直接夾檔提供:
1. /home/partimag/128GB/sda-pt.sf
2. /home/partimag/128GB/sda-pt.parted
兩個檔案,以便這邊完整測試。
Steven
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/2ee225f4-8d59-4206-872f-c5113f6c32ebn%40googlegroups.com。
我這邊用clonezilla-live 20250620-plucky也無法重複問題,如附件的執行成果。
比較兩個差異,就是你的SSD用的physical sector size是4k,我測試的還有你的nvme disk的都是512。
我手邊暫時沒有這樣4k的SSD可以測試。
若你只是一次性的需要,建議這樣做:
1. 用fdisk或者gparted在目的碟(500GB)上分割成你要的大小,記得這目的分割區一定要比來源分割區大
2. 還原印象檔到500GB硬碟的時候在專家模式選"-k"與"-r",也就是不要再分割硬碟,用剛剛已經切好的分割區。
這樣應該就可以了。
Steven
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/5c09ec93-0a05-4812-9cac-70044aae3d6dn%40googlegroups.com。