When you ssh to the device in ubiboot as root, your home dir is /root/ of the ubiboot FS. Before attempting this, you need to do the following things: Unexport your USB partitions: (if this gives you error, then you have the partitions mounted on your PC and you have to umount them first, cannot really have a partition mounted to 2 different devices at the same time, can you? ) echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file Mount the drive you have your TAR file on, for example if it is on your My Docs then you need to do: mount /dev/mmcblk0p1 /mnt/1 Then mount the target you want to extract your preinits to: mount /dev/mmcblk0p2 /mnt/2 Then, extract the archive: tar -xvf /mnt/1/preinits.tar -C /mnt/2/ Last thing, sync and umount partitions: sync ; umount /mnt/1 ; umount /mnt/2
echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file
mount /dev/mmcblk0p1 /mnt/1
mount /dev/mmcblk0p2 /mnt/2
tar -xvf /mnt/1/preinits.tar -C /mnt/2/
sync ; umount /mnt/1 ; umount /mnt/2