SliTaz SliTaz Forum

You are not logged in.

#1 2022-11-25 05:15:24

amc252
Member
Registered: 2022-11-25
Posts: 3

Tazlito writeiso problem with /media/cdrom

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

#2 2022-11-25 11:59:13

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Tazlito writeiso problem with /media/cdrom

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

#3 2022-11-25 18:35:05

amc252
Member
Registered: 2022-11-25
Posts: 3

Re: Tazlito writeiso problem with /media/cdrom

Hi @Ceel

Thanks for the suggestion.

I tried again mounting slitaz-rolling-core64.iso but, unfortunately, got the same result.

Offline

#4 2022-11-26 02:21:19

amc252
Member
Registered: 2022-11-25
Posts: 3

Re: Tazlito writeiso problem with /media/cdrom

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]