Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: timkritz on April 17, 2016, 03:08:51 PM

Title: /etc/inittab not persistant in 7.0?
Post by: timkritz on April 17, 2016, 03:08:51 PM
I need to disable busyboxes tty1 access in order to use it for basic communication. I am having the same problem as in this thread.

http://forum.tinycorelinux.net/index.php/topic,18410.msg112291/topicseen.html#msg112291

I changed bootlocal.sh and inittab and then ran filetool.sh -b to back it up. When I rebooted, the bootlocal.sh was saved but inittab was not. Any ideas on why this could be happening?   
Title: Re: /etc/inittab not persistant in 7.0?
Post by: Paul_123 on April 17, 2016, 05:04:06 PM
Did you do what the thread suggested.
  1) Remove the console from running on the serial port   (Edit the cmdline_v6.txt or cmdline_v7.txt depending on your board)
  2) Remove the startserialtty from /opt/bootlocal.sh

If you are using a rpi 3, you might want this note
Quote from: elinux.org
UPDATE: The raspberry pi 3 has changed things around a bit: ttyAMA0 now refers to the serial port that is connected to the bluetooth. The old serial port is now called ttyS0. So if you have an RPI3, everywhere you see "ttyAMA0" below, you should read "ttyS0".
Title: Re: /etc/inittab not persistant in 7.0?
Post by: curaga on April 18, 2016, 12:35:01 AM
Backup restore happens way too late for inittab. You need to remaster to edit that.
Title: Re: /etc/inittab not persistant in 7.0?
Post by: patrikg on April 18, 2016, 12:54:27 AM
Have been discussed before see this thread.
http://forum.tinycorelinux.net/index.php/topic,19801.msg122872.html#msg122872