diff options
Diffstat (limited to 'riemann.fmi.uni-sofia.bg/ninit/boot.html')
| -rw-r--r-- | riemann.fmi.uni-sofia.bg/ninit/boot.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/riemann.fmi.uni-sofia.bg/ninit/boot.html b/riemann.fmi.uni-sofia.bg/ninit/boot.html new file mode 100644 index 0000000..e1d4d3a --- /dev/null +++ b/riemann.fmi.uni-sofia.bg/ninit/boot.html @@ -0,0 +1,75 @@ +<html> +<link rel="stylesheet" type="text/css" href="style.css"> +<title>boot ninit</title> +<body> + +<div class="top"> +<ul class="nav"> + <li><a href="all.html">All files</a> +</ul> + +<h1>Replacing init</h1> +<div class="endtop"></div> +</div> + +This file is copy/edit from +<pre> +http://www.fbunet.de/minit.shtml +</pre> + + +<p> +If you have set up all needed services, you can try to boot your +system with ninit the first time. +<p> +You should _not_ replace <tt>/sbin/init</tt> +with <tt>/sbin/ninit</tt> because if your system doesn't boot correctly, +you probably won't be able to change back to init. + +<p> +That's why you +should create an own entry in +<tt>/etc/lilo.conf</tt> (or <tt>/etc/grub.conf</tt>) that +is identical with your standard entry except one point: You pass +<tt>init=/sbin/ninit</tt> to the kernel. + +My <tt>/etc/lilo.conf</tt> looks like: + +<pre> +prompt +timeout=50 +default=ninit +boot=/dev/hda +map=/boot/map +lba32 +compact + +image=/boot/vmlinuz-2.4.17 + label=linux + read-only + root=/dev/hda2 + +image=/boot/vmlinuz-2.4.17 + label=ninit + read-only + root=/dev/hda2 + append="init=/sbin/ninit" +</pre> +After that exec <tt>/sbin/lilo</tt> and reboot the box. + +<p> +The same for grub: +</p> +<pre> +default=0 +timeout=10 +title Linux (2.4.17) + root (hd1,0) + kernel /vmlinuz-2.4.17 ro root=/dev/hda2 +title Linux (ninit) (2.4.17) + root (hd1,0) + kernel /vmlinuz-2.4.17 ro root=/dev/hda2 init=/sbin/ninit +</pre> +I don't use grub. Don't ask me quetions about grub! +</body> +</html> |
