WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: microcore and startup script  (Read 4917 times)

Offline Fiddler

  • Newbie
  • *
  • Posts: 6
microcore and startup script
« 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: microcore and startup script
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline Fiddler

  • Newbie
  • *
  • Posts: 6
Re: microcore and startup script
« Reply #2 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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: microcore and startup script
« Reply #3 on: March 01, 2010, 10:42:35 PM »
/opt/bootlocal.sh is part of your backup.