error when trying to create a bootable img from clonezilla backup

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_topic_old
error when trying to create a bootable img from clonezilla backup
Avatar
Rosika
Member
Forum Posts: 68
Member Since:
November 27, 2014
sp_UserOfflineSmall Offline
1
November 15, 2018 - 8:08 am
sp_Permalink sp_Print

Hello,

I´ve run into a problem when trying to create a mountable img out of a clonezilla-backup.

For doing this I used

sudo cat /dir-to-images/sdb1.ext4-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.ext4 -C -r -W -s - -O /dir-to-new-image/hda1.img

which in my case translates to

sudo cat /media/rosika/58B6A7DE7CA15FC5/Lubuntu_2018-10-16-09-img/sdd2.ext2-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.ext2 -C -r -W -s - -O /media/rosika/545A-B3AE/sdd2.img

This worked for a few minutes. Terminal output:

Partclone v0.2.86 http://partclone.org
Starting to restore image (-) to device (/media/rosika/545A-B3AE/sdd2.img)
Calculating bitmap... Please wait... done!
File system: EXTFS
Device size: 38,2 GB = 9329920 Blocks
Space in use: 27,3 GB = 6663415 Blocks
Free Space: 10,9 GB = 2666505 Blocks
Block size: 4096 Byte

but after 12,33% completion it stopped and I got the error-message:

target seek ERROR:Das Argument ist ungültigpleted: 12,33%, 848,55MB/min, # argument invalid
Partclone fail, please check /var/log/partclone.log !2,37%, 843,94MB/min,

I looked up the log-entries:

Partclone v0.2.86 http://partclone.org
Starting to restore image (-) to device (/media/rosika/545A-B3AE/sdd2.img)
we need memory: 1174500 bytes
image head 4160, bitmap 1166240, crc 4100 bytes
Calculating bitmap... Please wait... done!
File system: EXTFS
Device size: 38,2 GB = 9329920 Blocks
Space in use: 27,3 GB = 6663415 Blocks
Free Space: 10,9 GB = 2666505 Blocks
Block size: 4096 Byte
target seek ERROR:Das Argument ist ungültig # argument is invalid

I´m really at loss here. Can anybody help me?

Tnx a lot in advance.

Rosika

Avatar
Rosika
Member
Forum Posts: 68
Member Since:
November 27, 2014
sp_UserOfflineSmall Offline
2
November 15, 2018 - 9:47 am
sp_Permalink sp_Print

*****UPDATE*****

Hi again.

In the meanwhile I could solve my problem (with the help of user dc.901 from linuxquestions, see: https://www.linuxquestions.org/questions/linux-software-2/error-when-trying-to-create-a-bootable-img-from-clonezilla-backup-4175642336/ )

For anybody interested here´s the solution:

This time I chose the third partition of my HDD for my output file where there was enough free space for sure.

My new command was

sudo cat /media/rosika/58B6A7DE7CA15FC5/Lubuntu_2018-10-16-09-img/sdd2.ext2-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.ext2 -C -r -W -s - -O /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/kgw/Neu/sdd2.img

And: this time the whole process went through to 100 %. Output: "cloned successfully".

Being excited as far as the result is concerned I mounted the resulting sdd2.img with

sudo mount -o loop ./sdd2.img /mnt

from the respective directory.
Unmounting went well with

sudo umount sdd2.img

And indeed: it granted me access to all my personal data from my /home-directory which I had created with clonezilla.

Of course I wanted to find out why things didn´t go well in the first place.

My original command referred to a 128 GB stick with two equally large partitions.

On the 1st one there is my clonezilla data. The second partition was empty. So I thought. But it turned out that in "trash" there were several 4 GB chunks of data. And indeed 33 % of the partition was used. I really didn´t know that.

That seems to have been the reason. Not enough disk space.

So it seems everything works fine now.

Greetings
Rosika

Forum Timezone: America/Indiana/Indianapolis

Most Users Ever Online: 271

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 10

Members: 2388

Moderators: 7

Admins: 4

Forum Stats:

Groups: 8

Forums: 19

Topics: 1802

Posts: 12962

Administrators: Jim Hillier, Richard Pedersen, David Hartsock, Marc Thomas

Moderators: Carol Bratt, dandl, Jason Shuffield, Jim Canfield, Terry Hollett, Dick Evans, Sergey Grankin

Scroll to Top

WHY NOT SUBSCRIBE TO OUR NEWSLETTER?

Get great content like this delivered to your inbox!

It's free, convenient, and delivered right to your inbox! We do not spam and we will not share your address. Period!