Gentoo Archives: gentoo-dev

From: Collins Richey <erichey2@××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] init
Date: Wed, 16 May 2001 20:29:49
Message-Id: 20010516203832.36c80f07.erichey2@home.com
In Reply to: Re: [gentoo-dev] init by Daniel Robbins
1 On Wed, 16 May 2001 18:27:05 -0600 Daniel Robbins <drobbins@g.o>
2 wrote:
3
4 > On Wed, May 16, 2001 at 06:17:17PM -0600, Collins Richey wrote:
5 > > On Wed, 16 May 2001 17:41:28 +0200 AGottinger@××××××××.de (Achim
6 > Gottinger)
7 > > wrote:
8 > >
9 > > > Joe White wrote:
10 > > > >
11 > > > > Where is the main init script that starts up the system and
12 > executes
13 > > > all the other rc scripts located?
14 > > > >
15 > > > > I need it to pass it to LILO init=?
16 > > > >
17 > > > you must pass /sbin/init this will call /etc/rc.d/init.d/rc
18 > > >
19 > >
20 > > Yes, but why on earth do that? I boot using Lilo, and I certainly
21 > don't
22 > > need it.
23 >
24 > We don't ask, we just answer the questions ;)
25 >
26 > Actually, sometimes init is useful. One can pass "init=/bin/bash" if any
27 > low-level repairs need to be performed on your Gentoo Linux system. You
28 > can
29 > then remount the root filesystem read/write and do what you need to do:
30 >
31 > # mount / -o remount,rw
32 > # swapon -a
33 > # vim /etc/rc.d/init.d/rc
34 > (fix buggy initscript)
35 > # swapoff -a
36 > # mount / -o remount,ro
37 > # reboot
38 >
39
40 That I'm aware of. It just seems strange to put the program that is loaded
41 automatically during boot in the lilo stanza. I'm just a curious soul at
42 heart, maybe I'll learn something useful.
43
44 --
45 Collins Richey
46 Denver area
47 gentoo system