Reference: http://doc.slitaz.org/en:guides:faq-login
Laptop environment
512M RAM (fixed); No optical drive; Grub4Dos; SliTaz 3.0
Linux environment
All packages updated; tazpkg upgrade
Create new rootfs; tazusb writefs gzip
tazlito writeiso not an option as (1) no optical drive (2) tazlito does not recognize external usb cdrom
Manually replace old rootfs with newly created rootfs
Boot; Cannot Login to Desktop as tux, root only login
mktux.sh output follows
----------
root@slitaz:/media/test# cat mktux.sh
#!/bin/sh
mkdir /home/tux
cd /home/tux
shopt -s dotglob
cp -r /etc/skel/* /home/tux
chown -R tux:SliTaz /home/tux/*
shopt -u dotglob
shopt -u dotglob
chown -R tux:SliTaz /home/tux/.[a-zA-Z0-9]*
root@slitaz:/media/test# ./mktux.sh
mkdir: cannot create directory '/home/tux': File exists
./mktux.sh: line 6: shopt: not found
chown: unknown user/group tux:SliTaz
./mktux.sh: line 9: shopt: not found
./mktux.sh: line 10: shopt: not found
chown: unknown user/group tux:SliTaz
root@slitaz:/mediatest# exit
----------
COMMENTS:
No /home/tux exists, yet cannot create the directory
chown -R USERNAME:USERGROUP /home/USERNAME/*
?What USERGROUP should be used?