[Image製作] realloc(): invalid next size無法成功開始製作Image問題

40 views
Skip to first unread message

Benno Chang

unread,
Mar 16, 2021, 5:09:11 AM3/16/21
to 再生龍clonezilla
再生龍的各位大神們 你好
請教一夏,我在製作輩分image時會出現錯誤
clonezilla.log file我截下來了如附檔
原生OS為ubuntu, 在Samsung Nvme SSD中,希望Image到SATA SSD中
原生OS確定都可以正常開機,但為減少Image大小故磁區有壓縮過
Clonezilla live 版本使用 2.7.1-22
還請幫我看看是否可能有解  謝謝~

123.PNG

Steven Shiau

unread,
Mar 18, 2021, 8:27:51 AM3/18/21
to ocs-clo...@googlegroups.com
可以在開啟Clonezilla live之後,進入命令列,然後執行
1. sudo parted -s /dev/nvme0n1 print
2. sudo sfdisk -d /dev/nvme0n1

請貼出上述兩個指令的結果。

Steven
> 123.PNG
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/8d358ec1-b323-4206-9e99-f5eb6edd6550n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/8d358ec1-b323-4206-9e99-f5eb6edd6550n%40googlegroups.com?utm_medium=email&utm_source=footer>。

--
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

Benno Chang

unread,
Mar 19, 2021, 8:25:03 AM3/19/21
to 再生龍clonezilla
Hi Steven,
感謝回復,log如下

sudo parted -s /dev/nvme0n1 print
realloc(): invalid next size

sudo sfdisk -d /dev/nvme0n1
label: gpt
label-id: E660C4C4-C978-47AC-B83E-A071584FD9F7
device: /dev/nvme0n1
unit: sectors
first-lba: 34
last-lba: 1000215182
sector-size: 512
/dev/nvme0n1p1 : start=          64, size=     1047488, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=F70875EB-3B9A-4E43-BEC8-CED21B4CE8FC, name="ableMonitor=0, bUseVssOK=0.\x0a"
/dev/nvme0n1p2 : start=     1047552, size=    33554432, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=FB64F046-90E4-4722-833E-06857157E87F
/dev/nvme0n1p3 : start=    34601984, size=    59350016, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=3B8FFDEB-8008-4794-931D-F6C1D9C5CE6B

Steven Shiau 在 2021年3月18日 星期四下午8:27:51 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Mar 19, 2021, 8:32:40 AM3/19/21
to ocs-clo...@googlegroups.com
這個問題看來是parted掛掉了。請用不同版本的Clonezilla live看看。
http://clonezilla.nchc.org.tw/clonezilla-live/download/
20210127-groovy或者20210317-hirsute

Steven
> <https://groups.google.com/d/msgid/ocs-clonezilla/8d358ec1-b323-4206-9e99-f5eb6edd6550n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ocs-clonezilla/8d358ec1-b323-4206-9e99-f5eb6edd6550n%40googlegroups.com?utm_medium=email&utm_source=footer>>。
>
>
> --
> 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
>
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/16eb6131-e06c-47e7-8226-ad01360147d4n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/16eb6131-e06c-47e7-8226-ad01360147d4n%40googlegroups.com?utm_medium=email&utm_source=footer>。

Benno Chang

unread,
Apr 5, 2021, 10:11:23 PM4/5/21
to 再生龍clonezilla
Hi 不好意思後續測試完備其他事耽擱,沒有及時回報結果,
以上的版本加上用舊版實驗過還是錯在相同地方
花了點時間才發現點奇怪的地方
後續使用GParted看過發現問題的磁碟磁區和正常新安裝的ubuntu不太一樣,不知道有沒有可能是這原因,
因為圖片貼不上來用以下方式表示:
正常ubuntu磁區劃分0 1 2 3
怪怪OS的磁區劃分   3 1 2

奇怪的是都是可以正常開機的@w@
後面我們決定直接留存一份Golden備份就好,有事用克隆的救回來,這段時間感謝解答  謝謝



Steven Shiau 在 2021年3月19日 星期五下午8:32:40 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Apr 8, 2021, 8:56:35 AM4/8/21
to ocs-clo...@googlegroups.com

On 4/6/21 10:04 AM, Benno Chang wrote:
> 正常ubuntu磁區劃分0 1 2 3
> 怪怪OS的磁區劃分   3 1 2
也許就是這樣讓某個版本的parted算到亂掉了,所以才會crash。這問題也許新版或者舊版的parted不會發生。因此之後若有新版的parted用在Clonezilla
live,您可以試看看。

當然,若可以協助回報到上游,這問題應該是可以比較快解決。

Steven
Reply all
Reply to author
Forward
0 new messages