CloneZilla 小硬碟到大硬碟 -r -k1 無法正常作用

25 views
Skip to first unread message

otto...@gmail.com

unread,
Jul 24, 2025, 3:09:55 AMJul 24
to 再生龍clonezilla
目前使用 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.


如果還原到 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.


Steven Shiau

unread,
Jul 28, 2025, 8:42:59 PMJul 28
to ocs-clo...@googlegroups.com


On 7/24/2025 12:55 PM, otto...@gmail.com wrote:
目前使用 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.

請提供原本分割區資訊的檔案: /home/partimag/128GB/sda-pt.sf

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

Steven Shiau

unread,
Jul 28, 2025, 8:55:46 PMJul 28
to ocs-clo...@googlegroups.com

a3.jpg

oh,我之前看錯了,這個選單的部份是說你的印象檔中有的分割區備份檔是只有來自原本硬碟中的sda5,檔案系統是ext4,大小是21.7 GB。這不是目的分割區只有sda5。
你目的分割區看來的確有sda5.

Steven

On 7/24/2025 12:55 PM, otto...@gmail.com wrote:
--
這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/25720e4f-b40c-4a83-ba73-48ffb398b975n%40googlegroups.com

otto...@gmail.com

unread,
Jul 28, 2025, 10:11:24 PMJul 28
to 再生龍clonezilla
/home/partimag/128GB/sda-pt.sf 內容如下

label: dos
label-id: 0x1a7c55d9
device: /dev/sda
unit: sectors
sector-size: 512

/dev/sda1 : start=        2048, size=   209716968, type=7, bootable
/dev/sda2 : start=   209719016, size=    40345600, type=7

Steven Shiau 在 2025年7月29日 星期二上午8:55:46 [UTC+8] 的信中寫道:

Dragon Chen

unread,
Jul 31, 2025, 4:25:51 AMJul 31
to 再生龍clonezilla
看日志都没有调硬盘大小的动作,直接就按K0来复刻的。
你用正常版本3.2.2-15试试吧,这个替代版本没用过。

otto...@gmail.com

unread,
Aug 3, 2025, 9:02:00 PMAug 3
to 再生龍clonezilla
替代版本只是 Linux 系統換成 Ubuntu(一般版本是 Debian),其他系統是一樣的

Dragon Chen 在 2025年7月31日 星期四下午4:25:51 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Aug 4, 2025, 7:44:41 AMAug 4
to ocs-clo...@googlegroups.com

我這邊無法重複這問題,看來也沒啥道理可以在nvme的硬碟成功,但是sata硬碟就不行。
請直接夾檔提供:
1. /home/partimag/128GB/sda-pt.sf
2. /home/partimag/128GB/sda-pt.parted
兩個檔案,以便這邊完整測試。

Steven

otto...@gmail.com

unread,
Aug 4, 2025, 7:27:36 PMAug 4
to 再生龍clonezilla
已經把這 2 個檔案放到資料夾中,再協助測試:https://drive.google.com/drive/folders/1YhbG-6xkoYS5fFwg5YAuip4yZP7Yc2ga

Steven Shiau 在 2025年8月4日 星期一晚上7:44:41 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Aug 4, 2025, 9:01:20 PMAug 4
to ocs-clo...@googlegroups.com

我這邊用clonezilla-live 20250620-plucky也無法重複問題,如附件的執行成果。
比較兩個差異,就是你的SSD用的physical sector size是4k,我測試的還有你的nvme disk的都是512。
我手邊暫時沒有這樣4k的SSD可以測試。
若你只是一次性的需要,建議這樣做:
1. 用fdisk或者gparted在目的碟(500GB)上分割成你要的大小,記得這目的分割區一定要比來源分割區大
2. 還原印象檔到500GB硬碟的時候在專家模式選"-k"與"-r",也就是不要再分割硬碟,用剛剛已經切好的分割區。

這樣應該就可以了。

Steven

log-ok-ubuntu.txt

otto...@gmail.com

unread,
Aug 5, 2025, 4:59:58 AMAug 5
to 再生龍clonezilla
好的我再來測試看看,感謝

Steven Shiau 在 2025年8月5日 星期二上午9:01:20 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages