old-www/HOWTO/Linux-Promise-RAID1-HOWTO/linuxconf.html

249 lines
3.4 KiB
HTML

<HTML
><HEAD
><TITLE
>Linux Configuration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Linux Migration to Promise RAID Card HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Module Installation"
HREF="modinstall.html"><LINK
REL="NEXT"
TITLE="Array Configuration"
HREF="arrayconf.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"
>Linux Migration to Promise RAID Card HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="modinstall.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="arrayconf.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="LinuxConf"
></A
>3. Linux Configuration</H1
><P
></P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN114"
></A
>3.1. What?</H2
><P
>&#13;Instead of editing our current working system, we merely create an entry for
our new system. So if something stuffs up, we just reboot and we're fine.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN117"
></A
>3.2. How?</H2
><P
>&#13;Example <TT
CLASS="filename"
>lilo.conf</TT
> file:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux
image=/boot/vmlinuz-2.4.2-2
label=linux
read-only
root=/dev/hda5
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Just copy, and edit the kernel part, as follows:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;image=/boot/vmlinuz-2.4.2-2
label=LinuxFromRAID
initrd=/boot/initrd-2.4.2-2.img
read-only
root=/dev/sda5
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Note, how we setup the ramdisk, and we setup the root value. Don't
set it as default yet.
Now run lilo, in verbose mode.
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
># lilo -v -v</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;If you don't see any errors, we're fine, so halt the system.
</P
><P
>&#13;Put only <STRONG
>ONE</STRONG
> hard drive on the
Card, the hard drive with the existing Linux system.
</P
><P
>&#13;Boot up, and go into the card bios. Delete the array of the current set.
</P
></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="modinstall.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="arrayconf.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Module Installation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Array Configuration</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>