old-www/HOWTO/IBM7248-HOWTO/postconfig.html

432 lines
9.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Post installation configuration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Installing GNU/Linux on the IBM RS/6000 43P model 7248 HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Boot the machine and start the installation program"
HREF="install-program.html"><LINK
REL="NEXT"
TITLE="Odds and ends"
HREF="oddsnends.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"
>Installing GNU/Linux on the IBM RS/6000 43P model 7248 HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="install-program.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="oddsnends.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="POSTCONFIG"
></A
>7. Post installation configuration</H1
><P
> In this chapter we will boot our fresh installed system for the
first time, and learn how to finnish the post-installation
configuration of the various systems.
</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="BOOTPROMPT"
></A
>7.1. The Boot Prompt</H2
><P
> If everything worked, you should now be able to reboot you're
system, and start your freshly installed Linux system for the
first time. Reinsert the boot floppy disk in the floppy drive,
and switch the machine on again. If it won't boot, try to hit
F5 at the splash screen while the system check icons pop up in
the bottom of the screen. At the boot prompt, ("Linux/PPC
load:") you must add a boot parameter to make the system find
your root partition. (That's usually the main system
partition.) Press backspace to remove what's already there, and
add something like this:
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root=/dev/sda3</PRE
></FONT
></TD
></TR
></TABLE
>
I use sda3 as sda3 is where I have installed my root partition,
that is, the partition mounted at "/". You might
have something different, and you should have written it down
when you partitioned you harddisk(s). Luckily we did this, of course.
</P
><P
> Note that we have to use this routine every time we boot
machine, until we make our own kernel that suits the
installation we just finished. This is described in <A
HREF="kernel.html"
>Section 9</A
>
</P
><P
> The system should boot up and maybe even doing some post
configuration, see below.
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="POSTCONFIG-DEBIAN"
></A
>7.2. Post installation configuration of Debian</H2
><P
>
The post installation configuration of Debian is described in
detail in the document <A
HREF="http://www.debian.org/debian/dists/woody/main/disks-powerpc/current/doc/ch-init-config.en.html"
TARGET="_top"
> ch-init-config-en.html</A
> at your favourite Debian
mirror. If you have cleared all previous stages, you get 400
bonus points, and can skip directly to paragraph 8.3.
</P
><P
> By some strange reason, the Debian installer doesn't set up
the network according to the fixes in the installer. If you
want to use apt over a network connection, you should jump to
a virtual screen (Alt+F2), log in as root, and set up
networking. This is done by editing the file
/etc/networking/interfaces , but the syntax of that file is
way out of scope for this document. More information should be
found in the Debian documentationm. Use the command
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>man interfaces</PRE
></FONT
></TD
></TR
></TABLE
>
to get the manual page. When you are done, run
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>ifup eth0</PRE
></FONT
></TD
></TR
></TABLE
>
to take the link up. Then jump back to the installer screen by
pressing Alt+F1.
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="POSTCONFIG-SUSE"
></A
>7.3. Post configuration of SuSE</H2
><P
> The post installation configuration of SuSE should be quite
painless. Make up a root password and enter it twice. Done.
The rest should run automagically. Nice, eh?
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="POSTCONFIG-YDL"
></A
>7.4. Post configuration of Yellow Dog</H2
><P
> YellowDog Linux does not have any post installation issues at
all, except the expected kernel errors caused by lacking
module directories. What a cool operating system! Look in
<A
HREF="kernel.html"
>Section 9</A
> for detailed instructions on how to
compile and install a working kernel.
</P
><P
> There is some info at <A
HREF="http://www.yellowdoglinux.com/support/configuration/"
TARGET="_top"
>this
url</A
> if we want to dig into more configuration. But we want
to read the following chapters first.
</P
><P
>&#13; Before taking another step you should go to a silent chamber
and think: "I've got Yellow Dog 2.3. YES! But should I be
content with that, now when YellowDog 3.0 is out? Should I
really?" If the answer to that question is "No" then skip to
<A
HREF="sirius.html"
>Section 14</A
>. If you pass over the start field in
the movement, you'll receive $2000 and a hotel.
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="POSTCONFIG-MDK"
></A
>7.5. Post configuration of Mandrake</H2
><P
>&#13; Not much to mention here. The system should work more or less
out of the box. Wow! You will probably get some errors on
lacking kernel files. You will learn how to compile and
install a complete kernel in <A
HREF="kernel.html"
>Section 9</A
>. You may
want to (re)configure your network. There does exist a tool
called "drakconnect" that should be able to do this, but I
never got it to behave. Configuring the local network is easy
though. Just fire up your favourite editor (at least vi is
installed) and edit the files mentioned below. This example
describes a static ip configuration. Generally, this is the
"RedHat" way to do things, so examples and documentation
should be easy to find. </P
><P
> /etc/sysconfig/network
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> NETWORKING=YES
HOSTNAME=barky
GATEWAY=192.168.0.1</PRE
></FONT
></TD
></TR
></TABLE
>
/etc/sysconfig/network-scripts/ifcfg-eth0
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.5
NETMASK=255.255.255.0
ONBOOT=YES</PRE
></FONT
></TD
></TR
></TABLE
>
/etc/resolv.conf
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> nameserver 192.168.0.2</PRE
></FONT
></TD
></TR
></TABLE
>
For a DHCP configuration, change BOOTPROTO to "dhcp", and skip
the BROADCAST, IPADDR, NETMASK, GATEWAY and nameserver
options.
</P
><P
> I'm no Mandrake Guru. I actually never use Mandrake, and fixed
the installer just for the exercise. By some reason, eth0
doesn't get active at boot time with the configuration above,
though it does after a 'ifdown eth0; ifup eth0', so I just
put that in my rc.local. Go figure.
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="POSTCONFIG-DONE"
></A
>7.6. Installation: Done!</H2
><P
> After the post installation configuration, the system should
boot up to a ready state, and greet you with a login
prompt. Congratulations, you have installed GNU/Linux on your
7248. You are dismissed to have a beer or a cup of tea. Or
even coffee. From here, you have to know how to use
linux. This is absolutely outside the scope of this document,
but if you are a complete newbie, you could for example check
out <A
HREF="http://www.tldp.org/LDP/intro-linux/html/"
TARGET="_top"
>Introduction
to Linux - A Hands on Guide</A
> by Machtelt Garrels.
</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="install-program.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="oddsnends.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Boot the machine and start the installation program</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Odds and ends</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>