Hi,
i try to use partclone on slitaz but it can't start because it is searching for libntfs-3g.so.85 but thsi is libntfs-3g.so.88 which is installed.
Hi,
i try to use partclone on slitaz but it can't start because it is searching for libntfs-3g.so.85 but thsi is libntfs-3g.so.88 which is installed.
Hi,
I have rebuilt it and upgraded it also to version v0.2.70
Can you check if it works for you?
Currently only downloadable here: (1)
install as root:
tazpkg -i ./partclone-0.2.70.tazpkg
I only invoked it, nothing more than (2)
Erkan YILMAZ
http://people.slitaz.org/~eyilmaz/blog/
(1) http://cook.slitaz.org/cooker.cgi?pkg=partclone
(2)
./partclone.imager
partclone.imager v0.2.70 http://partclone.org
Usage: partclone.imager [OPTIONS]
Efficiently clone to an image, device or standard output.
-o, --output FILE Output FILE
-O --overwrite FILE Output FILE, overwriting if exists
-W --restore_raw_file create special raw file for loop device
-s, --source FILE Source FILE
-L, --logfile FILE Log FILE
-c, --clone Save to the special image format
-r, --restore Restore from the special image format
-b, --dev-to-dev Local device to device copy mode
-D, --domain Create ddrescue domain log from source device
--offset_domain=X Add offset X (bytes) to domain log values
-R, --rescue Continue clone while disk read errors
-w, --skip_write_error Continue restore while write errors
-dX, --debug=X Set the debug level to X = [0|1|2]
-C, --no_check Don't check device size and free space
-N, --ncurses Using Ncurses User Interface
-I, --ignore_fschk Ignore filesystem check
-i, --ignore_crc Ignore crc check error
-F, --force Force progress
-f, --UI-fresh Fresh times of progress
-B, --no_block_detail Show progress message without block detail
-z, --buffer_size SIZE Read/write buffer size (default: 1048576)
-q, --quiet Disable progress message
-E, --offset=X Add offset X (bytes) to OUTPUT
-v, --version Display partclone version
-h, --help Display this help
as new partclone would need new drbl, etc can we just rebuild current partclone for now ?
I am OK to test the rebuild version.
@neoclust3
Partclone-0.2.49 built against current 5.0 rolling repo.
tux@slitaz:~$ ldd /usr/sbin/partclone.ntfs
/usr/sbin/partclone.ntfs:
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb77bc000)
libntfs-3g.so.88 => /lib/libntfs-3g.so.88 (0xb7772000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0xb772d000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7712000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0xb76f5000)
libc.so.6 => /lib/libc.so.6 (0xb757f000)
/lib/ld-linux.so.2 => /lib/ld-2.14.1.so (0xb77c1000)
thanks we will test today.
it works perfectly with this new package.
> it works perfectly with this new package.
just to clarify:
you are talking about 0.2.49 or 0.2.70 ?
0.2.49.
But i think we need to update all clonezilla stack to a newer version because sfdisk is too recent.
clonezilla stack is clonezilla, partclone, drbl ( i think i don't forget anything )
i am trying to build partclone 0.2.89
but it fails with:
make[2]: Leaving directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/src'
Making all in docs
make[2]: Entering directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/docs'
Making all in tests
make[2]: Entering directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/tests'
Making all in fail-mbr
make[2]: Entering directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/fail-mbr'
sh compile-mbr.sh
compile-mbr.sh: line 16: dpkg-architecture: not found
compile-mbr.sh: line 16: dpkg-architecture: not found
The architecture is not x86, so the file 'fail-mbr.bin' is not compiled
Copying 'fail-mbr.bin.orig' to 'fail-mbr.bin'
Checking the file:
files fail-mbr.bin and fail-mbr.bin.orig differ significantly:
diff: can't stat 'f1.obj': No such file or directory
Makefile:498: recipe for target 'fail-mbr.bin' failed
make[2]: *** [fail-mbr.bin] Error 1
make[2]: Leaving directory '/home/slitaz/wok/partclone/source/partclone-0.2.89/fail-mbr'
Makefile:397: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/slitaz/wok/partclone/source/partclone-0.2.89'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2
ln: /sbin/findfs: File exists
Build dependencies to remove: 30
Removing: autoconf automake docbook-xml docbook-xml-412 docbook-xml-42
docbook-xml-43 docbook-xml-44 docbook-xsl e2fsprogs e2fsprogs-dev fuse-dev
libcomerr libcomerr-dev libcrypto-dev libgcrypt libgpg-error libxslt
ncursesw-dev ntfs-3g ntfs-3g-dev ntfsprogs ntfsprogs-dev openssl-dev pciids
udev usbids util-linux-blkid util-linux-mount util-linux-smartcols
util-linux-uuid-dev
ERROR: cook failed
Debug information
=============================================================================================================================================================================================================================================
Cook date: 2018-11-14 08:48
Cook time: 33s
ERROR: cook failed
ERROR: cook failed
sh: can't open 'autogen'
diff: can't stat 'f1.obj': No such file or directory
=============================================================================================================================================================================================================================================
compile-mbr.sh: line 16: dpkg-architecture: not found
try to tazpkg -gi dpkg
i don't see it after installing dpkg :
# tazpkg -gi dpkg
"dpkg" package is already installed.
You can use the --forced option to force installation.
home/slitaz# dpkg-architecture
/bin/sh: dpkg-architecture: not found
Hi there,
The problem comes from $src/fail-mbr/compile-mbr.sh
script.
There dpkg-architecture
(I can only guess what is it) used to determine architecture of your system. Right now I try to make latest version of Partclone, 0.3.12, and here this line looks like:
if dpkg-architecture -e amd64 || dpkg-architecture -e i386 || [ "$RPM_ARCH" = "x86_64" ] || [ "$RPM_ARCH" = "i386" ]; then
so I added
export RPM_ARCH=$ARCH
as the first line in the function compile_rules()
in the receipt
.
So, it isn't a problem.
Problem in neoclust3's report is:
diff: can't stat 'f1.obj': No such file or directory
Looking the aforementioned script, f1.obj
is created using command:
objdump -D -b binary -mi386 -Maddr16,data16 fail-mbr.bin > f1.obj
And fail-mbr.bin
in your case is the copy of fail-mbr.bin.orig
(see the message "Copying 'fail-mbr.bin.orig' to 'fail-mbr.bin'"). Check the file $src/fail-mbr/fail-mbr.bin.orig
& $src/fail-mbr/fail-mbr.bin
existence. If they are there, then looks like your objdump
can't produce output.
---
In my case, with version 0.3.12, solution is easy:
1. export RPM_ARCH=$ARCH
and nevermind dpkg-architecture
absence;
2. Second stop, it show me:
sh compile-mbr.sh
compile-mbr.sh: line 17: dpkg-architecture: not found
compile-mbr.sh: line 17: dpkg-architecture: not found
Checking the file:
files fail-mbr.bin and fail-mbr.bin.orig differ significantly:
--- f1.obj
+++ f2.obj
@@ -1,5 +1,5 @@
-fail-mbr.bin: file format binary
+fail-mbr.bin.orig: file format binary
Disassembly of section .data:
@@ -17,7 +17,7 @@
d: 42 inc %dx
e: 52 push %dx
f: 90 nop
- 10: 31 c0 xor %ax,%ax
+ 10: 33 c0 xor %ax,%ax
12: 50 push %ax
13: 1f pop %ds
14: be 33 7c mov $0x7c33,%si
make[2]: *** [Makefile:506: fail-mbr.bin] Error 1
make[2]: Leaving directory '${src}/fail-mbr'
make[1]: *** [Makefile:402: all-recursive] Error 1
make[1]: Leaving directory '${src}'
make: *** [Makefile:343: all] Error 2
But there:
- 10: 31 c0 xor %ax,%ax
+ 10: 33 c0 xor %ax,%ax
I see the same assembly instructions with the different opcodes, so I skip this test using onliner (I put it to the line next to "export RPM_ARCH=$ARCH" in receipt):
sed -i 's|exit 1|exit 0|' fail-mbr/compile-mbr.sh
Well, no more problem.
---
PS. Look here for you assistance: partclone @ next & partclone @ next64. Click on "receipt & stuff" button, look for "logs", etc.
it builds well for me too this way.
thank you.
Btw when you update partclone don't forget to update the whole stack ( partclone, clonezilla, drbl )
Well, thank you for the tip ;-)
You must log in to post.