Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Scorp1us on January 17, 2011, 07:34:23 AM

Title: Thanks, and decreasing boot times?
Post by: Scorp1us on January 17, 2011, 07:34:23 AM
First I have to say thanks.

TCE totally hit the spot as for what I am looking for! Learning the TCB nuances did take some time. The only thing I could suggest is a warning for shutdown/reboot that compares the saved filelist against the current filesystem and either automatically backs it up or prompts. I've lost some stuff because I rebooted without saving. Maybe even have the extensions inject their own entries into filelist?

But now onto my question...
I recently saw http://www.embedded-bits.co.uk/2011/1-second-linux-boot-to-qt/ (http://www.embedded-bits.co.uk/2011/1-second-linux-boot-to-qt/) and I was wondering if the same techniques could be applied to TCB.  It already is fast - my BIOS is the slowest single part. (BIOS, boot into X, start X app) But this still takes about a minute.

Thanks again for a totally awesome distro!
Title: Re: Thanks, and decreasing boot times?
Post by: curaga on January 17, 2011, 07:43:37 AM
Patches welcome. :)
Title: Re: Thanks, and decreasing boot times?
Post by: roberts on January 17, 2011, 09:26:59 AM
If you have not already done so....

Use ondemand instead of onboot.
Use microcore + only needed components
Use targeted boot codes instead of autoscanning.
Use specific kernel boot codes to limit auto detection.

Any and all of the above will make for a faster boot time.
Title: Re: Thanks, and decreasing boot times?
Post by: beerstein on January 20, 2011, 05:00:03 AM
Hi:
where in TC 3.4.1 (which folder/file/etc) do I have to insert the bootcodes to make them permanent?

Thank you for your help?
Title: Re: Thanks, and decreasing boot times?
Post by: gerald_clark on January 20, 2011, 07:50:47 AM
In the config file for your boot loader.
There are at least 4 different boot loaders being used by people here,
so you will have to look at yours and add them to the boot codes already being used.
Title: Re: Thanks, and decreasing boot times?
Post by: beerstein on January 20, 2011, 08:53:11 AM
Thank you for this:

I know there is GRUB Legacy, GRUB2, LILO and the regular boot process SYS  ? or so

I am using GRUB legacy - OK I will try to find that thing - I only know menu.lst
Title: Re: Thanks, and decreasing boot times?
Post by: gerald_clark on January 20, 2011, 09:01:58 AM
Add boot options to the kernel line in menu.lst