· 6 years ago · Apr 20, 2019, 05:18 PM
1root@ubuntu-budgie:/home/ubuntu-budgie# clonezilla
2Clonezilla mode is device-device
3Setting the TERM as xterm-256color
4Starting /usr/sbin/ocs-onthefly at 2019-04-20 13:47:22 UTC...
5Failed to stop mkswapfile.service: Unit mkswapfile.service not loaded.
6Shutting down the Logical Volume Manager
7Finished Shutting down the Logical Volume Manager
8Excluding busy partition or disk...
9Disk number: 3
10Excluding busy partition or disk...
11Disk number: 2
12/usr/sbin/ocs-onthefly: line 2247: ocs_onthefly_param_postaction_after_clone: command not found
13PS. Next time you can run this command directly:
14/usr/sbin/ocs-onthefly -g auto -e1 auto -e2 -r -j2 -sfsck -f sda -t sdb
15This command is also saved as this file name for later use if necessary: /tmp/ocs-onthefly-2019-04-20-13-48
16*****************************************************.
17Press "Enter" to continue...
18*****************************************************.
19*****************************************************.
20setterm: terminal xterm-256color does not support --blank
21*****************************************************.
22Searching for data partition(s)...
23Excluding busy partition or disk...
24Unmounted partitions (including extended or swap):
25Collecting info. done!
26WARNING!!! WARNING!!! WARNING!!!
27WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sdb
28*****************************************************.
29Machine: HP Pavilion Notebook
30sdb (1000GB_SanDisk_SSD_PLUS_SanDisk_SSD_PLUS_1000GB_190532805407)
31*****************************************************.
32Are you sure you want to continue? (y/n) y
33OK, let's do it!!
34*****************************************************.
35Let me ask you again.
36WARNING!!! WARNING!!! WARNING!!!
37WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sdb
38Are you sure you want to continue? (y/n) y
39OK, let's do it!!
40*****************************************************.
41Saving the GPT of /dev/sda as /tmp/ocs_onthefly_local.6aRwLH/src-gpt.gdisk by sgdisk...
42The operation has completed successfully.
43Saving the primary GPT of /dev/sda as /tmp/ocs_onthefly_local.6aRwLH/src-gpt-1st.img by dd...
4434+0 records in
4534+0 records out
4617408 bytes (17 kB, 17 KiB) copied, 0.000162764 s, 107 MB/s
47Saving the secondary GPT of /dev/sda as /tmp/ocs_onthefly_local.6aRwLH/src-gpt-2nd.img by dd...
4832+0 records in
4932+0 records out
5016384 bytes (16 kB, 16 KiB) copied, 8.7677e-05 s, 187 MB/s
51*****************************************************.
52Collecting partition /dev/sda1 info...
53Collecting partition /dev/sda2 info...
54Collecting partition /dev/sda3 info...
55Collecting partition /dev/sda4 info...
56Collecting partition /dev/sda5 info...
57Collecting partition /dev/sda6 info...
58Collecting partition /dev/sda7 info...
59Collecting partition /dev/sda8 info...
60Outputing swap UUID/LABEL of sda5...
61Saving swap /dev/sda5 info in /tmp/ocs_onthefly_local.6aRwLH/swappt-sdb5.info...
62*****************************************************.
63Non-grub boot loader found on /tmp/ocs_onthefly_local.6aRwLH/sdb-mbr...
64The CHS value of hard drive from EDD will be used for sfdisk.
65Sfdisk >= 2.26 does not support C/H/S option. Skip using C/H/S option.
66*****************************************************.
67Will create the partition on the target machine...
68Failed to stop mkswapfile.service: Unit mkswapfile.service not loaded.
69Shutting down the Logical Volume Manager
70Finished Shutting down the Logical Volume Manager
71Trying to clean the MBR and GPT partition table on the destination disk first: /dev/sdb
72Informing the OS of partition table changes... done!
73*****************************************************.
74Running: dd if=/dev/zero of=/dev/sdb bs=512 count=1
751+0 records in
761+0 records out
77512 bytes copied, 0.0016178 s, 316 kB/s
78*****************************************************.
79Error: /dev/sdb: unrecognised disk label
80Running sfdisk --force /dev/sdb < /tmp/ocs_onthefly_local.6aRwLH/tgt-pt.sf
81Checking that no-one is using this disk right now ... OK
82
83Disk /dev/sdb: 931.5 GiB, 1000207286272 bytes, 1953529856 sectors
84Disk model: SanDisk SSD PLUS
85Units: sectors of 1 * 512 = 512 bytes
86Sector size (logical/physical): 512 bytes / 512 bytes
87I/O size (minimum/optimal): 512 bytes / 512 bytes
88
89>>> Script header accepted.
90>>> Script header accepted.
91>>> Script header accepted.
92>>> Script header accepted.
93>>> Script header accepted.
94>>> Script header accepted.
95>>> Created a new GPT disklabel (GUID: B294A3F4-2F9D-4ACA-8D2D-BEE001E40D64).
96/dev/sdb1: Created a new partition 1 of type 'EFI System' and of size 260 MiB.
97/dev/sdb2: Created a new partition 2 of type 'Microsoft reserved' and of size 128 MiB.
98/dev/sdb3: Created a new partition 3 of type 'Microsoft basic data' and of size 279.6 GiB.
99/dev/sdb4: Created a new partition 4 of type 'Linux filesystem' and of size 48.8 GiB.
100/dev/sdb5: Created a new partition 5 of type 'Linux swap' and of size 7.9 GiB.
101/dev/sdb6: Created a new partition 6 of type 'Windows recovery environment' and of size 17.1 GiB.
102/dev/sdb7: Created a new partition 7 of type 'Linux filesystem' and of size 87.9 GiB.
103/dev/sdb8: Created a new partition 8 of type 'Microsoft basic data' and of size 489 GiB.
104/dev/sdb9: Done.
105
106New situation:
107Disklabel type: gpt
108Disk identifier: B294A3F4-2F9D-4ACA-8D2D-BEE001E40D64
109
110Device Start End Sectors Size Type
111/dev/sdb1 2048 534527 532480 260M EFI System
112/dev/sdb2 534528 796671 262144 128M Microsoft reserved
113/dev/sdb3 796672 587222453 586425782 279.6G Microsoft basic data
114/dev/sdb4 587223040 689623039 102400000 48.8G Linux filesystem
115/dev/sdb5 1899476992 1916094463 16617472 7.9G Linux swap
116/dev/sdb6 1917616128 1953517567 35901440 17.1G Windows recovery environment
117/dev/sdb7 689623040 873943039 184320000 87.9G Linux filesystem
118/dev/sdb8 873943040 1899476991 1025533952 489G Microsoft basic data
119
120Partition table entries are not in disk order.
121
122The partition table has been altered.
123Calling ioctl() to re-read partition table.
124Syncing disks.
125This was done by "sfdisk --force /dev/sdb < /tmp/ocs_onthefly_local.6aRwLH/tgt-pt.sf"
126Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
127Informing the OS of partition table changes...Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
128. done!
129The disk and partitions in this system now:
130*****************************************************.
131Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
132Model: ATA SanDisk SSD PLUS (scsi)
133Disk /dev/sdb: 1000GB
134Sector size (logical/physical): 512B/512B
135Partition Table: gpt
136Disk Flags:
137
138Number Start End Size File system Name Flags
139 1 1049kB 274MB 273MB EFI system partition boot, esp
140 2 274MB 408MB 134MB Microsoft reserved partition msftres
141 3 408MB 301GB 300GB Basic data partition msftdata
142 4 301GB 353GB 52.4GB
143 7 353GB 447GB 94.4GB
144 8 447GB 973GB 525GB msftdata
145 5 973GB 981GB 8508MB
146 6 982GB 1000GB 18.4GB Basic data partition hidden, diag
147
148*****************************************************.
149done!
150Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
151*****************************************************.
152*****************************************************.
153Searching for data partition(s) in source disk: sda ...
154Excluding busy partition or disk...
155Unmounted partitions (including extended or swap): sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
156Collecting info......... done!
157*****************************************************.
158Source partition file system is vfat...
159Cloning the /dev/sda1 to /dev/sdb1...
160Clean filesystem header in device /dev/sdb1...
161/dev/sdb1: 8 bytes were erased at offset 0x00000052 (vfat): 46 41 54 33 32 20 20 20
162/dev/sdb1: 1 byte was erased at offset 0x00000000 (vfat): eb
163/dev/sdb1: 2 bytes were erased at offset 0x000001fe (vfat): 55 aa
164*****************************************************.
165Using partclone to clone...
166Run partclone: partclone.vfat -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda1 -O /dev/sdb1
167Partclone fail, please check /var/log/partclone.log !
168*****************************************************.
169Failed to clone /dev/sda1 to /dev/sdb1
170Press "Enter" to continue......
171
172Source partition file system is MS_Reserved_Partition...
173Cloning the /dev/sda2 to /dev/sdb2...
174Clean filesystem header in device /dev/sdb2...
175*****************************************************.
176Using partclone to clone the file system sector by sector...
177Run partclone: partclone.dd -z 10485760 -N -L /var/log/partclone.log -s /dev/sda2 -O /dev/sdb2
178Cloned successfully.
179*****************************************************.
180Source partition file system is ntfs...
181Cloning the /dev/sda3 to /dev/sdb3...
182Clean filesystem header in device /dev/sdb3...
183*****************************************************.
184Using partclone to clone...
185Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda3 -O /dev/sdb3
186Cloned successfully.
187*****************************************************.
188Source partition file system is ext4...
189Cloning the /dev/sda4 to /dev/sdb4...
190Clean filesystem header in device /dev/sdb4...
191*****************************************************.
192Using partclone to clone...
193Run partclone: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda4 -O /dev/sdb4
194Cloned successfully.
195*****************************************************.
196Source partition file system is ntfs...
197Cloning the /dev/sda6 to /dev/sdb6...
198Clean filesystem header in device /dev/sdb6...
199*****************************************************.
200Using partclone to clone...
201Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda6 -O /dev/sdb6
202Cloned successfully.
203*****************************************************.
204Source partition file system is ext4...
205Cloning the /dev/sda7 to /dev/sdb7...
206Clean filesystem header in device /dev/sdb7...
207*****************************************************.
208Using partclone to clone...
209Run partclone: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda7 -O /dev/sdb7
210Cloned successfully.
211*****************************************************.
212Source partition file system is ntfs...
213Cloning the /dev/sda8 to /dev/sdb8...
214Clean filesystem header in device /dev/sdb8...
215*****************************************************.
216Using partclone to clone...
217Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda8 -O /dev/sdb8
218Cloned successfully.
219*****************************************************.
220*****************************************************.
221Searching for data partition(s) in target disk for post process: sdb...
222Excluding busy partition or disk...
223Unmounted partitions (including extended or swap): sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
224Collecting info......... done!
225*****************************************************.
226Now tuning the file system size on partition /dev/sdb1 to fit the partition size...
227Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
228Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
229Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
230"EFI" is an unknown or unsupported filesystem... Skip resizing that.
231*****************************************************.
232Now tuning the file system size on partition /dev/sdb2 to fit the partition size...
233Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
234Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
235"MS_Reserved_Partition" is an unknown or unsupported filesystem... Skip resizing that.
236*****************************************************.
237Now tuning the file system size on partition /dev/sdb3 to fit the partition size...
238Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
239Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
240ntfsresize -f -f /dev/sdb3
241ntfsresize v2017.3.23AR.3 (libntfs-3g)
242Device name : /dev/sdb3
243NTFS volume version: 3.1
244Cluster size : 4096 bytes
245Current volume size: 300249997824 bytes (300250 MB)
246Current device size: 300250000384 bytes (300251 MB)
247New volume size : 300249997824 bytes (300250 MB)
248Nothing to do: NTFS volume size is already OK.
249*****************************************************.
250Now tuning the file system size on partition /dev/sdb4 to fit the partition size...
251Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
252Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
253e2fsck -f -y /dev/sdb4; resize2fs -p -f /dev/sdb4
254e2fsck 1.44.6 (5-Mar-2019)
255Pass 1: Checking inodes, blocks, and sizes
256Pass 2: Checking directory structure
257Pass 3: Checking directory connectivity
258Pass 4: Checking reference counts
259Pass 5: Checking group summary information
260/dev/sdb4: 153929/3203072 files (0.1% non-contiguous), 1473775/12800000 blocks
261resize2fs 1.44.6 (5-Mar-2019)
262The filesystem is already 12800000 (4k) blocks long. Nothing to do!
263
264*****************************************************.
265Now tuning the file system size on partition /dev/sdb5 to fit the partition size...
266Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
267Unknown or unsupported partition (/dev/sdb5) found! Skip this partition /dev/sdb5.
268*****************************************************.
269Now tuning the file system size on partition /dev/sdb6 to fit the partition size...
270Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
271Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
272ntfsresize -f -f /dev/sdb6
273ntfsresize v2017.3.23AR.3 (libntfs-3g)
274Device name : /dev/sdb6
275NTFS volume version: 3.1
276Cluster size : 4096 bytes
277Current volume size: 18381533696 bytes (18382 MB)
278Current device size: 18381537280 bytes (18382 MB)
279New volume size : 18381533696 bytes (18382 MB)
280Nothing to do: NTFS volume size is already OK.
281*****************************************************.
282Now tuning the file system size on partition /dev/sdb7 to fit the partition size...
283Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
284Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
285e2fsck -f -y /dev/sdb7; resize2fs -p -f /dev/sdb7
286e2fsck 1.44.6 (5-Mar-2019)
287Pass 1: Checking inodes, blocks, and sizes
288Inode 273192 extent tree (at level 1) could be shorter. Optimize? yes
289
290Inode 318301 extent tree (at level 2) could be narrower. Optimize? yes
291
292Pass 1E: Optimizing extent trees
293Pass 2: Checking directory structure
294Pass 3: Checking directory connectivity
295Pass 4: Checking reference counts
296Pass 5: Checking group summary information
297
298/dev/sdb7: ***** FILE SYSTEM WAS MODIFIED *****
299/dev/sdb7: 613060/5767168 files (2.3% non-contiguous), 21076366/23040000 blocks
300resize2fs 1.44.6 (5-Mar-2019)
301The filesystem is already 23040000 (4k) blocks long. Nothing to do!
302
303*****************************************************.
304Now tuning the file system size on partition /dev/sdb8 to fit the partition size...
305Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
306Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
307ntfsresize -f -f /dev/sdb8
308ntfsresize v2017.3.23AR.3 (libntfs-3g)
309Device name : /dev/sdb8
310NTFS volume version: 3.1
311Cluster size : 4096 bytes
312Current volume size: 525073379840 bytes (525074 MB)
313Current device size: 525073383424 bytes (525074 MB)
314New volume size : 525073379840 bytes (525074 MB)
315Nothing to do: NTFS volume size is already OK.
316*****************************************************.
317Creating the swap partition if exists...
318Found the swap partition /dev/sdb5, create it by:
319mkswap -U 29c4f81e-ed81-435b-a45f-4562e2a53157 /dev/sdb5
320Setting up swapspace version 1, size = 7.9 GiB (8508141568 bytes)
321no label, UUID=29c4f81e-ed81-435b-a45f-4562e2a53157
322*****************************************************.
323Trying to remove udev hardware record in the restored OS...
324The specified destination device: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
325Trying to remove udev persistent files. The devices to be searched: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8...
326Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
327Now searching possible device /dev/sdb1...
328Now searching possible device /dev/sdb2...
329Skip /dev/sdb3 (ntfs).
330Now searching possible device /dev/sdb4...
331Skip /dev/sdb5 (swap).
332Skip /dev/sdb6 (ntfs).
333Now searching possible device /dev/sdb7...
334Skip /dev/sdb8 (ntfs).
335done!
336*****************************************************.
337Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
338Device /dev/sdb1 is not a FAT partition.
339Skip updating syslinux on that.
340Device /dev/sdb2 is not a FAT partition.
341Skip updating syslinux on that.
342Device /dev/sdb3 is not a FAT partition.
343Skip updating syslinux on that.
344Device /dev/sdb4 is not a FAT partition.
345Skip updating syslinux on that.
346Device /dev/sdb5 is not a FAT partition.
347Skip updating syslinux on that.
348Device /dev/sdb6 is not a FAT partition.
349Skip updating syslinux on that.
350Device /dev/sdb7 is not a FAT partition.
351Skip updating syslinux on that.
352Device /dev/sdb8 is not a FAT partition.
353Skip updating syslinux on that.
354*****************************************************.
355Running: ocs-install-grub -s sdb auto
356Found grub partition: /dev/sdb4
357Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
358Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
359Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
360Disk /dev/sdb is not MBR format or GPT disk with a special 'bios_boot' partition. Skip the reinstallation of grub-pc (MBR) program.
361*****************************************************.
362Try to run partclone.ntfsfixboot for NTFS boot partition if it exists. Scanning partition(s): sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8...
363Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
364Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
365Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
366Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 4688 blocks) or continue with the current setting?
367The NTFS boot partition was not found or not among the restored partition(s). Skip running partclone.ntfsfixboot.
368*****************************************************.
369/usr/sbin/ocs-onthefly: line 2545: /var/lib/clonezilla/ocs-vars: No such file or directory
370/usr/sbin/ocs-onthefly: line 2546: /var/lib/clonezilla/ocs-vars: No such file or directory
371/usr/sbin/ocs-onthefly: line 2547: /var/lib/clonezilla/ocs-vars: No such file or directory
372Checking if udevd rules have to be restored...
373Now syncing - flush filesystem buffers...
374Ending /usr/sbin/ocs-onthefly at 2019-04-20 17:13:11 UTC...
375Press "Enter" to continue......
376root@ubuntu-budgie:/home/ubuntu-budgie#