You are not logged in.
Pages: 1
Hey noticed if i have a harddrive in computer with windows and logs in to slitaz
tux account it creatos home directory on windows partition, is there anyway around this
couse when moving the usb to other computer (when done a #tazusb writefs gzip) i get
the error "failed to execute command" at login.
Tried to run freshly made usb without harddrive in and did the same thing
then it works, so anywhere i can alter the way it creates files on windows partition
so it does it on live usb system instead even if windows partitions are present?
If its unclear of what im saying in this post please tell me as maybe my english isnt coming out as my mind thinks it comes out 
SIncerally
Ztealmax "Martin"
Do you add slitaz home=usb to the boot option?
Is your HD drive using SATA or IDE?
Dom
Offline
Logons fail when home= partition is formated with NTFS/FAT32/FAT16 microsoft filesystem.
Add another drive or partition to the windows drive and format to a linux filesystem like ext3.
In bootcode home= points to the ext3 partition.
Offline
I've noticed when I boot with home=usb, and the host computer has a HDD using SATA, /home is mounted on its first partition (/dev/sda1) and not on the USB key (/dev/sdb1).
Offline
@domcox
Hi dom
home=usb always mounts /dev/sda1
Sata drives connected to sata controller on are always detected before usb drives.
Only if there are no other sata drives in the computer will usb drive grab /dev/sda1
IMO home=usb should be removed as boot option.
http://hg.slitaz.org/slitaz-boot-scripts/file/6d1034b2830e/etc/init.d/bootopts.sh
# Check for a specified home directory on cmdline (home=*).
139 #
140 if grep -q "home=usb" /proc/cmdline; then
141 DEVICE=sda1
142 mount_home
143 elif grep -q "home=" /proc/cmdline; then
144 DEVICE=[c]cat /proc/cmdline | sed 's/.*home=\([^ ]*\).*/\1/'[/c]
145 mount_home
146 fi
Offline
mojo: i was thinking if i have a fat32 formated usb wih slitaz on it
created with http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
correct me if im wrong or if it isnt possible but.
if i would like it to boot and use the fat32 formated partition as home directory
is that possible for example usb directory called home/
is there somehow anyway to make slitaz work directly against that home directory
even if there is any other harddrives present?
maybe it works if i write this?
home=/dev/sdb1 (if thats the usb as standard?)
home=sdb1
But logins will fail with slim login manager/xorg on fat32/ntfs/fat16.
It uses xauth with .Xauthority in the ~/.
Because microsoft file systems permissions differ from linux it can't authenticate and login fails.
Try testing with slitaz 3.0 xvesa flavour,maybe xvesa doesn't use xauth and slim logins will work.
Offline
What i did try now is i made 2 partitions on my live usb
1 formated fat32 bootabe slitaz, 1 formated ext2 for home partition
used this command at boot:
#slitaz home=sda2 (sda2 is the second partition formated as ext2)
however still get the same error, did i miss a command at boot?
If your booting on the same computer as before with a sata hard drive the live usb flash drive is NOT /dev/sda
Remember sata drives connected to sata controllers will always be detected and grab /dev/sda before a usb flash drive.
Boot live usb with bootcode=> slitaz screen=text
Logon as root
fdisk -l
Determine live usb /dev name and that partition 2 was formated to ext2
Set home= to the correct name for live usb flash drive
Offline
No SATA drive in computer at all, only USB stick
thats what i did therefor i set it to sda2 that is the ext2 partition.
However, anyway around this and maybe set home partition to ramdisk instead?
so it skips sdaX and only writes in ram? any command for this like #slitaz home=ram
just as a notice ive did a #tazusb writefs gzip with my updated software!
or even better for me, is it possible to change name of root account?
Let me guess...
root is the only user that can login because /home is still mounted on fat32 partition 
Offline
so true 
Figured out how to rename root 
@mojo: I suggests to keep home=usb as an option, but to mount the latest usb drive instead:
etc/init.d/bootopts.sh
[c]# Check for a specified home directory on cmdline (home=*).
#
if grep -q "home=usb" /proc/cmdline; then
for DEV in /sys/block/sd* ; do
if readlink $DEV | grep -q usb; then
DEVICE=/dev/$(basename $DEV)
fi
done
mount_home
elif grep -q "home=" /proc/cmdline; then
DEVICE=cat /proc/cmdline | sed 's/.*home=\([^ ]*\).*/\1/'
mount_home
fi[/c]
Offline
We may even detect unwanted fat32 partitions and skip mount_home:
[c]if blkid | grep $DEVICE | grep -v vfat; then
mount_home
fi[/c]
Offline
Pages: 1
[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]