WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Self Executable Extensions Installer & Backup  (Read 2527 times)

Offline Nthdive

  • Newbie
  • *
  • Posts: 4
Self Executable Extensions Installer & Backup
« on: May 03, 2014, 10:29:25 AM »
Hey everyone,

We're using TinyCoreLinux ( 9MB - Core Current Version ) for some experiments on VirtualBox. What we need to achieve is that when we just power on the TinyCoreLinux instance, after booting up, it runs a startup shell script which will install some necessary extensions such as "Openssh" and "Gcc-compiler", and then ping back at our server address.

We're done with that shell script contents which will do all this stuff but we're stucked at a point, when we just Poweroff the machine, everything vanish. We tried backup method but it didn't work out for us.

So, if you have idea of following stuff, do reply back:

1. Load shell script at boot time.
2. Save that shell script as integral part of our TinyCoreLinux instance.

Thank you!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Self Executable Extensions Installer & Backup
« Reply #1 on: May 03, 2014, 10:32:51 AM »
Please read the corebook.
You need persistent tce storage.
Your packages should be installed to load onboot.
You can add your ping routine to bootlocal.sh

Offline Nthdive

  • Newbie
  • *
  • Posts: 4
Re: Self Executable Extensions Installer & Backup
« Reply #2 on: May 03, 2014, 10:36:55 AM »
@gerald_clark, some tutorial links to support your solution, will be appreciated much :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Self Executable Extensions Installer & Backup
« Reply #3 on: May 03, 2014, 10:38:50 AM »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Self Executable Extensions Installer & Backup
« Reply #4 on: May 03, 2014, 10:47:19 AM »
The book link is at the top of the home page.
Also you should spend some time in the wiki.

Offline Nthdive

  • Newbie
  • *
  • Posts: 4
Re: Self Executable Extensions Installer & Backup
« Reply #5 on: May 04, 2014, 10:42:51 AM »
After reading book, I came up with these, but it didn't helped me much. Any idea where I am wrong?

Snapshots (Before Reboot and After Reboot) : ----https://drive.google.com/folderview?id=0B1mJmUpFchikdHNJelZMRGpBdk0&usp=sharing----
« Last Edit: May 04, 2014, 10:44:44 AM by Nthdive »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Self Executable Extensions Installer & Backup
« Reply #6 on: May 04, 2014, 05:41:40 PM »
You need to boot from hd/USB drive with a persistent tce directory.
If tce is on a USB drive don't forget the waitusb boot option.

Offline Nthdive

  • Newbie
  • *
  • Posts: 4
Re: Self Executable Extensions Installer & Backup
« Reply #7 on: May 05, 2014, 03:52:33 PM »
Solved by using VMDK Image file from: www.gns3.net/appliances/

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Self Executable Extensions Installer & Backup
« Reply #8 on: May 05, 2014, 07:50:53 PM »
After reading book, I came up with these, but it didn't helped me much. Any idea where I am wrong?

Snapshots (Before Reboot and After Reboot) : ----https://drive.google.com/folderview?id=0B1mJmUpFchikdHNJelZMRGpBdk0&usp=sharing----


Respective subjects should be posted in "Tiny Core on Virtual Machines" subforum.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)