Tiny Core Base > TCB Q&A Forum

Improve boot time tiny core linux

(1/7) > >>

malicske:
Hello,

This is another thread for improving boot times. I hope you are not tired of it yet!
I need a distro with firefox, alsa and flash. I also included Xfce4
I've looked around this forum and on the internet and have undertaken the following:

 1) Remasterd tiny core, extract all the extensions into the tinycore.gz (60MB)
 2) added tiny core boot codes: embed noswap quiet noicons host=lichtSystem user=licht kmap=be-latin1 tce=sda6/tcSX
 3) added kernel boot codes: noapm hda=none hdb=none hdc=none hdd=none floppy=none noisapnp nofirewire nopcmcia

Results:
 -1) tiny core base default: 10s
  0) tiny core with all extensions downloaded, installed via: onboot.lst: 19s
  1) remastering: 17s
  2) boot codes: 14s (the tce=xyz did miracles!)
  3) kernel boot codes 13s

I would like to get it below 5s. But under 10 is also good.
Are there any suggestions?
From what I see, booting the kernel takes a while. Takes up to 7s, while booting my kernel in debian takes 3,5s.

I'm using a dell laptop, core 2 due 2,2 GHz and 4Gb of ram. My disk can read upto 75MB/s

Thank you

robc:
you can try using a persistent local on your harddrive. That way you are just booting the base and mounting the drive location to the /usr/local directory.
There is also the tclocal=/mnt/sda1 boot code that should do this for you.  One note, you lose the fresh restart state of TC since the /usr/local directory is persistent.

curaga:
If you're not on 3.8.2 yet, do update, it boots faster. The kernel part of the boot is significantly improved in 4.x, too.

malicske:

--- Quote from: curaga on August 18, 2011, 10:55:28 PM ---If you're not on 3.8.2 yet, do update, it boots faster. The kernel part of the boot is significantly improved in 4.x, too.

--- End quote ---

Thx for the tip, running a remaster now with 3.8.2 and will test it this evening and come back with a timing.

malicske:

--- Quote from: malicske on August 18, 2011, 11:41:38 PM ---
--- Quote from: curaga on August 18, 2011, 10:55:28 PM ---If you're not on 3.8.2 yet, do update, it boots faster. The kernel part of the boot is significantly improved in 4.x, too.

--- End quote ---

Thx for the tip, running a remaster now with 3.8.2 and will test it this evening and come back with a timing.

--- End quote ---

It seems I was already on the 3.8.2 so no improvement there.

A little update:
Remastered with the 3.8.4 and added a new boot parameter a received from a member: floppy=0,irq

What I have now:
 ** TC 3.8.4 remastered with: alsa, firefox, flash, wireless, wl, xfce4, xfi, leafpad, ntfs-3g, xarchiver, zip, unrar, gparted and openssh.   => size: 66,6 MB

 ** Boot code:  noapm hda=none hdb=none hdc=none hdd=none floppy=0,irq noisapnp nofirewire nopcmcia embed noswap quiet host=lichtSystem kmap=be-latin1 tce=sda1/tce

Final boot time: <9s

So my first objective complete, distro boots faster then 10s!!! Ready to go www

Who knows, some person may get something from this info  ;)

Thanks guys, very nice distro. I have been playing around with slitaz lately wich also has a nice structure and very small!! (lzma) But I find the modular approach and the persistence waaaay more advanced, easier and practical. Just saying :-)
On the other hand, slitaz has a very small 30 mb iso, with a full workable and nice looking distro. Which is also nice :-)

Navigation

[0] Message Index

[#] Next page

Go to full version