Autor |
Nachricht |
|
|
Titel: Faster boot times
Verfasst am: 22.08.2006, 17:47 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
I have seen the occaisional post on news forge about playing with different init versions to make one's system boot faster. Before I play with one and bork my system I thought I would ask around here....
Anybody know of any safe ways to make my system boot faster? I have a notebook and have to power up and down a lot and I really wish the process would go faster. Thanks
Oh, I have 7200RPM HDD, so I don't think that's the bottleneck, but I could be wrong. Also have 3GHz P4 and 2GB RAM. |
|
|
|
|
 |
|
Titel: Faster boot times
Verfasst am: 22.08.2006, 18:33 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
You have a labtop why don't you use the normal hibernate-function? Than there is no need to always powerdown the pc.
No, there is no way to make boot going faster, but you can play with a less resource-hungry WM. |
|
|
|
|
 |
|
Titel:
Verfasst am: 22.08.2006, 18:36 Uhr
|
|

Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
|
|
You could use initng.
http://initng.thinktux.net/wiki/Documents_Overview
I used to use it on Kanotix 2005-04, but had a few problems with nvidia. (Probably my fault in not setting it up properly).
I am still using it with Debian Sid and Mepis, it knocks about 15 secs off boot time.
The gentoo wiki has a great howto.
http://gentoo-wiki.com/HOWTO_Initng |
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
|
|
 |
|
Titel: Re: Faster boot times
Verfasst am: 22.08.2006, 18:45 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
schnorrer:
Because I thought it didn't work in general, and particularly with the ATI MR9600 my notebook uses. I would love to be wrong
anticapitalista:
I was referring to initng. Being a green horn though, I was afraid it might wreck something kanotix had done. I'll look into this, too. Thanks for the link to the wiki  |
|
|
|
|
 |
|
Titel: Re: Faster boot times
Verfasst am: 22.08.2006, 19:14 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
@anticapitalista: the kanotix kernels load a lot of drivers for the System annt some more stuff, servces which a normal user do not need. But this made only 5sec. more to load.
Common: configuring this services is the time wasted, to let the user operate/work within a short time.
Compared to a OS from M$ kanotix is faster ready to operate.
UncleDeadly: I had to figure out which services I need, and which not. Time I spend for this action: 1 Day Time won by this action: 10 sec. but I should keep trach when do a dist-upgrade when distro-defaults are updated.
Sometimes the distrodefaults re-activate unwantes services, but this time only a few sec. work and all services are as before the upgrade runs. |
|
|
|
|
 |
|
Titel: RE: Re: Faster boot times
Verfasst am: 22.08.2006, 20:53 Uhr
|
|
Anmeldung: 12. Mar 2005
Beiträge: 1005
|
|
<not for new users>
I really like, and use on all my installs, sysv-rc-config
This gets rid of the freeze stuff when you install it, or disables it, anyway, freeze goes away, and instead you get a really pleasant command line interface, which is almost gui like, that lists all your running services, and the runlevels they start or stop at.
While using this gets rid of the protection that freeze etc gives you from upgraded or new services starting automatically after a dist-upgrade, to me it's so easy to switch them off again with this application that it hardly matters, and I have a very good idea of what is running, and how.
But new users, please don't install this, until you get more familiar with your system daemons, aka 'services', it will just lead to headaches for you. |
_________________ Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
|
|
|
|
 |
|
Titel: Re: Faster boot times
Verfasst am: 22.08.2006, 22:50 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
schnorrer hat folgendes geschrieben::
@anticapitalista: the kanotix kernels load a lot of drivers for the System annt some more stuff, servces which a normal user do not need. But this made only 5sec. more to load.
This information is wrong, only modules for which the h/w is present are loaded. |
|
|
|
|
 |
|
Titel: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 00:05 Uhr
|
|

Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
|
|
The good thing about using initng is that it does not affect your existing bootup scripts. It creates its own and you can test it out and if it doesn't work properly, you simply switch back to normal init.
As I wrote, I couln't get the initng scripts to work properly with kanotix 2005-04 (not kanotix's fault) and kanotix boots up fast anyway (about 40 secs on my AMD 2000), so I just resorted back to the original init.
On Debian sid and Mepis I was able to set up initng without any problems and boot time for both is about 30-35 secs (from 45-50 secs) |
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
|
|
 |
|
Titel: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 00:26 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
Actually there are ways of making your Debian box boot faster. I have used runit with much success. How much? I cut a 1:30 boot time to < 45 seconds. The last time I tried runit there were a few issues that needed to be resolved. I have not tried it again since but it's actually in Debian now. My advice to you is to try it on a test installation before mucking about with your primary OS. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 04:26 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
Wow, thanks for all the input. I really appreciate it. I figured what schnorrer said might be the case- a day of work to cut 10 seconds. Initng and runit sound interesting though, as does h2's suggested one. I think I might try initng first, since it seems like I can do that without borking my system, first. I wish I had a test system. I'll just have to make back ups, first. I think I'll do some more reading, too. Thanks everyone. |
|
|
|
|
 |
|
Titel: Re: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 05:40 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
UncleDeadley hat folgendes geschrieben::
I wish I had a test system.
All you need is a spare 3G or so partition.  |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 06:59 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
Yeah, I wish. My dissertation+data eats up most of my drive, and the mp3's take up what's left. I guess I could always get rid of those ;( I might also just finally get rid of windows.
On the plus side, I have initng going already. Took an hour or so to figure out that it was hanging because I was automounting my ntfs and fat32 partitions and they were making the fsck time out. Kind folks over at #initng were helpful, too. Now, if I get really adventuresome, I might see about runit or disabling some services....
or maybe I'll just stick with the 'low hanging fruit'.  |
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 07:20 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
mzilikazi I just installed runit and have found that it is realy quick especialy for getting kde up and running. The prob I am facing is that I would like to find a way to config runit to automatically login and startup kde as my old init did. Is there a way of doing that, because it looks like I might have cut my boot time by half if I am successful at that. |
|
|
|
|
 |
|
Titel: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 23.08.2006, 13:35 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
LRC hat folgendes geschrieben::
The prob I am facing is that I would like to find a way to config runit to automatically login and startup kde as my old init did. Is there a way of doing that,
Sorry but I'm neither a KDE nor KDM user. :/ If runit doesn't allow you to auto login but sysvinit did (and nothing changed in the KDE configuration) then I must assume that
A: KDM requires a certain service to be run to allow auto login and
and
B: This service is not getting started.
FInd, the service, enable it and see if that works. Perhaps ask in #kde |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 25.08.2006, 01:39 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
OK, I'm curious now. How do I figure out/where do I look to see what is slated to happen at boot up for a default kanotix install? Is there a list of services/daemons that get started? There has to be one some place, right? Where do I find it so I can look at it. |
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 28.08.2006, 20:44 Uhr
|
|
Anmeldung: 21. Jan 2005
Beiträge: 454
Wohnort: NYC/NJ Area
|
|
There was a thread awhile back on initng and also a how-to on testing boot times with a graphic app...forgot what it was.I couldnt find it in search,anyone else remember this?
I think mzilikazi wrote the how to.........was interesting.
I just edit rcconf as needed.There are plenty of sites explaining each entry's useage. |
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 01.09.2006, 20:57 Uhr
|
|

Anmeldung: 24. Jun 2006
Beiträge: 90
Wohnort: Muppet Theater
|
|
Lets see, I played with initng- very easy, didn't hurt anything, trimmed boot (when I click enter on a kernel to when I get a login screen) from 50s to 45s. However, I had to turn off automounting my ntfs and fat32 partitions. This ended up not saving me much time since I have to get at the fat32 partition all the time and now I had to open a terminal and mount it by hand after every boot. So, back to the original way until I look more into runit, or playing with rcconf.
Oh, I also tried to hibernate and standby by enabling them in KControl Center, however, neither function worked on my notebook. Hibernate went down, but wouldn't come back up right. Standby wouldn't quite finish turning things off- fan kept blowing. |
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 02.09.2006, 00:00 Uhr
|
|
Anmeldung: 21. Jan 2005
Beiträge: 454
Wohnort: NYC/NJ Area
|
|
There is a way to make initng mount your fat32 only I dont remember how.Its actually quite userfriendly if you get used to the initng scripting. |
|
|
|
|
 |
|
Titel: Re: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 06.09.2006, 16:52 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
ironwalker hat folgendes geschrieben::
There was a thread awhile back on initng and also a how-to on testing boot times with a graphic app...forgot what it was.I couldnt find it in search,anyone else remember this?
I think mzilikazi wrote the how to.........was interesting.
I just edit rcconf as needed.There are plenty of sites explaining each entry's useage.
The application to which yuo refer is called Bootchart. The how to I wrote seems to have vanished or at least the search function is unable to find it for me. No fear, it's in Debian repos.  |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel: RE: Re: RE: Re: RE: Re: RE: Re: Faster boot times
Verfasst am: 06.09.2006, 20:55 Uhr
|
|
Anmeldung: 21. Jan 2005
Beiträge: 454
Wohnort: NYC/NJ Area
|
|
That was it,thanks!  |
|
|
|
|
 |
|