You are not logged in.
Pages: 1
Got curiosity to understand how this works.
I could roughly see the first part definitions for the graphic menus, and second part are the boot options themselves.
So for example, the "gtkonly" mode has these options:
append linux /boot/bzImage initrd=/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz rw root=/dev/null video=-32 autologin
The other options load even less rootfs files (don't need them?)
But the main top option, the default one normally used, is like this:
append ifmem 256M core 192M gtkonly 128M justx 48M base noram
Doesn't even start by loading the rootfs files
Core, gtkonly, justx, base and noram are all Slitaz "modes" (or isolinux labels), except for ifmem. There's also a memory value after each one except for last two.
What does it mean? That "slitaz" main option just loads all other "sub-modes" altogether? What's with the memory values?
And, when normally booting Slitaz, what's the difference between booting "slitaz" and booting "core"?
Offline
Idea is: if your box has 256MB of RAM or more, then all the 4 parts extracted to the RAM. This maximal version called "core".
When less then 256MB but more or equal to 192MB - 3 parts loaded. It is " gtkonly".
And so on.
You may force the selection. For example you can have 2GB of RAM and boot "justx".
I think the difference between "slitaz" and "core" that "slitaz" is always RAM-size-detected version (one of "core", " gtkonly", etc.), when "core" is forced to maximal version.
Offline
The ifmem applet of c32box.c32 ( module a la busybox see
http://cook.slitaz.org/index.cgi?stuff=syslinux/stuff/extra/md5sum.c )
is used as the following:
append ifmem 256M core 192M gtkonly 128M justx 48M base noram
means
case memory-size
if >= 256M run core label
else if >=192M run gtkonly label
else if >= 128M run justx label
else if >= 48M run base label
else goto run noram label
Offline
Thanks very much!
Now everything is clearer.
Sorry for late response.
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]