| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.1 2008/04/11 23:59:51 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.2 2008/04/14 08:39:42 nightmorph Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/openrc-migration.xml"> |
5 | <guide link="/doc/en/openrc-migration.xml"> |
| 6 | <title>Baselayout and OpenRC Migration Guide</title> |
6 | <title>Baselayout and OpenRC Migration Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 22 | |
22 | |
| 23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 25 | <license/> |
25 | <license/> |
| 26 | |
26 | |
| 27 | <version>1.0</version> |
27 | <version>1.1</version> |
| 28 | <date>2008-04-11</date> |
28 | <date>2008-04-14</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>Background</title> |
31 | <title>Background</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>What's baselayout?</title> |
33 | <title>What's baselayout?</title> |
| … | |
… | |
| 230 | # <i>rc-update add raid boot</i> |
230 | # <i>rc-update add raid boot</i> |
| 231 | # <i>rc-update add lvm boot</i> |
231 | # <i>rc-update add lvm boot</i> |
| 232 | # <i>rc-update add swap boot</i> |
232 | # <i>rc-update add swap boot</i> |
| 233 | </pre> |
233 | </pre> |
| 234 | |
234 | |
|
|
235 | <p> |
|
|
236 | Also, make sure your root filesystem is mounted read/write, that your |
|
|
237 | filesystems are checked for errors, that your mountpoints are available, and |
|
|
238 | that the <path>/proc</path> pseudo-filesystem is started at boot. Here's a handy |
|
|
239 | shell script to make it happen: |
|
|
240 | </p> |
|
|
241 | |
|
|
242 | <pre caption="Adding other critical servives to the boot runlevel"> |
|
|
243 | # <i>for x in root fsck mtab procfs ; do rc-update add $x boot ; done</i> |
|
|
244 | </pre> |
|
|
245 | |
| 235 | </body> |
246 | </body> |
| 236 | </section> |
247 | </section> |
| 237 | <section> |
248 | <section> |
| 238 | <title>Clock</title> |
249 | <title>Clock</title> |
| 239 | <body> |
250 | <body> |
| 240 | |
251 | |
| 241 | <p> |
252 | <p> |
| 242 | Clock settings have been renamed from <path>/etc/conf.d/clock</path> to your |
253 | Clock settings have been renamed from <path>/etc/conf.d/clock</path> to your |
| 243 | system's native tool for adjusting the clock. This means on Linux it will be |
254 | system's native tool for adjusting the clock. This means on Linux it will be |
| 244 | <path>/etc/conf.d/hwclock</path> and on FreeBSD it will be |
255 | <path>/etc/conf.d/hwclock</path> and on FreeBSD it will be |
| 245 | <path>/etc/conf.d/adjkerntz</path>. |
256 | <path>/etc/conf.d/adjkerntz</path>. The initscript in <path>/etc/init.d/</path> |
|
|
257 | has also been renamed accordingly, so make sure it's in the appropriate |
|
|
258 | runlevel. |
| 246 | </p> |
259 | </p> |
| 247 | |
260 | |
| 248 | <p> |
261 | <p> |
| 249 | Additionally, the <c>TIMEZONE</c> variable is no longer in this file. Its |
262 | Additionally, the <c>TIMEZONE</c> variable is no longer in this file. Its |
| 250 | contents are instead found in the <path>/etc/timezone</path> file. Please review |
263 | contents are instead found in the <path>/etc/timezone</path> file. Please review |