I've had Arch Linux installed on my system for a while now, but the problem is that it takes way too much time to boot. And so, I'm trying to optimize the boot process. A Google search led me to quick-init but the its' AUR page says its out-of-date. So, I just want to make sure if I should use this? Or are there any other ways?
- Would be extra nice if you included a link, so that I don't have to do the search myself.tshepang– tshepang2011-07-15 17:26:44 +00:00Commented Jul 15, 2011 at 17:26
- 2You might also provide some information as to exactly where the boot process is slow... That would help with suggestions and recommendations.jasonwryan– jasonwryan2011-07-15 20:07:32 +00:00Commented Jul 15, 2011 at 20:07
- @Tshepang- added the linkuser3496– user34962011-07-16 06:00:34 +00:00Commented Jul 16, 2011 at 6:00
3 Answers
I highly recommend the e4rat package. A detailed how-to is on sourceforge as well as in this Lifehacker article.
- 3You would be better off providing a link to the official Arch information on the Wiki: it is tailored for Arch and won't go out of date like the Lifehacker article: wiki.archlinux.org/index.php/E4ratjasonwryan– jasonwryan2011-07-31 23:47:27 +00:00Commented Jul 31, 2011 at 23:47
Ubuntu uses the ureadahead package. It might take some work to get it going on Arch, but should be possible. See the Ureadahead page on the Arch wiki.
In your /etc/rc.conf there should be a "DAEMONS" line (see the wiki). This is a list of all of the daemons that will start on system boot. You can specify that a daemon should be started in the background, i.e. don't wait on it to finish starting before continuing, by prefixing a "@" to the daemon name. For example, on my XBMC box I have the following:
DAEMONS=(syslog-ng network !netfs crond @acpid @sshd @httpd @samba @alsa @openntpd !dbus @avahi-daemon @mtd @lircd @autofs) This box boots very quickly.