WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installation over serial console stops during installation  (Read 5658 times)

Offline apuboard

  • Newbie
  • *
  • Posts: 30
Installation over serial console stops during installation
« on: November 09, 2015, 08: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?
« Last Edit: November 09, 2015, 08:28:42 AM by apuboard »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Installation over serial console stops during installation
« Reply #1 on: November 09, 2015, 12: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.
The only barriers that can stop you are the ones you create yourself.

Offline apuboard

  • Newbie
  • *
  • Posts: 30
Re: Installation over serial console stops during installation
« Reply #2 on: November 09, 2015, 11:44:27 PM »
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Installation over serial console stops during installation
« Reply #3 on: November 10, 2015, 03:52:04 AM »
You need to edit /etc/inittab inside core.gz.
The only barriers that can stop you are the ones you create yourself.

Offline apuboard

  • Newbie
  • *
  • Posts: 30
Re: Installation over serial console stops during installation
« Reply #4 on: November 10, 2015, 04:31:58 AM »
I always get to this point in the installation.
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?
« Last Edit: November 10, 2015, 04:34:03 AM by apuboard »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Installation over serial console stops during installation
« Reply #5 on: November 10, 2015, 04:57:43 AM »
The only barriers that can stop you are the ones you create yourself.

Offline apuboard

  • Newbie
  • *
  • Posts: 30
Re: Installation over serial console stops during installation
« Reply #6 on: November 13, 2015, 02: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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Installation over serial console stops during installation
« Reply #7 on: November 13, 2015, 02:46:02 AM »
Yes, please see the wiki on remastering. How exactly did you modify them if you didn't uncompress/recompress?
The only barriers that can stop you are the ones you create yourself.

Offline apuboard

  • Newbie
  • *
  • Posts: 30
Re: Installation over serial console stops during installation
« Reply #8 on: November 13, 2015, 03: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