Difference between revisions of "Initng"
m |
Bigdissaved (talk | contribs) m (→Non-Multilib) |
||
Line 33: | Line 33: | ||
− | Compile Startup Scripts: | + | Compile Startup Scripts (initg-files): |
mkdir build && | mkdir build && |
Revision as of 17:05, 27 June 2007
Download Source: | http://download.initng.org/initng/v0.6/initng-0.6.10.2.tar.bz2 |
---|---|
Download Startup Scripts: | http://download.initng.org/initng-ifiles/v0.1/initng-ifiles-0.1.5.tar.bz2 |
Contents
Introduction to Initng
According to initng's site, initng is a full replacement of the old and in many ways deprecated sysvinit tool created by Jimmy Wennlund. It is designed to significantly increase the speed of booting a unix-compatible system by starting processes asynchronously. Development is now handled by a team from all around the world.
Project Homepage: http://www.initng.org/
Dependencies
Required
Non-Multilib
Compile the package:
mkdir build && cd build && cmake .. && make
Install the package
make install
Compile Startup Scripts (initg-files):
mkdir build && cd build && cmake .. && make
Install Startup Scripts
make install
Multilib
32Bit
ToDo
N32
ToDo
64Bit
ToDo
Bootloader Configuration
LILO
Edit lilo.conf and add the line append="init=/sbin/initng" after the image specifier.
Sample LILO entry:
image = /boot/vmlinuz root = /dev/hda1 label = linux-initng append = "init=/sbin/initng" read-only
GRUB
Edit the grub configuration (/boot/grub/grub.conf or /boot/grub/menu.lst) and append init=/sbin/initng to the kernel entry.
Sample GRUB entry:
title linux-initng root (hd0,1) kernel /boot/vmlinuz root=/dev/hda1 ro init=/sbin/initng
You can choose the runlevel, and add/remove one service/daemon this way:
Sample GRUB entry:
title linux-initng at runlevel named single with system/modules and without net/lo root (hd1,0) kernel /boot/vmlinuz root=/dev/sda1 ro init=/sbin/initng runlevel:single +system/modules -net/lo
Initscripts
If you are installing initng for the first time, you can use genrunlevel to automatically generate the default runlevel based on installed applications:
genrunlevel --all
Adding services or daemons to your runlevels: To enable sound on boot, and load and save the mixerstate on shutdown and boot, you would run:
ng-update add service/alsasound default ng-update add service/alsasound/mixerstate default
Alternately, you can edit /etc/initng/default.runlevel or /etc/initng/runlevel/default.runlevel to change services in your default runlevel.
Register as an initng user
To show your support, add your name and a comment to the user list.
Contents
Installed Programs: | ??? |
---|---|
Installed Libraries: | ??? |
Installed Directories: | ??? |