old-www/HOWTO/Glibc-Install-HOWTO/after-the-kernel-is-booted....

299 lines
4.8 KiB
HTML

<HTML
><HEAD
><TITLE
>After the kernel is booted...</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Glibc Installation HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="The installation of glibc itself"
HREF="the-install-of-glibc-itself.html"><LINK
REL="PREVIOUS"
TITLE="The installation"
HREF="the-installation.html"><LINK
REL="NEXT"
TITLE="Troubleshooting&#8212;if something goes wrong... "
HREF="troubleshooting.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"
>Glibc Installation HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="the-installation.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. The installation of glibc itself</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="troubleshooting.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="after-the-kernel-is-booted"
></A
>4.3. After the kernel is booted...</H1
><P
>&#13;...You will find yourself in an absolute minimal bash-environment.</P
><P
>You will not even be asked to enter your username or password!
At this time you are the ultimate super-user; no-one can get
around you because the system is in single-user mode, so be
careful what you are doing. There are no file-rights set or anything else!</P
><P
>Your prompt will probably look like this: <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>init-x.y#</PRE
></FONT
></TD
></TR
></TABLE
>
At this moment your root (/) has been mounted as read-only, thus
you will not be able to write the new library to your hard drive.
To make it <TT
CLASS="varname"
>r/w</TT
>, enter the command:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>mount -o remount,rw /</PRE
></FONT
></TD
></TR
></TABLE
>
If your source is located on another partition you must also
mount it, as it is not done for you (for me this means mounting my
raid system): <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>mount -t reiserfs /dev/md0 /usr/src</PRE
></FONT
></TD
></TR
></TABLE
> As you
see, I defined the file system type, which is needed because
<B
CLASS="command"
>mount</B
> does not look anything up in <TT
CLASS="filename"
>/etc/fstab</TT
>.</P
><P
>Now you can go to the directory containing the source and type
in: <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>make install</PRE
></FONT
></TD
></TR
></TABLE
></P
><P
>If you like, now might be a good time to pray that everything works out fine... ;-)</P
><P
>If everything went through properly, you will return to your prompt
after the installation without any error message. In all other
cases, please see <A
HREF="troubleshooting.html"
>Chapter 5</A
>.</P
><P
>If everything goes fine, run: <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>ldconfig -v</PRE
></FONT
></TD
></TR
></TABLE
> to update your
library cache.</P
><P
>Congratulations! The library is successfully installed. Now type
in: <B
CLASS="command"
>mount -o remount,ro /</B
> to ensure that all the data is
written to the hard drive.</P
><P
>Now start the reboot: <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>exit</PRE
></FONT
></TD
></TR
></TABLE
>
This will cause an error message saying that you have caused a
kernel-panic. If possible, restart the computer by using
<B
CLASS="keycap"
>CTRL</B
>-<B
CLASS="keycap"
>ALT</B
>-<B
CLASS="keycap"
>DEL</B
>, otherwise use your hardware's reset switch.</P
><P
>Try booting your normal kernel. If everything turns out fine, you
are ready to use the new library.</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="the-installation.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="troubleshooting.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The installation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="the-install-of-glibc-itself.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Troubleshooting&#8212;if something goes wrong...</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>