old-www/HOWTO/TimeSys-Linux-Install-HOWTO/prepare_for_reboot.html

269 lines
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Prepare for rebooting</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="TimeSys Linux Install HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Compile the kernel"
HREF="compile_kernel.html"><LINK
REL="NEXT"
TITLE="Rebooting"
HREF="reboot.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"
>TimeSys Linux Install HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="compile_kernel.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="reboot.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="prepare_for_reboot"
></A
>7. Prepare for rebooting</H1
><P
>&#13; At this point, the kernel is prepped and ready, but if you reboot now, your system won't come back up due to device file system errors. The problem is that TimeSys Linux depends on the <EM
>devfs</EM
> file system.
</P
><P
>&#13; To solve this problem, install <A
HREF="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v1.3.25.tar.gzdevfsd"
TARGET="_top"
>devfsd</A
> from <A
HREF="http://www.atnf.csiro.au/people/rgooch/linux/"
TARGET="_top"
>Richard Gooch's site</A
>. Extract the tar file, then copy it to <TT
CLASS="filename"
>/usr/src/redhat/SOURCES/</TT
>. Switch to the directory where the file extracted to, then run:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13; <TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
><B
CLASS="command"
>rpmbuild</B
> -ba rpm.spec</B
></TT
> <A
NAME="AEN176"
HREF="#FTN.AEN176"
><SPAN
CLASS="footnote"
>[1]</SPAN
></A
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13; This should build the <EM
>devfs</EM
> package and place it in <TT
CLASS="filename"
>/usr/src/redhat/RPMS/i386/</TT
>. You can then install this RPM by typing:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13; <TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
><B
CLASS="command"
>rpm</B
> -Uvh /usr/src/redhat/RPMS/i386/devfsd-1.3.25-1.i386.rpm</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13; Normally, you would now need to add the line <B
CLASS="command"
>/sbin/devfsd /dev</B
> into <TT
CLASS="filename"
>/etc/rc.d/rc.sysinit</TT
>, but Red Hat Linux 9 should already have done this for you during installation.
</P
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN176"
HREF="prepare_for_reboot.html#AEN176"
><SPAN
CLASS="footnote"
>[1]</SPAN
></A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>If your system can't find <B
CLASS="command"
>rpmbuild</B
>, you may need to install the <TT
CLASS="filename"
>rpm-build</TT
> package first.</P
></TD
></TR
></TABLE
><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="compile_kernel.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="reboot.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Compile the kernel</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Rebooting</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>