Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: Fiddler on February 28, 2010, 01:51:08 PM

Title: microcore and startup script
Post by: Fiddler on February 28, 2010, 01:51:08 PM
A Linux Newbie using microcore 2.8 to build and test Lodable Kernel Modules.

So far, microcore has worked flawlessly and is amazingly simple to use. I have found the right linux to learn and build from. Thanks to the TinyCore and MicroCore team!

I have microcore installed (munally) on hard disks/compact flashdisks.

2 Questions:

1) How do I create a start up script to insmod my kernel modules at boot?

2) Is there an automated/scripted way to install microcore?

Any help would be greatly appreciated.
Title: Re: microcore and startup script
Post by: curaga on February 28, 2010, 04:03:35 PM
1) add your commands to /opt/bootlocal.sh

2) the usbinstall script can be used, if erasing the target hd is acceptable.
Title: Re: microcore and startup script
Post by: Fiddler on March 01, 2010, 10:35:40 PM
Thank You curaga for the quick reply.

Answer 1. Does that mean add a /opt/bootlocal.sh to my /mnt/hda1/ compact flash disk location? The actual /opt/bootlocal.sh location on my current system is running in RAM. I did not read how to make this persistent to the compact flash disk.
Title: Re: microcore and startup script
Post by: gerald_clark on March 01, 2010, 10:42:35 PM
/opt/bootlocal.sh is part of your backup.