Talk:TIP Speed up your boot process

From Gentoo Linux Wiki

Jump to: navigation, search

OK, I'll bite. How are you supposed to install a new baselayout? Just doing an 'emerge baselayout' simply rebuilt the existing one.

Baselayout's change when you move from major versions. For example, 1.4 to 2004.2 has a different baselayout.

2004.2 to 2004.3 is not a baselayout change. A baselayout is the only time you really may need to upgrade gentoo, differently to a normal: emerge --sync, emerge world.

Answered by evader.

Contents

[edit] RC_PARALLEL_STARTUP moved

On by 2007.0 system /etc/rc.conf does not have such a setting (well, I could add it, but it made me suspicious), instead I found it in /etc/conf.d/rc. Nice if someone could check this as I'm pretty new to Gentoo and incorporate this into the wiki. --82.135.78.132 22:14, 2 October 2007 (UTC)

[edit] Updating to new baselayout

To update your baselayout add following keyword since the packages required are marked as nonstable. This is ripped from the HOWTO_Wireless_Configuration_and_Startup:

mkdir -p /etc/portage
echo "~sys-apps/baselayout-1.11.9 ~x86" >> /etc/portage/package.keywords
echo "~sys-apps/sysvinit-2.86 ~x86" >> /etc/portage/package.keywords
echo "~app-shells/bash-3.0 ~x86" >> /etc/portage/package.keywords
echo "~sys-libs/readline-5.0 ~x86" >> /etc/portage/package.keywords
emerge -uav sys-apps/baselayout net-wireless/wireless-tools sys-libs/readline bash

[edit] Readahead

There is also work going on with the Redhat derived (I think it is.. Only distro I have seen it on has been Fedora) tool to get it working with Gentoo. It umm block loads everything that the boot process (init scripts) will be needing to memory, speeding up the process greatly. (It can halve the boot process time!)

The funny thing is that Windows XP does the same too and that's why it can bounce from dead to alive on my system in way less than 10 seconds. All you got to do is to have a real hard disk for the mass reading to be effective.

We'll be hearing more about the tool later, you guys can search the forums about it.

[edit] Delete?

I think this could easily be integrated with something else.

keep, a bit small maybe, but could get improved. -- 80.138.61.131 18:50, 19 Apr 2005 (GMT)
keep, I can easily see this being changed to include some actually useful information, such as the modules-update patch I saw a while back in the forums. Also, if there was something already about improving performance, such as the "how to fly with gentoo" forums post, then I'd say include it in that, but I haven't seen anything like that here yet. --GBob 19:00, 19 Apr 2005 (GMT)

[edit] "rc-config list" appears to be obsolete

planxty ~ # rc-config list

-bash: rc-config: command not found

What appears to work:

planxty ~ # rc-status -a
Runlevel: boot
keymaps                                                            [ started ]
...
Runlevel: default
dbus                                                               [ started ] 
...
Runlevel: nonetwork
local                                                              [ started ]
Runlevel: single
Runlevel: UNASSIGNED
cpudyn                                                             [   off ] 
...

To find available services I usually do:

planxty ~ # ls /etc/init.d

acpid         crypto-loop   hald        mDNSResponder  postgresql    smartd
...

planxty ~ #

In case it matters:

planxty ~ # uname -a Linux planxty 2.6.14-gentoo-r5 #1 SMP Sat Dec 24 10:54:39 PST 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux

This is my first wiki post.

_Richard

[edit] Eselect rc

Maybe it is better to use eselect rc instead of rc-config now, even though rc-config just seems to run eselect rc.

Personal tools