Gentoo Archives: gentoo-doc-cvs

From: Joshua Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: openrc-migration.xml
Date: Mon, 14 Apr 2008 21:49:40
Message-Id: E1JlWYT-00012x-Jg@stork.gentoo.org
1 nightmorph 08/04/14 21:49:37
2
3 Modified: openrc-migration.xml
4 Log:
5 rewrote some stuff based on a patch submitted by cardoe, also to clarify bits and remove repetitive paragraphs.
6
7 Revision Changes Path
8 1.5 xml/htdocs/doc/en/openrc-migration.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.5&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.5&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?r1=1.4&r2=1.5
13
14 Index: openrc-migration.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v
17 retrieving revision 1.4
18 retrieving revision 1.5
19 diff -u -r1.4 -r1.5
20 --- openrc-migration.xml 14 Apr 2008 20:43:07 -0000 1.4
21 +++ openrc-migration.xml 14 Apr 2008 21:49:37 -0000 1.5
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.4 2008/04/14 20:43:07 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.5 2008/04/14 21:49:37 nightmorph Exp $ -->
27
28 <guide link="/doc/en/openrc-migration.xml">
29 <title>Baselayout and OpenRC Migration Guide</title>
30 @@ -24,7 +24,7 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.2</version>
35 +<version>1.3</version>
36 <date>2008-04-14</date>
37
38 <chapter>
39 @@ -191,56 +191,55 @@
40
41 </body>
42 </section>
43 -<section id="volume">
44 -<title>Volume management</title>
45 +<section id="boot">
46 +<title>Boot runlevel</title>
47 <body>
48
49 <p>
50 -Volume management services for your block storage devices should be
51 -automatically migrated for you when you switch to OpenRC and baselayout-2.
52 -However, in case they aren't, you'll need to follow the instructions below.
53 +The <c>boot</c> runlevel performs several important steps for every machine. For
54 +example, making sure your root filesystem is mounted read/write, that your
55 +filesystems are checked for errors, that your mountpoints are available, and
56 +that the <path>/proc</path> pseudo-filesystem is started at boot.
57 </p>
58
59 <p>
60 -Volume management services for your block storage devices are no longer run by
61 -default. This means that lvm, raid, swap, device-mapper (dm), dm-crypt, evms, and the
62 -like will not be run automatically. If you use these addons, you will have to
63 -add the proper initscript to the <c>boot</c> runlevel. Otherwise, it's possible
64 -your system will not boot. When you install the various volume management
65 -services, they will install an appropriate initscript in
66 -<path>/etc/init.d</path>. You must ensure the appropriate initscript is in the
67 -<c>boot</c> runlevel.
68 +With OpenRC, volume management services for your block storage devices are no
69 +longer run automatically at boot. This includes lvm, raid, swap, device-mapper
70 +(dm), dm-crypt, evms, and the like. You must ensure the appropriate initscript
71 +for these services is in the <c>boot</c> runlevel, otherwise it's possible that
72 +your system will not boot!
73 </p>
74
75 <p>
76 While the OpenRC ebuild will attempt to do this migration for you, you should
77 -verify that it migrated all the volume management services properly.
78 +verify that it migrated all the volume management services properly:
79 </p>
80
81 -<pre caption="Check all services in boot runlevel">
82 +<pre caption="Display all services in boot runlevel">
83 # <i>ls -l /etc/runlevels/boot/</i>
84 </pre>
85
86 <p>
87 -If you know you use mdraid, lvm, and swap but do not see them above, you would run
88 -the following to add initscripts to the <c>boot</c> runlevel.
89 +If you don't see root, procfs, mtab, swap, and fsck in the above listing,
90 +perform the following to add them to the <c>boot</c> runlevel:
91 </p>
92
93 <pre caption="Adding missing volume management services to the boot runlevel">
94 -# <i>rc-update add raid boot</i>
95 -# <i>rc-update add lvm boot</i>
96 +# <i>rc-update add root boot</i>
97 +# <i>rc-update add procfs boot</i>
98 +# <i>rc-update add mtab boot</i>
99 +# <i>rc-update add fsck boot</i>
100 # <i>rc-update add swap boot</i>
101 </pre>
102
103 <p>
104 -Also, make sure your root filesystem is mounted read/write, that your
105 -filesystems are checked for errors, that your mountpoints are available, and
106 -that the <path>/proc</path> pseudo-filesystem is started at boot. Here's a handy
107 -shell script to make it happen:
108 +If you know you use mdraid and lvm but do not see them above, you would run
109 +the following to add initscripts to the <c>boot</c> runlevel:
110 </p>
111
112 -<pre caption="Adding other critical services to the boot runlevel">
113 -# <i>for x in root fsck mtab procfs ; do rc-update add $x boot ; done</i>
114 +<pre caption="Adding missing volume management services to the boot runlevel">
115 +# <i>rc-update add raid boot</i>
116 +# <i>rc-update add lvm boot</i>
117 </pre>
118
119 </body>
120
121
122
123 --
124 gentoo-doc-cvs@l.g.o mailing list