You are not logged in.
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.
Offline
Hi amc252,
Seems to me that Tazlito cannot manage multi rootfs ISOs, maybe you should use slitaz-rolling-core.iso or slitaz-rolling-core64.iso.
Offline
Hi @Ceel
Thanks for the suggestion.
I tried again mounting slitaz-rolling-core64.iso but, unfortunately, got the same result.
Offline
Just for curiosity, I repeated the process using an older 5.0 iso, slitaz-core-rc2.iso.
This time, everything went fine and tazlito recognized the mounted iso on /media/cdrom, thus producing a bootable iso image.
Baffling.
Of course, I'd like to make it work on the latest rolling iso.
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]