Don't blame me if it doesn't work for you or you destroy your os. This method was tested in a vmware session. Enjoy.
- Download the iso via wget or webbrowser: http://mirror.slitaz.org/iso/4.0/slitaz-4.0.iso
- Start your system with your cd-drive or via pxe
- This method depends on the fact that you have only 1 drive installed that could be erased
- else change the variable $TARGET_DEV to your needs
- password for user tux is "tux"
$ passwd tux
$ su -
# /etc/init.d/dropbear start
- Login via ssh (user tux: / password tux)
$ su - (password: root)
# tazinst new /var/lib/tazinst.conf
# TARGET_DEV=$(fdisk -l | grep ^Disk | awk '{print $2}' | sed "s/:/1/g")
# sed -i -e "s/^INST_TYPE.*/INST_TYPE=cdrom/g" /var/lib/tazinst.conf
# sed -i -e "s/^SRC_FILE.*/SRC_FILE=cooking/g" /var/lib/tazinst.conf
# sed -i -e "s;^TGT_PARTITION.*;TGT_PARTITION=$TARGET_DEV;g" /var/lib/tazinst.conf
# sed -i -e "s/^TGT_USER_PWD.*/TGT_USER_PWD=tux/g" /var/lib/tazinst.conf
# sed -i -e "s/^TGT_GRUB.*/TGT_GRUB=yes/g" /var/lib/tazinst.conf
# tazinst install /var/lib/tazinst.conf
# mount $TARGET_DEV /mnt
# sed -i -e "s/RUN_DAEMONS=\"/RUN_DAEMONS=\"dropbear /" /mnt/etc/rcS.conf
# sed -i -e 's/DROPBEAR_OPTIONS.*/DROPBEAR_OPTIONS=""/' /mnt/etc/daemons.conf
# mkdir /mnt/home/backup
# cd /usr/bin; cp -a httpd_helper.sh desktopbox subox /mnt/home/backup/
# reboot
- Set your locale in X-Window
- Login via ssh (user root: / password: root)
# tazpkg up -r
# sed -i -e "s/4.6.3/3.2.14/g" /boot/grub/menu.lst
# vi /boot/grub/menu.lst (remove the unnessary kernel 2.6 boot parameters)
# echo "auto_login yes" >> /etc/slim.conf
# cd /home/backup; mv httpd_helper.sh desktopbox subox /usr/bin/
# cd; rmdir /home/backup
# wget http://mirror.slitaz.org/packages/4.0/gdk-pixbuf-2.24.0.tazpkg
# tazpkg install gdk-pixbuf-2.24.0.tazpkg --forced
# rm gdk-pixbuf-2.24.0.tazpkg
# sed -i -e 's/gtk-icon-theme-name.*/gtk-icon-theme-name="SliTaz"/g' /home/tux/.gtkrc-2.0
# cp -a /etc/xdg/openbox/menu.en.xml /home/tux/.config/openbox/menu.xml
# chown -R tux:users /home/tux
# pango-querymodules > '/etc/pango/pango.modules'
# reboot