Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: apuboard on November 09, 2015, 11:26:39 AM

Title: Installation over serial console stops during installation
Post by: apuboard on November 09, 2015, 11:26:39 AM
I made a bootable USB stick on Windows with UNetbootin and I use a Micro Core Linux iso File.
I want to install it on an APU from PC Engines, but I am doing this over the serial console.

Then it says:
login[413]: root login on 'tty1'
But I have no clue what to write.

I already modified the files syslinux.cfg and isolinux.cfg, but I can't find txt.cfg(I tried to create it by myself but it didn't work)

syslinux:

serial 0 115200 0x303

default ubnentry0

prompt 0

menu title UNetbootin

timeout 1

label ubnentry0

menu label microcore

kernel /boot/vmlinuz

append initrd=/boot/core.gz loglevel=3 console=ttyS0,115200n8

isolinux:

display boot.msg

CONSOLE 0

SERIAL 0 115200 0

default microcore

label microcore

       kernel /boot/vmlinuz

       initrd /boot/core.gz

       append loglevel=3

label mc

       kernel /boot/vmlinux

append initrd=/boot/core.gz loglevel=3

implicit 0 

prompt 0   

timeout 0

F1 boot.msg

F2 f2

F3 f3

F4 f4

 

Where can I find the txt.cfg?
Title: Re: Installation over serial console stops during installation
Post by: curaga on November 09, 2015, 03:32:51 PM
There is no tty on the serial console by default. To have one, you need to remaster the initrd with appropriate changes to /etc/inittab.

I have no idea what is txt.cfg. Finally, we do not support unetbootin - please use a supported installer like core2usb, though it might not make a difference in this case.
Title: Re: Installation over serial console stops during installation
Post by: apuboard on November 10, 2015, 02:44:27 AM
So my syslinux.cfg looks like that know, do you know what I have to change to boot it over serial console? I still got the login field for tty1, where do I have to change it to /etc/inittab?
display boot.msg
serial 0 115200 0x303
default microcore
label microcore
   kernel /boot/vmlinuz
   initrd /boot/core.gz
   append loglevel=3 console=ttyS0,115200n8

label mc
   kernel /boot/vmlinuz
   append initrd=/boot/core.gz loglevel=3 console=ttyS0,115200n8
implicit 0   
prompt 1   
timeout 300
F1 boot.msg
Title: Re: Installation over serial console stops during installation
Post by: curaga on November 10, 2015, 06:52:04 AM
You need to edit /etc/inittab inside core.gz.
Title: Re: Installation over serial console stops during installation
Post by: apuboard on November 10, 2015, 07:31:58 AM
I always get to this point in the installation.
http://postimg.org/image/y6b3dgcl5/ (http://postimg.org/image/y6b3dgcl5/)
That's because i didn't set tty0, right?
What I know is that I have to comment out tty1 and add an new line for tty0.
Do I have to do more than that?
Title: Re: Installation over serial console stops during installation
Post by: curaga on November 10, 2015, 07:57:43 AM
http://forum.tinycorelinux.net/index.php/topic,11218.msg58610.html#msg58610

That thread is worth reading in entirety.
Title: Re: Installation over serial console stops during installation
Post by: apuboard on November 13, 2015, 05:20:56 AM
@curaga I read the forum post and tried to change the inittab and the securetty files. But I just opended it over the GUI in Debian. But I alway get a Kernel error and a Kernel offset after I save it.
Do I have to decompress the core.gz first and after modifing compress again?
Title: Re: Installation over serial console stops during installation
Post by: curaga on November 13, 2015, 05:46:02 AM
Yes, please see the wiki on remastering. How exactly did you modify them if you didn't uncompress/recompress?
Title: Re: Installation over serial console stops during installation
Post by: apuboard on November 13, 2015, 06:28:58 AM
@curaga Maybe It did decompressed by itself. After I saved the file it updated core.gz. But the file was looking the same but it was 9.8 MB instead of 9.9Mb and I did not delete a lot