-o loop,offset=32256, wich is required to mount the file.
tazpkg convertand installed.
#!/bin/sh
# /etc/init.d/local.sh - Local startup commands.
#
# All commands here will be executed at boot time.
#
. /etc/init.d/rc.functions
echo "Starting local startup commands... "
echo "cheking if booting from a real system or from qemu"
if cat /proc/ide/hd*/model | grep -q "QEMU"
then
mount -t ext3 /dev/disk/by-uuid/12345678-1234-1234-1234-123456781234 /home
else
mkdir /mnt/chiaveusb
sleep 5
mount -t vfat /dev/disk/by-uuid/1234-5678 /mnt/chiaveusb
sleep 5
mount -t ext3 -o loop,offset=32256 /mnt/chiaveusb/home.img /home
fi
It looks like you're new here. If you want to get involved, click one of these buttons!