Hallo K3nn3th,
I think, the problem is, that there is not enough memory to unpack such a big rootfs.gz if not using spezial commands for the allocation of memory like in the isolinux.cfg
LABEL slitaz
MENU LABEL SliTaz Live
kernel /boot/isolinux/ifmem.c32
append 192M core 160M gtkonly 100M justx 48M base noram
of SliTaz 4 in 1, but I don't have experience with this.
I successfully manualy splitted the unpacked *.tazpkg into 10 parts like this.
In the 4 in 1 design I renamed
rootfs4.gz -> rootfs9.gz
rootfs3.gz -> rootfs8.gz
rootfs2.gz -> rootfs7.gz
rootfs1.gz -> rootfs6.gz
and added personal rootfs5.gz, rootfs4.gz, rootfs3.gz, rootfs2.gz, rootfs1.gz and rootfs0.gz making a new personal 10 in 1 design with the following lines in my isolinux.cfg
LABEL Personal
MENU LABEL SliTaz Personal
KERNEL /boot/bzImage
append initrd=/boot/rootfs9.gz,/boot/rootfs8.gz,/boot/rootfs7.gz,/boot/rootfs6.gz,/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz,/boot/rootfs0.gz lang=de_DE kmap=de-latin1 rw root=/dev/null vga=normal autologin
I booted successfully with rootfsx.gz about 25 MB (lzma) or 35 MB (gzip).
lzma packing the rootfsx.gz
in /home/slitaz/rootfsx
like
# find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs.gz
produces smaller files but needs more memory to unpack.
gzip packing the rootfsx.gz like
# find . -print | cpio -o -H newc | gzip -c > ../rootfs.gz
produces biger files but it need less memory to unpack.
Unpacking in shorter time I managed using a DVD instead of a CD.
I don't have experience in splitting into more than 10 parts. My biggist gzip packed rootfsx.gz on CD or DVD was 36 MB. I would try 10 gzip packed rootfsx.gz (x=10,9,8,...,1,0) about 70 MB.
For extracting your *.tazpkg you could copy my extractor to /usr/bin/extractor
#!/bin/sh
#
# Extractor for a directory of taz packages powered by Yad/GTK.
#
# Copyright (C) 2014 SliTaz GNU/Linux - BSD License
#
# Author: nobody@slitaz.org
#
# Common boxes options.
opts=" --height=200 --width=500 --image=computer --image-on-top"
title="Extractor for Packages"
# Main GUI box function with pure Yad spec
extractor_main() {
yad --form $opts --window-icon=computer \
--text="<b>$title</b> - *.tazpkg into file system" \
--title="$title" \
--field="$(gettext "tazpkg directory:")":DIR \
--field="$(gettext "file system dir:")":DIR\
--button="Extract":0 \
--button="gtk-close":1 \
$home $home
}
# Main function
extractor() {
# Store box results
main=$(extractor_main)
# Deal with --button values
case $? in
0) continue ;;
*) exit 0 ;;
esac
# Deal with $main values.
dir1=$(echo $main | cut -d "|" -f 1)
dir2=$(echo $main | cut -d "|" -f 2)
cd $dir1
for f in *.tazpkg;
do
PACKAGE=$(basename $f .tazpkg)
PACK=${PACKAGE%%.*}
PKG=${PACK%-*}
mkdir -p $dir2/fs/var/lib/tazpkg/installed/$PKG
chown root:root /fs/var
chown root:root /fs/var/lib
chown root:root /fs/var/lib/tazpkg
chown root:root /fs/var/lib/tazpkg/installed
chown root:root /fs/var/lib/tazpkg/installed/$PKG
mkdir -p /tmp/cpio
cd $dir1
md5sum $PACKAGE.tazpkg >> $dir2/fs/var/lib/tazpkg/installed.md5
cd /tmp/cpio
rm -rf *
cpio -idmv -F $dir1/$PACKAGE.tazpkg
cp fs.cpio.lzma /tmp
rm fs.cpio.lzma
cp * $dir2/fs/var/lib/tazpkg/installed/$PKG
rm *
cd $dir2
rmdir /tmp/cpio
lzma d /tmp/fs.cpio.lzma $dir2/fs.cpio
rm /tmp/fs.cpio.lzma
cpio -idmv -F fs.cpio
rm fs.cpio
done;
}
#
# Script commands
#
case "$1" in
usage)
echo "Usage: $(basename $0) [command]" ;;
*)
extractor ;;
esac
exit 0
and copy the following file extractor.desktop to /usr/share/applications
[Desktop Entry]
Encoding=UTF-8
Name=Extractor
Exec=extractor
Icon=computer
Type=Application
Categories=Development;
I was even able to install my personal SliTaz4.0 of 210 MB with the SliTaz Panel to harddisk, which does not work when you use complete other names for the rootfs9, ..., rootfs0.gz.