View previous topic :: View next topic |
Author |
Message |
enigma_0Z Guru


Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Sat Jun 10, 2006 3:16 am Post subject: Need speed tweaks for bootup processes |
|
|
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 |
|
 |
jedsen Apprentice

Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
|
Back to top |
|
 |
suck_ma_penguin Apprentice


Joined: 03 May 2004 Posts: 180
|
Posted: Sat Jun 10, 2006 1:28 pm Post subject: |
|
|
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 |
|
 |
weaksauce Apprentice


Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Sat Jun 10, 2006 5:15 pm Post subject: |
|
|
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 |
|
 |
enigma_0Z Guru


Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Sun Jun 11, 2006 2:40 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|