Vous n'êtes pas connecté.
Pages: 1
Hello everyone, I am addressing developers, I would like to draw attention to creating a minimalist flavor, debian-clonzilla style, that would provide the same services.
The original revolves around a folder (live) of 380Mb, which added to the debian live we are on 485Mb.
I tried creating a live slitaz by adding clonezilla, but it won't start. I get various partimag and localization error messages.
The live slitaz after it implemented the framework for management, it has become quite difficult to modify.
Now I ask: do you think such a flavor would encounter attention from users in general?
If yes, perhaps its creation in the official repos I would consider it an opportunity not to be discarded.
Thanks to everyone, and in particular to Shann, who keeps this distribution alive with his availability.
-------------------------------------------------------------------------
Salve a tutti, mi rivolgo agli sviluppatori, vorrei porre l'attenzione sulla creazione di una flavor minimalista, in stile debian-clonzilla, che fornisse i medesimi servizi.
L'originale ruota attorno ad una cartella (live) di 380Mb, che sommati alla live debian stiamo sui 485Mb.
Ho provato a crearmi una live slitaz aggiungendo clonezilla, ma non parte. Ottengo vari messaggi di errore di partimag e di localizzazione.
La live slitaz dopo che ha implementato il framework per la gestione, è diventata parecchio ostica da modificare.
Ora chiedo: credete che una simile flavor potrebbe riscontrare attenzioni dagli utenti in generale?
Se sì, magari la sua creazione nei repo ufficiali la riterrei un opportunità da non scartare.
Grazie a tutti, ed in particolare a Shann, che con la sua disponibilità mantiene viva questa distribuzione.
Hors ligne
When the purpose is to recover data from backups, maybe an ISO image that I created from a SliTaz cooking live system with tazlito by adding packages [c]ethtool fsarchiver gptfdisk nfs-utils rsync tar[/c] might help.
That image is about 65 MB in size.
I do not use clonezilla, but do partition backup with fsarchiver and user data backup with rsync.
I tried to make such an image with https://mypizza.slitaz.org/, but that is totally unusable.
Hors ligne
Thanks anyway for trying.
I too don't use clonezilla, at the time I created a slitaz-backup flavour which I still use today.
However, clonezilla has quite popular usage credentials. Attempting to implement it on slitaz, I thought, might stimulate some users, who like me, find clonezilla too cumbersome and heavy.
In fact, it is not a live application to all intents and purposes, it remains anchored to the ‘live’ folder on the stick on which it runs. With the inevitable defect of slowing down execution due to the read-write constraint of external memories (see microsd).
Translated with DeepL.com (free version)
-------------------------------------------------------------------------
Grazie lo stesso per il tentativo.
Anch'io non uso clonezilla, a suo tempo mi creai una flavor slitaz-backup che tutt'ora utilizzo.
Clonezilla ha però delle credenziali di diffusione a cui mantiene posizioni di utilizzo abbastanza popolari. Tentare di implementarla su slitaz, pensavo potesse stimolare alcuni utenti, che come me, ritengono clonezilla troppo macchinosa e pesante.
Infatti non è una live a tutti gli effetti, rimane ancorata alla cartella “live” sulla chiavetta su cui si avvia. Con l'immancabile difetto di rallentare l'esecuzione per il vincolo lettura scrittura di memorie esterne (vedi microsd).
Hors ligne
Hi gibor, HGT,
Thank gibor for the encouragement
For mypizza, infact seem broke from many time 
In many year, i begin project to have liveCD with few tools to recover (clonezilla, photorec, ...)
We have clonezilla in repo, if remind it's me added in 2013, but if not work correctly need to check it
Hors ligne
Ho fatto alcune prove per clonezilla: errori di localizzazione sono dovuti alla mancanza d'estensione UTF-8 in /usr/share/drbl/lang/bash
con un post-install tipo “ls -I "*.UTF-8" -I check-bash-lang | xargs -I {} ln -s {} {}.UTF-8” si potrebbe aggiustare
Altri errori sono dovuti alla mancanza di pacchetti come: dosfslabel, screen, sgdisk.
Riporto solo le righe d'errore
/usr/sbin/prep-ocsroot: line 48: type: screen: not found
/usr/share/drbl/sbin/ocs-functions: line 613: dosfslabel: command not found
setterm: terminal xterm does not support –blank
Program sgdisk not found! Skip checking MBR and GPT partition table!
Reading the partition table for /dev/mmcblk0...RETVAL=127
Failed to save the partition table for this disk: mmcblk0
Program terminated!!
Edit:
Ho aggiunto dosfslabel ed sgdisk, ma ancora non funziona
Reading the partition table for /dev/mmcblk0...RETVAL=127
ecco il listato intero della sessione clonezilla
root@slitaz:/home/tux# clonezilla
Clonezilla mode is device-image
ocsroot device is local_dev
Preparing the mount point /home/partimag...
If you want to use USB device as a Clonezilla image repository, please
* Insert USB device into this machine *now*
* Wait for about 5 secs
* Press Enter key
so that the OS can detect the USB device and later we can mount it as /home/partimag.
Press "Enter" to continue......
/usr/sbin/prep-ocsroot: line 48: type: screen: not found
Mounting local dev as /home/partimag...
Excluding busy partition or disk...
Finding partitions....
Partition number: 4
Getting /dev/mmcblk0p1 info...
Getting /dev/mmcblk0p2 info...
Getting /dev/mmcblk1p1 info...
Getting /dev/sda1 info...
/dev/sda1 filesystem: vfat
mount -t auto -o noatime,nodiratime /dev/sda1 /home/partimag
Scanning dir /tmp/ocsroot_bind_root....................Running: mount --bind -o noatime,nodiratime /tmp/ocsroot_bind_root /home/partimag
The file system disk space usage:
*****************************************************.
SOURCE FSTYPE SIZE USED AVAIL USE% TARGET
/dev/sda1 vfat 7.5G 1014.7M 6.5G 13% /home/partimag
*****************************************************.
Press "Enter" to continue......
done!
Setting the TERM as xterm
Starting /usr/sbin/ocs-sr at 2014-01-01 00:08:32 UTC...
Choose the mode for ocs-sr
*****************************************************.
Clonezilla image dir: /home/partimag
*****************************************************.
Excluding busy partition or disk...
Finding partitions...
Partition number: 3
Getting /dev/mmcblk0p1 info...
Getting /dev/mmcblk0p2 info...
Getting /dev/mmcblk1p1 info...
Selected device [mmcblk0p1] found!
The selected devices: mmcblk0p1
*****************************************************.
PS. Next time you can run this command directly:
/usr/sbin/ocs-sr -q1 -c -j2 -z0 -i 4096 -sfsck -senc -p choose saveparts test2014-01-01-00-img mmcblk0p1
This command is also saved as this file name for later use if necessary: /tmp/ocs-test2014-01-01-00-img-2014-01-01-00-09
*****************************************************.
Press "Enter" to continue...
setterm: terminal xterm does not support --blank
Activating the partition info in /proc... done!
Selected device [mmcblk0p1] found!
The selected devices: mmcblk0p1
Getting /dev/mmcblk0p1 info...
*****************************************************.
The following step is to save the hard disk/partition(s) on this machine as an image:
*****************************************************.
Machine: BayTrail
mmcblk0p1 (300M_vfat_There_are_di_0x4f8d3537)
*****************************************************.
-> "/home/partimag/test2014-01-01-00-img".
Are you sure you want to continue? (y/n) y
OK, let's do it!!
Saving block devices info in /home/partimag/test2014-01-01-00-img/blkdev.list...
Saving block devices attributes in /home/partimag/test2014-01-01-00-img/blkid.list...
Checking the integrity of partition table in the disk /dev/mmcblk0...
Reading the partition table for /dev/mmcblk0...RETVAL=127
Failed to save the partition table for this disk: mmcblk0
Program terminated!!
Press "Enter" to continue......
Hors ligne
Passo dopo passo ci arriverò ,-)
RETVAL=127 è l'equivalente di “comando non trovato”... provare per credere. Aprite un terminale e date:
prova
-sh: prova: comando non trovato
echo $?
127
Analizzato clonezilla ed ho trovato il perché: mancava sfdisk, anche se ora c'è un nuovo problema
|Total Block Process: |
|split: invalid number '4096MB' 0.00% |
+------------------------------Checking the disk space... ---+
Failed to use partclone program to save or restore an image!
Press "Enter" to continue......
Hors ligne
Risolto! Gli script clonezilla fanno riferimento ai comandi nativi gnu. Su Slitaz la maggior parte è emulata da busybox, e per questo basta installare coreutils.
Mi sono creato una live alla pari della debian in solo 57,2 MB di rootfs compresso.
Testerò con calma, anche se a prima vista sembra funzionare senza intoppi.
Hors ligne
Hi Gibor,
Nice to read this good job, if understand need to adjust receipt to add coreutils, dosfslabel, screen, sgdisk as depends and adjust drbl for local for clonezilla.
57.2Mb vs 485Mb, it's very light 
Let's me check it in local with qemu to test it before push change in both cooking / current,current64.
Hors ligne
I test on qemu.
Install drbl / clonezilla on base flavor (rolling 5in1), 157Mo used.
I see we install systemd (drbl depend) not sure if necessary
[c]Filesystem Size Used Avail Use% Mounted on
tmpfs 900M 157M 744M 18% /[/c]
I create 50M disk.img for qemu with fake install of slitaz (sda1 /boot, sda2 /), save disk not work because miss util-linux-sfdisk, after install it, clone disk to image work.
[c]root@slitaz:~# du -chs /home/partimag/2025-02-20-09-img/
9.4M /home/partimag/2025-02-20-09-img/
9.4M total
root@slitaz:~#[/c]
Edit:
I do crash test, dd urandom on disk and launch restore, i see few lines about miss programs (wipefs, pvs, lvscan, etc ...).
But at end restore work as expected
Hors ligne
Ciao Shann, aspettavo di averlo provato meglio prima di condividere l'iso.
Comunque se ti interessa qui c'è la root compressa da utilizzare con il vmlinuz-3.16.55-slitaz.
Modalità solo testo. Login come root, poi clonezilla per avviarlo.
----------------------------------------------------------------------
Hi Shann, I was waiting to have tested it better before sharing the iso.
Anyway if you are interested here is the compressed root to use with the vmlinuz-3.16.55-slitaz.
Text-only mode. Login as root, then clonezilla to start it.
https://disk.yandex.com/d/wBNv4D8axJHLaw
Hors ligne
Thanks,
I try to build locally iso base on base flavor, seem many issues 
First systemd fetch pam, replace few packages with -pam version that break rootfs
I remove systemd dep for drbl, it's ok but rootfs broke again because coreutils-multicall is installed for complain clonezilla requirements
Need to investigate more to find coreutils-* packages needed for clonezilla.
Infact with coreutils, coreutils-redirection, coreutils-disk, i see error on clonezilla.log about
[c]"Failed to use partclone program to save or restore an image!"[/c]
When coreutils-multicall installed, no issue found on logs
Hors ligne
Ok, non me ne ero neppure accorto dell'errore nel log.
Ho eseguito il medesimo salvataggio senza coreutil-multilink, e poi dopo averlo installato.
La differenza sembra solo che manca l'errore e calcola i tempi
Okay, I didn't even notice the error in the log.
I ran the same save without coreutil-multilink, and then after installing it.
The difference only seems to be that it misses the error and calculates the times
Total block 614400
Syncing... OK!
Partclone successfully cloned the device (/dev/mmcblk0p1) to the image (-)
Failed to use partclone program to save or restore an image!
>>> Time elapsed: 0 secs (~ 0 mins)
*****************************************************.
Finished saving /dev/mmcblk0p1 as /home/partimag/test2025-02-20-18-img/mmcblk0p1.vfat-ptcl-img.lzo
*****************************************************.
Total block 614400
Syncing... OK!
Partclone successfully cloned the device (/dev/mmcblk0p1) to the image (-)
>>> Time elapsed: 93.54 secs (~ 1.559 mins)
*****************************************************.
Finished saving /dev/mmcblk0p1 as /home/partimag/test2014-01-01-00-img/mmcblk0p1.vfat-ptcl-img.lzo
*****************************************************.
Edit:
Installando coreutils dai sorgenti, senza tutti quelli dei repository, e quindi neppure libcap-pam, scompare l;errore e la live si avvia normalmente.
Non so bene chi decide le dipendenze dei pacchetti, ma molto probabilmente qualcosa di sbagliato c'è!
--------------------------------------------------------------------
Installing coreutils from the sources, without all those from the repositories, and therefore not even libcap-pam, the error disappears and the live starts normally.
I'm not sure who decides the package dependencies, but most likely something is wrong!
Hors ligne
Hi Gibor,
Nice to read this, infact maybe need to review dependencies, i not with use few X11 lib for mtools, after check seem required for floppyd binary (thanks archlinux pkgbuild)
i do retest with fresh cooking env, maybe my local is broken.
fresh iso build, with coreutils-multicall at first on packages.list flavor, no issue for boot.
i add drbl, clonezilla (minus drbl local build to exclude systemd)
=> clonezilla not happy issue about "Failed to use ..." and time elapsed 0s
if i force reinstall of coreutils-multicall, issue disappears
Before reinstall coreutils-multicall i do md5sum of /bin,/sbin,/usr/{bin,sbin} dir to see what binaries changed.
I see 23 changes could be reduce to 20 binaries (think we could exclude chroot / uname / uptime)
Hors ligne
Aggiorno rispetto il precedente link le prove di clonezilla con distro slitaz:
clonezilla versione 5.6.13
drbl versione 5.3.2
partclone versione 0.3.32
causa errore nella compilazione di partclone ho dovuto aggiungere dai sorgenti
e2fsprogs versione 1.47.1
Funzionante con compressione lz4 nella selezione modalità esperto (la modalità pricipiante non l'ho provata, reduce da precedenti pasticci evito di lasciargli campo libero).
La iso non è isohybrid, è la rolling core modificata con isomaster a cui ho sostituito il vmlinuz ed ho aggiunto i pacchetti sopra da sorgenti.
Il kernel l'ho sostituito per avere il supporto del mio tablet (memorie mmcblk...)
Manca il supporto per criptare (che ritengo inutile), come pure sistemd che non è installato.
La rootfs.gz si è gonfiata ulteriormente fino a raggiungere i 64,2Mb.
Il link per scaricarla e studiarla se a volte servisse per riprodurla in cookutils
https://disk.yandex.com/d/qKm2bJ6ZoKarIQ
-------------------------------------------------------------------------
I update from the previous link the tests of clonezilla with slitaz distro:
clonezilla version 5.6.13
drbl version 5.3.2
partclone version 0.3.32
due to error in compiling partclone i had to add from sources
e2fsprogs version 1.47.1
Working with lz4 compression in the expert mode selection (pricipiant mode I didn't try it, veteran from previous messes I avoid leaving it free field).
The iso is not isohybrid, it is the rolling core modified with isomaster to which I replaced the vmlinuz and added the packages above from source.
I replaced the kernel to have support for my tablet (mmcblk memories...).
Encryption support is missing (which I think is useless), as is sistemd which is not installed.
The rootfs.gz has swelled further to 64.2Mb.
The link to download it and study it if sometimes needed to reproduce it in cookutils
https://disk.yandex.com/d/qKm2bJ6ZoKarIQ
Hors ligne
Hi gibor,
After few tests find coreutils packages needed for clonezilla without break rootfs 
[c]coreutils-command
coreutils-conditions
coreutils-context-system
coreutils-context-working
coreutils-directory
coreutils-disk
coreutils-file-attributes
coreutils-file-output-full
coreutils-file-special
coreutils-operations
coreutils-print
coreutils-redirection[/c]
Latest versions included (clonezilla 5.6.13, drbl 5.3.2 and partclone 0.3.32) 
Below link for iso you can try (based on base flavor in case full 32 kernel/userland)
https://people.slitaz.org/~shann/clonezilla/slitaz-cooking-base-clonezilla.iso
rootfs compressed 34.8Mo / uncompressed 169.2Mo
iso 39.2Mo
diff between base and base-clonezilla
diff -u ../flavors/base/packages.list ../flavors/base-clonezilla/packages.list
--- ../flavors/base/packages.list
+++ ../flavors/base-clonezilla/packages.list
@@ -1,6 +1,4 @@
busybox
-cdrkit
-cookutils
dialog
drobpear
e2fsprogs
@@ -22,11 +20,11 @@
slitaz-tools
syslinux
syslinux-extra
-tazinst
tazlito
tazpkg
tazusb
-tazirc
udev
zlib
terminus-font-base
+drbl
+clonezilla
Hors ligne
Hi Shann,
Grazie ancora per il lavoro fatto. Vorrei ancora se possibile, capire perché con il kernel ufficiale non rileva le memorie mmcblk. Unico messaggio al boot ambiguo è
Detecting PCI devices Kernel modules...
! Missing module : iosf_mbi_pci
mentre se vedo il kernel config ottengo
CONFIG_IOSF_MBI=y
in totale le differenze complessive fra i due kernel, ufficiale e quello da me compilato, sono queste
< # Linux/i386 3.16.55 Kernel Configuration
---
> # Linux/x86 3.16.55 Kernel Configuration
749d748
< CONFIG_TCP_STEALTH=y
4711c4710
< # CONFIG_MMC_CLKGATE is not set
---
> CONFIG_MMC_CLKGATE=y
4720c4719
< # CONFIG_MMC_TEST is not set
---
> CONFIG_MMC_TEST=y
4727,4728c4726,4727
< # CONFIG_MMC_RICOH_MMC is not set
< # CONFIG_MMC_SDHCI_ACPI is not set
---
> CONFIG_MMC_RICOH_MMC=y
> CONFIG_MMC_SDHCI_ACPI=y
4730,4731c4729,4730
< # CONFIG_MMC_SDHCI_PXAV3
-----------------------------------------------------------------------
Thanks again for the work done. I would still like if possible, to understand why with the official kernel it does not detect mmcblk memories. Only message at boot ambiguous is
Detecting PCI devices Kernel modules...
! Missing module : iosf_mbi_pci
whereas if I see the kernel config I get
CONFIG_IOSF_MBI=y
in total the overall differences between the two kernels, official and the one I compiled, are these
< # Linux/i386 3.16.55 Kernel Configuration
---
> # Linux/x86 3.16.55 Kernel Configuration
749d748
< CONFIG_TCP_STEALTH=y
4711c4710
< # CONFIG_MMC_CLKGATE is not set
---
> CONFIG_MMC_CLKGATE=y
4720c4719
< # CONFIG_MMC_TEST is not set
---
> CONFIG_MMC_TEST=y
4727,4728c4726,4727
< # CONFIG_MMC_RICOH_MMC is not set
< # CONFIG_MMC_SDHCI_ACPI is not set
---
> CONFIG_MMC_RICOH_MMC=y
> CONFIG_MMC_SDHCI_ACPI=y
4730,4731c4729,4730
< # CONFIG_MMC_SDHCI_PXAV3
Hors ligne
Hi gibor,
If understand, CONFIG_MMC_CLKGATE, MMC_SDHCI_ACPI and MMC_RICOH_MMC are for mmc controllers
I update kernel config to support it, for MMC_TEST i not enable seem reserved to developpers/debug
Concerning iosf_mbi_pci seem appear in 3.18 kernel, but on page display 3.14-3.15, 3.16-3.17
https://cateee.net/lkddb/web-lkddb/IOSF_MBI.html
But not really clear i see CONFIG_IOSF_MBI=y already define on 3.16.55 official config.
Hors ligne
Ciao Shann, se le modifche sono già contenute nella iso del link sopra, mi dispiace, non funziona ugualmente.
--------------------------------------------------
Hi Shann, if the modifcations are already in the iso in the link above, sorry, it still doesn't work.
Hors ligne
gibor,
no i do commit today for linux/linux64 on cooking.
Let's me check for rebuild iso with new linux packages
Hors ligne
I update iso on my space generate also iso base64
https://people.slitaz.org/~shann/clonezilla/
Hors ligne
Il kernel ora funziona, rileva le partizioni mmcblk... purtroppo clonezilla no, è ancora da mettere a punto.
errori del tipo: dosfslabel mancante, poi mi si è bloccato completamente alla prima prova di backup partizione.
------------------------------------------------------------------
The kernel now works, detects mmcblk partitions... unfortunately clonezilla does not, it is still to be tuned.
Errors like: missing dosfslabel, then it completely crashed on my first try at partition backup.
Hors ligne
Hi gibor,
I update iso with dosfstools, hope that explain issue you have.
Hors ligne
Sembra ripetere alcuni errori delle prove precedenti:
split: invalid number '1000000MB'
Failed to save partition /dev/mmcblk0p1
svariati warning sulla localizzazione a carico di bash, di ocs, e di drbl
non posso allegare il log poiché molti di questi non vengono salvati, ma sono visibili a schermo
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
ma almeno l'errore dosfslabel è scomparso.
-------------------------------------------------------------------------
It seems to repeat some errors from previous tests:
split: invalid number '1000000MB'
Failed to save partition /dev/mmcblk0p1
several location warnings at the expense of bash, ocs, and drbl
I cannot attach the log as many of these are not saved, but are visible on screen
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
But at least the dosfslabel error disappeared.
Hors ligne
hmm think need coreutils-file-output-part for coreutils split.
I update clonezilla deps and rebuild iso and push them
Hors ligne
Pages: 1
[ Généré en 0.018 secondes, 7 requêtes exécutées - Utilisation de la mémoire: 1.6 MiO (Pic : 1.77 MiO) ]