Difference between revisions of "Initng"
(initial initng skel) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | http://download.initng.org/initng/v0.6/initng- | + | | http://download.initng.org/initng/v0.6/initng-{{initng-Version}}.tar.bz2 |
+ | |-valign="top" | ||
+ | !Download Startup Scripts: | ||
+ | | http://download.initng.org/initng-ifiles/v0.1/initng-ifiles-{{initng-ifiles-Version}}.tar.bz2 | ||
|} | |} | ||
Line 12: | Line 15: | ||
=== Required === | === Required === | ||
− | * [[ | + | * [[CMake]] |
− | + | {{Note|Before compiling initng, make sure to uninstall any previous version of initng. Otherwise the linker might pick up the wrong library causing funky and unpredictable results.}} | |
− | |||
== Non-Multilib == | == Non-Multilib == | ||
− | Compile the package: - | + | Compile the package: |
+ | |||
+ | mkdir build && | ||
+ | cd build && | ||
+ | cmake .. && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install | ||
+ | |||
+ | |||
+ | Compile Startup Scripts (initg-files): | ||
− | Install | + | mkdir build && |
+ | cd build && | ||
+ | cmake .. && | ||
+ | make | ||
+ | |||
+ | Install Startup Scripts | ||
+ | |||
+ | make install | ||
== Multilib == | == Multilib == | ||
Line 27: | Line 48: | ||
=== 32Bit === | === 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 [http://users.initng.org/ user list]. | |
= Contents = | = Contents = | ||
Line 57: | Line 123: | ||
|} | |} | ||
− | + | [[Category:General Utilities]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 14:00, 19 March 2009
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: | ??? |