SliTaz SliTaz Forum

You are not logged in.

#1 2026-03-13 14:47:43

qmastery16
Member
Registered: 2026-03-13
Posts: 3

BUG in slitaz-rolling-core-5in1.iso : rootfs1.gz64 is not used anywhere, even in isolinux.cfg

===> If we mount this slitaz-rolling-core-5in1.iso ISO and check its isolinux.cfg, it shows

LABEL core64

    MENU HIDE

    COM32 c32box.c32

    append linux /boot/bzImage initrd=/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz root=/dev/null video=-32 autologin

LABEL core

    MENU LABEL SliTaz core Live

    COM32 c32box.c32

    append linux /boot/bzImage initrd=/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz root=/dev/null video=-32 autologin

===> As you see, same entries for core64 and core32. I think it is error, perhaps should be:

LABEL core64

    MENU HIDE

    COM32 c32box.c32

    append linux /boot/bzImage64 initrd=/boot/rootfs5.gz,/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz64 root=/dev/null video=-32 autologin

Offline

#2 2026-03-14 09:45:39

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: BUG in slitaz-rolling-core-5in1.iso : rootfs1.gz64 is not used anywhere, even in isolinux.cfg

LABEL core64

MENU HIDE

The 64-bit option is hidden; I think it's a workaround to use the same menu for both 32-bit and 64-bit ISOs.

Offline

#3 2026-04-11 18:33:17

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: BUG in slitaz-rolling-core-5in1.iso : rootfs1.gz64 is not used anywhere, even in isolinux.cfg

The kernel and the initrds are load by the c32box.c32 module according to isolinux.cfg.

This module tries to load the 'best' file and add the 64 suffix for 64bits cpus. When this file

is not found, it retries without suffix.

rootfs1.gz is empty (for 32 bits cpu) and rootfs1.gz64 hold the 64 modules.

Note that bzImage64 is load with 64 bits cpu instead of bzImage.

See syslinux/stuff/extra/md5sum.c line 942 (the source of c32box.c32)

https://hg.slitaz.org/wok/file/27ac1755b323/syslinux/stuff/extra/md5sum.c#l942

With c32box.c32 in isolinux.cfg:

- ifmem select the ram filesystem to load according the ram available

- linux select the kernel and initrd file according according the cpu

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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