WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: /etc/inittab not persistant in 7.0?  (Read 981 times)

Offline timkritz

  • WikiUser
  • *
  • Posts: 2
/etc/inittab not persistant in 7.0?
« 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?   

Offline Paul_123

  • Sr. Member
  • ****
  • Posts: 423
Re: /etc/inittab not persistant in 7.0?
« Reply #1 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".

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9832
Re: /etc/inittab not persistant in 7.0?
« Reply #2 on: April 18, 2016, 12:35:01 AM »
Backup restore happens way too late for inittab. You need to remaster to edit that.
The only barriers that can stop you are the ones you create yourself.

Offline patrikg

  • Sr. Member
  • ****
  • Posts: 323
Re: /etc/inittab not persistant in 7.0?
« Reply #3 on: April 18, 2016, 12:54:27 AM »