SliTaz SliTaz Forum

You are not logged in.

#1 2013-05-17 03:06:00

hbl0307106015
Member
Registered: 2013-05-17
Posts: 4

Make the slitaz boot on my own way,e.g. command-line-only UI for user.

As we all know, there are several booting selection at slitaz, but now I want to boot the slitaz only under the command-line.

any suggestions will be appreciated, thanks.

Offline

#2 2013-05-17 13:38:11

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

add mode=text at the end of the grub command line

Offline

#3 2013-05-17 14:10:57

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

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

Add screen=text to kernel line of boot loader then /etc/init.d/system.sh does not start slim login manager which is what starts Xorg-server.

SliTaz core-4in1

Choose SliTaz base Live from orange boot menu.

or

Tab any other SliTaz Live selection add screen=text hit Enter.

Offline

#4 2013-05-17 19:55:58

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

sorry my mistake

thanks mojo wink

Offline

#5 2013-05-18 13:29:09

hbl0307106015
Member
Registered: 2013-05-17
Posts: 4

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

Thanks,I will have a try.

Offline

#6 2013-05-20 03:11:04

hbl0307106015
Member
Registered: 2013-05-17
Posts: 4

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

I used UNetbootin to make my USB-slitaz system.And I known it used syslinux to act as bootloader.

Thus I modified the syslinux.cfg file and add screen=text.Of course the serial console  has content outputed.

However it still can not login via serial console...

below is my syslinux.cfg file:

[c]

default menu.c32

prompt 0

menu title UNetbootin

timeout 100

label unetbootindefault

menu label Default

kernel /ubnkern

append initrd=/ubninit rw root=/dev/null console=tty0 console=ttyS0,115200n8 vga=normal autologin

[/c]

Offline

#7 2013-05-20 17:38:28

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

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

@ banglang

What do you mean exactly by "it still can not login via serial console..." ? Is ther an error message?

May be your problem comes from UNetbootin; see http://forum.slitaz.org/topic/cannot-access#post-22920

Offline

#8 2013-05-20 18:30:01

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

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

@banglang

tux@slitaz:~$ zcat /proc/config.gz | grep CONFIG_SERIAL_8250_CONSOLE

# CONFIG_SERIAL_8250_CONSOLE is not set

CONFIG_SERIAL_8250_CONSOLE: Console on 8250/16550 and compatible serial port

If you say Y here, it will be possible to use a serial port as the system console (the system console is the device which receives all kernel messages and warnings and which allows logins in single user mode). This could be useful if some terminal or printer is connected to that serial port.

Even if you say Y here, the currently visible virtual console (/dev/tty0) will still be used as the system console by default, but you can alter that using a kernel command line option such as "console=ttyS1". (Try "man bootparam" or see the documentation of your boot loader (grub or lilo or loadlin) about how to pass options to the kernel at boot time.)

If you don't have a VGA card installed and you say Y here, the kernel will automatically use the first serial line, /dev/ttyS0, as system console.

You can set that using a kernel command line option such as "console=uart8250,io,0x3f8,9600n8" "console=uart8250,mmio,0xff5e0000,115200n8". and it will switch to normal serial console when the corresponding port is ready. "earlycon=uart8250,io,0x3f8,9600n8" "earlycon=uart8250,mmio,0xff5e0000,115200n8". it will not only setup early console.

If unsure, say N.

Compile your own kernel if you want this option.

Offline

#9 2013-05-21 05:03:17

hbl0307106015
Member
Registered: 2013-05-17
Posts: 4

Re: Make the slitaz boot on my own way,e.g. command-line-only UI for user.

@ Ceel

hi,Ceel

   the sentence means I can see the log message from the serial port(use minicom or kermit),but can not

operate it.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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