Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 [3] 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Boot faster DSL3.4, Howto boot faster from USB< Next Oldest | Next Newest >
hvdmerwe Offline





Group: Members
Posts: 16
Joined: July 2007
Posted: July 18 2007,07:13 QUOTE

I have started looking into modding initrd, but I cant really see the benefit (most stuff can be disabled via kernel params).

using "nousb" and loading usb later might help, will try that.  I have the data for my kiosk on a second USB stick.

Thanks for the help - I have a better understanding of the whole process now.

My conclusion is that the bootloading is the bottleneck - loading the image into memory from USB is taking up most of the time.
So I need to get a faster bootloader (any suggestions welcome) or/and make the image smaller.

Thanks again
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: July 18 2007,07:54 QUOTE

Well, delete everything you don't need to make it smaller..
Firefox takes a lot of space for example..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 18 2007,13:37 QUOTE

It would replace the current initrd system with an optimized one... it's different from passing cheatcodes.

You could also try booting with the regular non-initrd version with dma enabled and see if how your systems performs with that.
Back to top
Profile PM 
hvdmerwe Offline





Group: Members
Posts: 16
Joined: July 2007
Posted: July 19 2007,07:58 QUOTE

What do I need in linuxrc (in initrc24.gz) to just startup X and xmms (and my app)?

There are a lot of checks and balances in the file (that I dont need) - any documentation on it, something more detailed than the following?

Mount /proc, /dev/pts, /sys
Loads modules
Some housekeeping (setting PATH etc)
Swap out paths with /KNOPPIX (/sbin)
Creates and mounts ramdisk for /home and /var
More housekeeping (links /KNOPPIX/dev,etc to /dev,etc etc)
Exit to let init take over (I will replace this with starting X etc)
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: July 19 2007,08:58 QUOTE

It is pretty compact, you need at least all the "housekeeping", mounting and module stuff. To squeeze some seconds off the boot, disable checks for hardware which you now use no-- codes for altogether. As it takes a split second to check for a no-- boot parameter..

I would not recommend starting X from linuxrc, real init does some "housekeeping" too..

Next place to edit is /etc/init.d/knoppix-autoconfig and dsl-config in the same directory.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
20 replies since July 17 2007,07:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: Boot faster DSL3.4

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code