* Claudem a écrit :
La documentation en ligne me parait complexe.
$ mount -o loop /home/tux/slitaz.iso /mnt
$ ls -l /mnt
drwxr-xr-x 4 root root 2048 Nov 4 20:37 boot
drwxr-xr-x 2 root root 2048 Jul 3 2008 images
-rw-r--r-- 1 root root 1987 Jul 3 2008 index.html
-rw-r--r-- 1 root root 2992 Nov 4 20:37 md5sum
-rw-r--r-- 1 root root 2980 Jul 3 2008 README
-rw-r--r-- 1 root root 954 Jul 3 2008 style.css
$ ls -l /mnt/boot/
-rw-r--r-- 2 root root 2244368 Sep 25 23:24 bzImage
-rw-r--r-- 1 root root 195056 Sep 24 01:06 gpxe
drwxr-xr-x 2 root root 2048 Nov 4 20:34 grub
drwxr-xr-x 2 root root 6144 May 16 2009 isolinux
-rw-r--r-- 1 root root 30070962 Nov 4 20:37 rootfs.gz
-rw-r--r-- 2 root root 2244368 Sep 25 23:24 vmlinuz-2.6.30.6-slitaz
find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs.gz
$ find /home/tux -print
# Create list of files
find /bin /etc /init /sbin /var /dev /lib /root /usr >/tmp/list
for dir in /home /proc /sys /tmp /mnt /media /media/cdrom /media/flash /media/usbdisk
do
echo $dir >>/tmp/list
done
cat /tmp/list | cpio -o -H newc | lzma e -si -so > /rootfs.gz
# tazusb writefs lzma
It looks like you're new here. If you want to get involved, click one of these buttons!