[RISOLTO] Clonezilla, problema col file immagine

Aperto da ayler, Sabato 22 Agosto 2020, 14:29:15

Discussione precedente - Discussione successiva

ayler

Buongiorno a tutti. Sto cercando di ripristinare vecchie immagini create con clonezilla. A quanto mi ricordi dovrebbero essere file in formato .img.
Ho invece solo trovato cartelle con titoli così
donatella2019-01-09-18-img
Dentro ci trovo questi file
blkdev.list               sda1.ext4-ptcl-img.gz.ab  sda1.ext4-ptcl-img.gz.ao
blkid.list                sda1.ext4-ptcl-img.gz.ac  sda1.ext4-ptcl-img.gz.ap
clonezilla-img            sda1.ext4-ptcl-img.gz.ad  sda1.ext4-ptcl-img.gz.aq
dev-fs.list               sda1.ext4-ptcl-img.gz.ae  sda1.ext4-ptcl-img.gz.ar
disk                      sda1.ext4-ptcl-img.gz.af  sda1.ext4-ptcl-img.gz.as
Info-dmi.txt              sda1.ext4-ptcl-img.gz.ag  sda1.ext4-ptcl-img.gz.at
Info-img-id.txt           sda1.ext4-ptcl-img.gz.ah  sda1.ext4-ptcl-img.gz.au
Info-lshw.txt             sda1.ext4-ptcl-img.gz.ai  sda-chs.sf
Info-lspci.txt            sda1.ext4-ptcl-img.gz.aj  sda-hidden-data-after-mbr
Info-packages.txt         sda1.ext4-ptcl-img.gz.ak  sda-mbr
Info-saved-by-cmd.txt     sda1.ext4-ptcl-img.gz.al  sda-pt.parted
parts                     sda1.ext4-ptcl-img.gz.am  sda-pt.parted.compact
sda1.ext4-ptcl-img.gz.aa  sda1.ext4-ptcl-img.gz.an  sda-pt.sf

In particolare il file
clonezilla-img
Contiene
This image was saved by Clonezilla at 2019-01-09 19:11:42 UTC.
Saved by clonezilla-live-20180812-bionic-amd64.
The log during saving:
----------------------------------------------------------
Starting /usr/sbin/ocs-sr at 2019-01-09 18:28:26 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: sda
PS. La prossima volta potete eseguire direttamente questo comando:
/usr/sbin/ocs-sr -q2 -c -j2 -z1p -i 4096 -sfsck -scs -senc -p poweroff savedisk donatella2019-01-09-18-img sda
*****************************************************.
The selected devices: sda
Searching for data/swap/extended partition(s)...
The data partition to be saved: sda1
The selected devices: sda1
Il passo successivo è quello di salvare l'harddisk/partizione di questa macchina come immagine:
*****************************************************.
Machine: HP Pavilion g6 Notebook PC
sda (500GB_CT500MX500SSD1__CT500MX500SSD1_1816E1373AD6)
sda1 (465.8G_ext4(In_CT500MX500SSD1_)_CT500MX500SSD1_1816E1373AD6)
*****************************************************.
-> "/home/partimag/donatella2019-01-09-18-img".
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Saving block devices info in /home/partimag/donatella2019-01-09-18-img/blkdev.list...
Saving block devices attributes in /home/partimag/donatella2019-01-09-18-img/blkid.list...
Checking the integrity of partition table in the disk /dev/sda...
Reading the partition table for /dev/sda...RETVAL=0
*****************************************************.
The first partition of disk /dev/sda starts at 2048.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be useful for some recovery tool, by:
dd if=/dev/sda of=/home/partimag/donatella2019-01-09-18-img/sda-hidden-data-after-mbr skip=1 bs=512 count=2047
2047+0 records in
2047+0 records out
1048064 bytes (1,0 MB, 1,0 MiB) copied, 0,00593924 s, 176 MB/s
*****************************************************.
Saving the MBR data for sda...
1+0 records in
1+0 records out
512 bytes copied, 0,000626992 s, 817 kB/s
Starting saving /dev/sda1 as /home/partimag/donatella2019-01-09-18-img/sda1.XXX...
/dev/sda1 filesystem: ext4.
*****************************************************.
*****************************************************.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Run partclone: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda1 --output - | pigz -c --fast -b 1024 --rsyncable | split -a 2 -b 4096MB - /home/partimag/donatella2019-01-09-18-img/sda1.ext4-ptcl-img.gz. 2> /tmp/split_error.aLSu0Y
Partclone v0.3.11 http://partclone.org
Starting to clone device (/dev/sda1) to image (-)
Reading Super Block
memory needed: 36233540 bytes
bitmap 15262016 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  EXTFS
Device size:  500.1 GB = 122096128 Blocks
Space in use: 120.9 GB = 29526499 Blocks
Free Space:   379.2 GB = 92569629 Blocks
Block size:   4096 Byte
Total block 122096128
Syncing... OK!
Partclone successfully cloned the device (/dev/sda1) to the image (-)
>>> Time elapsed: 2508.45 secs (~ 41.807 mins)
*****************************************************.
Finished saving /dev/sda1 as /home/partimag/donatella2019-01-09-18-img/sda1.ext4-ptcl-img.gz
*****************************************************.
End of saveparts job for image /home/partimag/donatella2019-01-09-18-img.
*****************************************************.
*****************************************************.
End of savedisk job for image donatella2019-01-09-18-img.
Checking if udevd rules have to be restored...
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
### End of log ###
### Image created time: 2019-0109-1911

Come faccio a ripristinare questa immagine?
Grazie
Nostra patria è il mondo intero / nostra legge è la libertà (Pietro Gori, 1895)
https://youtu.be/ZWRji_4cvsU

ayler

In effetti il file immagine era proprio quello. Tutto funziona, se non fosse per un altro problema che affronterò in un altro topic!
Nostra patria è il mondo intero / nostra legge è la libertà (Pietro Gori, 1895)
https://youtu.be/ZWRji_4cvsU