Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need speed tweaks for bootup processes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Sat Jun 10, 2006 3:16 am    Post subject: Need speed tweaks for bootup processes Reply with quote

Hi all,

I need to get my gentoo distro to boot to a usable single-mode prompt as fast as totally possible. My single runlevel only starts up net.*, local, and sysklogd.

Is there some other kernel/init tweaks to make it boot faster? Thanks.
_________________
Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat Jun 10, 2006 3:49 am    Post subject: Reply with quote

Boot processes simultaneously:
http://www.linux.com/article.pl?sid=06/04/13/173227
Some general tips:
http://www-128.ibm.com/developerworks/linux/library/l-boot.html?ca=dgr-lnxw04BootFaster

Out of curiousity, what's the purpose of the box you're trying to speed up?
Back to top
View user's profile Send private message
suck_ma_penguin
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 180

PostPosted: Sat Jun 10, 2006 1:28 pm    Post subject: Reply with quote

Use initng:

Code:
emerge layman
layman -a -f initng
echo 'sys-apps/initng-ifiles ~x86' >> /etc/portage/package.keywords
echo 'sys-apps/initng ~x86' >> /etc/portage/package.keywords
emerge initng initng-ifiles


If you're using portage 2.1, there are some tweaks you can use for what it installs. To give you an idea, this variable is in my /etc/make.conf:
Code:

USE_EXPAND="INITNG_PLUGINS"
INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded ctrlaltdel dbus_event netdev provide sysreq"


There is an explanation of this installation on the initng website. The gentoo wiki page is out of date.
Back to top
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Sat Jun 10, 2006 5:15 pm    Post subject: Reply with quote

so, i just figured i would try this out on my machine. I got it installed, with the use flags suggested on the site, all my programs are ~amd64 so I was already using > portage-2.1 anyway, when I boot up, it seems to call three different headings of system/mountroot/check. The first time, it's fine, the third it's fine, but the second something is wrong. It will tell me that the fs (which is reiserfs) is mounted read-only, and that fsck failed, it is offering me the su_allow or whatever terminal? If I enter root password, I get the limited terminal with no write support, if I hit control-d, the system continues and seems to finish booting up with no problem. It's like it's doing an unnecessary check and failing. When I finally do get to 100% booting, I have a rw fs, and even kde and gdm work! Any ideas on how to get rid of that error?

Thanks, sorry for the long message.
Back to top
View user's profile Send private message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Sun Jun 11, 2006 2:40 pm    Post subject: Reply with quote

Hmm... First of all, what is "layman"

Also, how can I set the system up to automatically log in as root, or another user for that matter? I'd still like my services to start.
_________________
Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum