old-www/HOWTO/Upgrade/x140.html

149 lines
2.5 KiB
HTML

<HTML
><HEAD
><TITLE
>Restore configuration data to the /etc directory and
subdirectories.</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Upgrading Your linux Distribution mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Run the new linux installation."
HREF="x136.html"><LINK
REL="NEXT"
TITLE="Configure and rebuild the linux kernel."
HREF="x143.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Upgrading Your linux Distribution mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x136.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x143.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN140">14. Restore configuration data to the /etc directory and
subdirectories.</H1
><P
>As described above, you can't just copy all of the old files back into
/etc and expect things to work properly afterward. Some files you can
do that with; for example, /etc/XF86Config (as long as you're using
the same version of XFree86 -- and the same video hardware -- in the
new installation as you did in the old). For the most part, though,
it's best to use diff to compare the old and new files before doing
any copying. Watch out especially for significant changes in the
files in /etc/rc.d and friends, which may require you to reestablish
your old configuration by hand editing, instead of by copying the old
rc scripts from your backup. Once it's all done, reboot.
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x136.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x143.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Run the new linux installation.</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Configure and rebuild the linux kernel.</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>