old-www/HOWTO/ACPI-HOWTO/nodebinstall.html

269 lines
3.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Install the new kernel</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="ACPI: Advanced Configuration and Power Interface"
HREF="index.html"><LINK
REL="UP"
TITLE="ACPI the Non-Debian Way"
HREF="nodebkernel.html"><LINK
REL="PREVIOUS"
TITLE="Compile the kernel"
HREF="nodebcompile.html"><LINK
REL="NEXT"
TITLE="Software packages"
HREF="nodebsoftware.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"
>ACPI: Advanced Configuration and Power Interface</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nodebcompile.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>B. ACPI the Non-Debian Way</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nodebsoftware.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="nodebinstall"
></A
>B.2. Install the new kernel</H1
><P
>In <I
CLASS="citetitle"
>The Debian Way</I
>, you create a deb file which contains information about where the kernel is (and makes the kernel and yada-yada). In the <SPAN
CLASS="QUOTE"
>"normal"</SPAN
> way, you put things where they need to be right away. You need to install your modules and then configure lilo to point to the new kernel and then run
lilo. If you are not doing things <I
CLASS="citetitle"
>The Debian Way</I
> your <SPAN
CLASS="QUOTE"
>"install"</SPAN
> will look like this:</P
><P
></P
><UL
><LI
><P
>&#13; <B
CLASS="command"
>cd
<TT
CLASS="filename"
>/usr/src/linux</TT
>
</B
>
</P
></LI
><LI
><P
>&#13; <B
CLASS="command"
>make
<TT
CLASS="parameter"
><I
>modules_install</I
></TT
></B
>
</P
></LI
><LI
><P
>&#13; <B
CLASS="command"
>cp
<TT
CLASS="filename"
>arch/i386/boot/bzImage</TT
>
<TT
CLASS="filename"
>/boot/vmlinuz.<TT
CLASS="replaceable"
><I
>&#60;date&#62;</I
></TT
></TT
>
</B
>
</P
></LI
><LI
><P
>&#13; <B
CLASS="command"
>vi <TT
CLASS="filename"
>/etc/lilo.conf</TT
></B
> and copy the structure of your
existing kernel. Do NOT delete the reference to your existing kernel! You need
to point lilo to the <SPAN
CLASS="QUOTE"
>"vmlinuz"</SPAN
> file that was created when you compiled the
kernel above
</P
></LI
><LI
><P
><B
CLASS="command"
>lilo</B
> (yup, just exactly like that.)
Lilo will let you know if it's going to have major problems loading
the new kernel.
</P
></LI
></UL
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Do NOT forget to run lilo before rebooting. Type
<B
CLASS="command"
>lilo</B
>. It's that easy (and that easy to forget).</P
></TD
></TR
></TABLE
></DIV
></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="nodebcompile.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="nodebsoftware.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"
><A
HREF="nodebkernel.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Software packages</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>