Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_topic_old
error when trying to create a bootable img from clonezilla backup
Avatar
Rosika
Member
Members
November 15, 2018 - 8:08 am
Member Since: November 27, 2014
Forum Posts: 68
sp_UserOfflineSmall Offline

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
Members
November 15, 2018 - 9:47 am
Member Since: November 27, 2014
Forum Posts: 68
sp_UserOfflineSmall Offline

*****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: 2303
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chad Johnson: 867
Mindblower: 684
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Member Stats:
Guest Posters: 11
Members: 3235
Moderators: 7
Admins: 3
Forum Stats:
Groups: 8
Forums: 20
Topics: 1959
Posts: 13578
Newest Members:
EndaDeRoade, Oliviamurphy, JohnsonXandra, miaalexandra, Toastmaster
Moderators: Carol Bratt: 67, dandl: 740, Jason Shuffield: 1, Jim Canfield: 8, Terry Hollett: 0, Stuart Berg: 0, John Durso: 0
Administrators: Jim Hillier: 2709, Richard Pedersen: 215, David Hartsock: 1117
Scroll to Top