SliTaz SliTaz Forum

You are not logged in.

#1 2014-01-11 23:09:27

kamac
Member
Registered: 2014-01-11
Posts: 10

Configuring slitaz boot

Hey there.

I'm trying to configure slitaz to display as small amounts of messages when booting as possible.

Up until now, I've set as default US keyboard, so I don't have to choose it. I've also added the "quiet splash" option when booting.

Now I am left with the ISOLINUX 3.82 [...] message, then silence for about 2 seconds (which is desired), but the slitaz seems to kick in (or is it still GRUB?) and it starts to tell me what's OK and what was turned on (messages ending with yellow [OK]).

Then, command line opens up, and it says "Welcome to your box" + some additional slitaz text.

Now, if possible, could I make it not say ANYTHING at all, make the login automatic (so you login as root with password root), and the first thing to display would be the command to execute?

It is worth mentioning that I must configure the slitaz .iso files itself. (I am running on RAM only)

Offline

#2 2014-01-12 20:19:45

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configuring slitaz boot

Open /etc/init.d/{rcS,bootopts.sh,system.sh} in a text editor.

Put # in front of echo and status lines you don't want to see.

Depending on cmdline options and daemons installed you may have to edit other start scripts in /etc/init.d

Recursively grep / filesystem for the source of hard to find messages to locate the script that echos.

Offline

#3 2014-04-29 16:57:18

kamac
Member
Registered: 2014-01-11
Posts: 10

Re: Configuring slitaz boot

This is a bit of a necro post, but since I had to get back to it, the problem remains.

I edited rcS, bootopts.sh and system.sh, removed all unnecessary echos, but yet I see lots of such messages appear during boot. (pcireport, then trying to load rootfs image, and more)

Is there really no other way to just turn off all echo'ing during boot? If not, have you got any idea what other files could I possibly modify?

Offline

#4 2014-04-29 17:09:04

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configuring slitaz boot

Add [c]quiet[/c] to bootloader kernel command line.

Offline

#5 2014-04-29 17:47:43

kamac
Member
Registered: 2014-01-11
Posts: 10

Re: Configuring slitaz boot

Nearly everything's gone! Nearly tongue

After a while of silence, I get the following messages:

Switching / to tmpfs [Skipped]

                     [Ok]

                     [Ok]

                     [Ok]

                     [Ok]

                     [Ok]

                     [Ok]

                     [Ok]

Detecting PCI devices Kernel modules...

* loaded module: intel_agp

* loaded module: sns_ens1371

Detecting USB devices Kernel modules...

Then something about udhcp.

I suppose the last one I can modify in some shell script (something related to network, I'd guess), but I'm not so sure about the PCI devices thingies.

Also, is it possible to customize the first-ever message: "ISOLINUX 4.05 2011-12-09 ETCD Copyright (C) ..."?

Offline

#6 2014-04-29 18:44:45

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configuring slitaz boot

Switching / to tmpfs [Skipped]

Comment this out in /init

[c]msg()
{
echo "Switching / to $1..."
}[/c]
[Ok]

Generated in scripts that source /lib/libtaz.sh using variable status()

Comment out [c]status[/c] from boot scripts.

3 boot scripts-> /etc/init.d/{rcS,bootopts.sh,system.sh}

Detecting PCI devices Kernel modules...

* loaded module: intel_agp

* loaded module: sns_ens1371

Detecting USB devices Kernel modules...

Generated by /sbin/tazhw

This could prevent hardware drivers from auto loading disabling the computer.

If so add the driver name to /etc/rcS.conf LOAD_MODULES=

Comment this section in /etc/init.d/rcS

[c]# Detect PCI and USB devices with Tazhw from slitaz-tools. We load
# kernel modules only at first boot or in LiveCD mode.
if [ ! -s /var/lib/detected-modules ]; then
tazhw init
fi[/c]
If udhcpc message is

"Starting udhcpc client on: $INTERFACE..."

Comment this out of /etc/init.d/network.sh

[c]echo "Starting udhcpc client on: $INTERFACE..."[/c]

Syslinux message would require hacking the source code and recompiling.

Offline

#7 2014-04-30 12:39:01

kamac
Member
Registered: 2014-01-11
Posts: 10

Re: Configuring slitaz boot

Hm, after a few seconds of silence (after booting), I'm getting something like that:

(much white space) [Status]

(much white space)

(much white space)

(much white space)

(much white space)

(much white space)

udhcpc (v1.18.4) started

Sending discover..

Sending discover..

Sending select for 192.168.60.132...

Lease of 192.168.60.132 obtained, lease time 1800

Any idea where is that coming from?

Offline

#8 2014-04-30 13:41:44

kamac
Member
Registered: 2014-01-11
Posts: 10

Re: Configuring slitaz boot

Sorry, not [Status], I ment [Skipped]

Offline

#9 2014-04-30 16:04:01

kamac
Member
Registered: 2014-01-11
Posts: 10

Re: Configuring slitaz boot

At the moment I simply need to somehow silence busybox. I think it's all that's left. How do I do it, though? hmm

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, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]