rootfs-armhf
1.
# wget http://mirror.slitaz.org/packages/cooking/util-linux-mount-2.21.1.tazpkg
# tazpkg -i util-linux-mount-2.21.1.tazpkg
download slitaz-armhf-mini-2012-12-14.zip and extract it
# wget http://arm.balinor.net/slitaz/armhf/slitaz-armhf-mini-2012-12-14.zip
# unzip slitaz-armhf-mini-2012-12-14.zip
2.
root@slitaz:~# file slitaz-armhf-mini-2012-12-14.img
slitaz-armhf-mini-2012-12-14.img: x86 boot sector; partition 1: ID=0x6, starthead 1, startsector 63, 48132 sectors; partition 2: ID=0x83, starthead 0, startsector 48195, 915705 sectors, code offset 0xb8
root@slitaz:~# fdisk -lu slitaz-armhf-mini-2012-12-14.img
Disk slitaz-armhf-mini-2012-12-14.img: 536 MB, 536870912 bytes
255 heads, 63 sectors/track, 65 cylinders, total 1048576 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
slitaz-armhf-mini-2012-12-14.img1 63 48194 24066 6 FAT16
slitaz-armhf-mini-2012-12-14.img2 48195 963899 457852+ 83 Linux
root@slitaz:~#
3.
root@slitaz:~# mount -o,offset=$((48195*512)) slitaz-armhf-mini-2012-12-14.img /mnt/raspi
4.
root@slitaz:~# cp -a /mnt/raspi /opt/rootfs-armhf
5.
root@slitaz:~# ls -l /opt/rootfs-armhf
total 68
drwxr-xr-x 2 root root 4096 Dec 3 2012 bin
drwxr-xr-x 2 root root 4096 Dec 14 2012 boot
drwxr-xr-x 8 root root 4096 Dec 3 2012 dev
drwxr-xr-x 7 root root 4096 Dec 14 2012 etc
drwxr-xr-x 2 root root 4096 Dec 3 2012 home
lrwxrwxrwx 1 root root 12 Jun 19 20:03 init -> /bin/busybox
drwxr-xr-x 2 root root 4096 Dec 3 2012 lib
drwx------ 2 root root 4096 Dec 3 2012 lost+found
drwxr-xr-x 5 root root 4096 Dec 3 2012 media
drwxr-xr-x 2 root root 4096 Dec 3 2012 mnt
drwxr-xr-x 2 root root 4096 Dec 3 2012 proc
drwxr-x--- 2 root root 4096 Dec 3 2012 root
drwxr-xr-x 2 root root 4096 Dec 3 2012 run
drwxr-xr-x 2 root root 4096 Dec 3 2012 sbin
drwxr-xr-x 2 root root 4096 Dec 3 2012 sys
drwxrwxrwt 2 root root 4096 Dec 3 2012 tmp
drwxr-xr-x 8 root root 4096 Dec 14 2012 usr
drwxr-xr-x 11 root root 4096 Dec 3 2012 var
root@slitaz:~# file /opt/rootfs-armhf/lib/libc-2.13.so
/opt/rootfs-armhf/lib/libc-2.13.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
root@slitaz:~# du -sh /opt/rootfs-armhf
9.2M /opt/rootfs-armhf
root@slitaz:~#