Hello everybody.
I'm new to slitaz, so be patient if my questions are a bit naive.
I have installed slitaz on my hard disk and tried to create an iso image.
Following the documentation instructions, I mounted the original slitaz .iso to
/media/cdrom with the command:
#mount -o loop slitaz-rolling-core-5in1.iso /media/cdrom
I checked, and the files are there. Then I ran:
#tazlito writeiso lzma
Tazlito created the correct rootfs.gz file in /home/slitaz/distro/rootcd/boot, but the iso is just 32kb, and I got the following error messages:
Keeping current locale/keymap settings... [ Done ]
Creating rootfs.gz with lzma compression...
Filesystem size: 75.3M
Located in: /home/slitaz/distro/rootcd/boot/rootfs.gz
cp: can't stat '/media/cdrom/boot/bzImage*': No such file or directory
cp: can't stat '/media/cdrom/boot/isolinux': No such file or directory
0 Kbytes saved in 0 duplicate files.
0 duplicate symlinks.
sed: /home/slitaz/distro/rootcd/README: No such file or directory
sed: /home/slitaz/distro/rootcd/index.html: No such file or directory
ls: /home/slitaz/distro/rootcd/boot/vmlinuz*slitaz*: No such file or directory
ls: /home/slitaz/distro/rootcd/boot/bzImage*: No such file or directory
Computing md5... touch: /home/slitaz/distro/rootcd/boot/isolinux/boot.cat: No such file or directory
[ Done ]
Generating ISO image
===============================================
Generating slitaz.iso
genisoimage: Uh oh, I cant find the boot catalog directory 'boot/isolinux'!
md5sum: can't open 'boot/isolinux/isolinux.bin': No such file or directory
md5sum: can't open 'boot/isolinux/boot.cat': No such file or directory
stat: can't open '/tmp/mnt2653/md5sum': No such file or directory
umount: /tmp/mnt2653: filesystem was unmounted, but any subsequent operation failed: No such device or address.
Creating hybrid ISO... slitaz.iso: no boot record found.
[ Failed ]
Creating EXE header...
slitaz.iso: no boot record found.
Read tazlito data...
Adding Apple partition at 0800 (2560 bytes) ...
Adding WIN32 file at 0000 (16384 bytes) ...
Adding bootiso head at 0000...
0 free bytes in 4000..4000
Creating the ISO md5sum... [ Done ]
===============================================
ISO image: 32.0K /home/slitaz/distro/slitaz.iso
It seems to me tazlito does not recognize the files mounted on /media/cdrom.
Can anyone tell me what am I doing wrong?
Thank you in advance.