This forum requires Javascript to be enabled for posting content
Log In
Please consider registering
Guest
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Register Lost password?
error when trying to create a bootable img from clonezilla backup
Rosika
68 Posts
(Offline)
1
November 15, 2018 - 8:08 am

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

Rosika
68 Posts
(Offline)
2
November 15, 2018 - 9:47 am

*****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
All RSSShow Stats
Administrators:
Jim Hillier
Richard Pedersen
David Hartsock
Moderators:
Carol Bratt
dandl
Jason Shuffield
Jim Canfield
Terry Hollett
Stuart Berg
John Durso
Top Posters:
Chad Johnson: 867
Mindblower: 664
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Newest Members:
JudeLandry
benjaminlouis680309
drogers97439
travishead60
Gohighlevelsnapshots
Forum Stats:
Groups: 8
Forums: 20
Topics: 1941
Posts: 13516

 

Member Stats:
Guest Posters: 11
Members: 3177
Moderators: 7
Admins: 3
Most Users Ever Online: 2303
Currently Online:
Guest(s) 33
Currently Browsing this Page:
1 Guest(s)
Exit mobile version

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!