WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kernel command line to load extension  (Read 3315 times)

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
kernel command line to load extension
« on: July 01, 2010, 04:01:57 PM »

Is there a kernel command line option that can be used to load an extension ?


Offline limeblack

  • Jr. Member
  • **
  • Posts: 69
Re: kernel command line to load extension
« Reply #1 on: July 01, 2010, 09:16:57 PM »
If you are talking about a Terminal command line.  Then all you need is tce-load  :D
Quote
tce-load -w -i appbrowser-cli.tcz

If not then unfortunately the only alternative is creating separate folders with the different extensions in each.  :P  For example this is what my menu.lst looks like.   ;D
Quote
title tc minefield+compiletc
kernel /boot/bzImage tce=hda5/tc/mine restore=hda5/tc/mine quiet
initrd /boot/tinycore.gz

If there is another way to load extensions I'd love to know also.  ??? ;D



Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: kernel command line to load extension
« Reply #2 on: July 01, 2010, 09:29:50 PM »
If you are talking about command line app browsing then use the ab command.
It is a simple script built using other *nix commands.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: kernel command line to load extension
« Reply #3 on: July 02, 2010, 03:51:16 AM »
@limeblack: you can keep them all in a single tce dir, and just use different lists for what to load on boot.

Default entry without anything, compiletc entry for example with "lst=compile.lst" (with compile.lst being just a renamed onboot.lst for this use).
The only barriers that can stop you are the ones you create yourself.

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
Re: kernel command line to load extension
« Reply #4 on: July 02, 2010, 05:49:51 AM »
Looking at tce-setup, I thought this might be the case, but I was having some problems.

Your tip about being the same the onboot.lst should help!

Thanks.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: kernel command line to load extension
« Reply #5 on: July 02, 2010, 06:02:16 AM »
I use OnDemand for my compiletc and other less often used extensions. That way they are easily available anytime I need them and not loading at boot or needing a reboot to access them.
10+ Years Contributing to Linux Open Source Projects.

Offline AlabamaPaul

  • Newbie
  • *
  • Posts: 34
Re: kernel command line to load extension
« Reply #6 on: July 02, 2010, 10:08:32 AM »
Robert,

That's what I do on my desktop, but I'm looking to do this using PXE, and wanted to use the list to handle slightly different extensions for different platforms.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: kernel command line to load extension
« Reply #7 on: July 03, 2010, 08:27:36 AM »
The lst=private.lst works, but the AppsAudit application OnBoot maintenance still uses onboot.lst.
Perhaps lst could be saved and AppsAudit could use the list?