Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: Nthdive 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!
-
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
-
@gerald_clark, some tutorial links to support your solution, will be appreciated much :)
-
Hi Nthdive
Try this:
http://tinycorelinux.net/book.html
-
The book link is at the top of the home page.
Also you should spend some time in the wiki.
-
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----
-
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.
-
Solved by using VMDK Image file from: www.gns3.net/appliances/
-
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.