C H A P T E R 1 |
Installing Red Hat Linux 7.3 Software on Sun Fire V60x and V65x Servers |
Note - The system administration procedures in this document are intended for users with at least basic Linux administration experience. |
This chapter is organized into the following sections.
This procedure describes how to install Red Hat Linux 7.3 software from CDs. This procedure has been tested using the ISO distribution of the software that is available from Red Hat at the following site:
ftp://ftp.redhat.com/pub/redhat/linux/7.3/en/iso/i386/
If that site is busy or too slow, use a mirror that is closer to you from Red Hat's mirror list, which is available at the following address:
Note - The server's USB ports are not enabled until Linux is booted and the USB drivers are installed. A PS/2 keyboard is required for initial bootup and configuration. |
The CD installation procedure requires the following items.
You can optionally install the service partition from the Diagnostics CD as the first step of the Red Hat Linux 7.3 software installation. The service partition has utilities that might be useful. Refer to the Sun Fire V60x and Sun Fire V65x Server User Guide for more information about the utilities provided by installing the service partition, and for instructions on installing it. If you want to install the service partition, it must be installed prior to installing Red Hat Linux 7.3 software.
1. Power on your Sun Fire V60x or V65x server, and insert the Red Hat Linux 7.3
CD 1 into its CD tray before the boot process begins.
2. When you are prompted in the Welcome to Red Hat screen, do not press Enter. Instead, instruct the server to use a driver disk by typing the following command:
Note - You must type this command before the prompt times out. |
The installation process begins and prompts you for a driver disk, which is required by the server's SCSI controller.
3. Insert the Sun Fire V60x and Sun Fire V65x SCSI Driver Disk (shipped with your server) into the server's diskette drive, then follow the on-screen prompts to install the driver on the server.
If the supplied Driver Disk is not available, instructions for creating your own driver disk are included in Creating a SCSI Driver Disk.
Note - Loading install drivers from a diskette might cause the following error message, which you can ignore:
|
4. After the drivers are loaded, remove the SCSI Driver Disk from the server.
5. Continue with the Red Hat Linux 7.3 software installation by following the on-screen prompts.
Make the following selections when you are prompted during the installation:
Note - It is good practice to make a boot disk for emergency system recovery when prompted, but it is optional. |
6. When you are prompted, remove the current CD and insert the next requested CD, then select OK.
The installation software unmounts and mounts the CDs with no need for additional commands from the user. The CD requested by the installer software varies, depending on which installation selections you made in Step 5.
Wait for the server to reboot at the end of the operating system installation.
7. After the server restarts, log in to the server as the superuser.
Note - When the Red Hat Linux 7.3 software boots, you can safely ignore the message:
|
8. Insert the Sun Fire V60x and Sun Fire V65x Resource CD (shipped with your server) into the server's CD tray and ensure that the CD ROM drive is mounted.
If it is not mounted, mount the CD by typing the following command:
9. From the Resource CD, copy the e1000 driver file to your server's /tmp/ directory by typing the following commands:
# cd /mnt/cdrom/drivers/redhat/7.3/src/
# cp e1000-4.4.19-rh73.src.rpm /tmp/
# cd /
10. On your server, install the source RPM file by typing the following command:
# rpm -ivh /tmp/e1000-4.4.19-rh73.src.rpm
11. Compile the e1000 driver by typing the following command:
# rpm -bb /usr/src/redhat/SPECS/e1000.spec
Note - During the driver compilation, you might see error messages about kernel version mismatches. You can safely ignore these messages. |
12. Install the e1000 driver by typing the following command:
# rpm -ivh /usr/src/redhat/RPMS/i386/e1000-4.4.19-rh73.i386.rpm
13. Remove the Resource CD from the server after you type the following command:
14. Reboot the server by typing the following command:
15. Configure Network Devices using the Kudzu utility when prompted.
Note - You must choose to enter the Kudzu utility when prompted. |
16. After the server restarts, log in to the server as superuser.
17. Update your server with any Red Hat Linux 7.3 software updates from the Red Hat Web site:
18. Insert the Resource CD into the server's CD tray and ensure that the CD-ROM drive is mounted.
If it is not mounted, mount the CD by typing the following command:
19. From the Resource CD, copy the aic79xx driver to your server's /tmp/ directory by typing the following commands:
# cd /mnt/cdrom/drivers/redhat/7.3/src/
# cp aic79xx* /tmp/
# cd /
20. Install the source RPM file by typing the following command:
21. Compile the aic79xx driver by typing the following command:
# rpm -bb /usr/src/redhat/SPECS/aic79xx.spec
22. Install the aic79xx driver upgrade by typing the following commands:
# rpm -Uvh /usr/src/redhat/RPMS/i686/aic79*
23. Remove the Resource CD from the server after you type the following command:
24. Reboot the server by typing the following command:
Note - The Kudzu application starts automatically when the server restarts. |
25. To configure the Red Hat Linux 7.3 operating system for your server, refer to the documentation available at:
http://www.redhat.com/docs/manuals/linux/
This procedure is optional and describes how to create a SCSI driver disk, in case you lose the Sun Fire V60x and Sun Fire V65x SCSI Driver Disk that is shipped with your server, or in case you want to make backup copies.
You need the following items to complete this procedure:
1. Power on a Linux server or workstation that is equipped with a diskette drive and log in to the server as the superuser.
2. Insert the Sun Fire V60x and Sun Fire V65x Resource CD (shipped with your server) into the server's CD tray, and mount the CD by typing the following command:
Note - If the CD automounts, the mount command is not required. Refer to your server's documentation for mounting a CD-ROM if you require more information. |
3. Insert a formatted 1.44 MB diskette into the server's diskette drive.
4. Create the driver disk by typing the following commands:
# cd /mnt/cdrom/images/redhat/7.3/
# dd if=aic79xx-1.3.7-i686-rh73.img of=/dev/fd0
# sync
# cd /
The driver diskette creation might take several minutes.
5. Remove the diskette from the server.
6. Remove the Resource CD from the server after you type the following command:
This section describes how to create a PXE install image on a Linux server, and how to initiate the request from the target Sun Fire V60x and V65x server to download the image through the PXE server. The PXE server then transfers the boot image file to the target server using TFTP. This boot image file is used to boot the target server.
The tasks for installing Red Hat Linux 7.3 software from a networked PXE server consist of the following procedures.
1. Configure your network to support PXE installation. See Preconfiguring Your Network to Support PXE Installation. These procedures apply for all Red Hat versions covered in this guide.
2. Create a PXE install image on a system that will be the PXE server, from which the operating system is downloaded to other systems (PXE clients). See Creating a PXE Install Image on the PXE Server.
3. Install the Red Hat Linux 7.3 software to the PXE clients from the PXE server. See Installing Red Hat Linux 7.3 Software From a PXE Server.
Note - The server's USB ports are not enabled until Linux is booted and the USB drivers are installed. A PS/2 keyboard is required for initial bootup and configuration. |
The CD installation procedure requires the following items.
You can optionally install the service partition from the Diagnostics CD onto the Sun Fire V60x or V65x server as the first step of the Red Hat Linux 7.3 software installation. The service partition has utilities that might be useful. Refer to the Sun Fire V60x and Sun Fire V65x Server User Guide for more information about the utilities provided by installing the service partition, and for instructions on installing it. If you want to install the service partition, it must be installed prior to installing Red Hat Linux 7.3 software.
This procedure describes how to create a PXE install image on the same server that is your DHCP server so that it will also act as your PXE server. The PXE server provides the operating system files to your PXE client.
1. Insert Red Hat Linux 7.3 CD 1 into your server and copy its contents to your PXE server, by typing the following commands:
You can use a different target directory than the /home/pxeboot/rh7.3/ directory shown below in the examples.
# mkdir -p /home/pxeboot/rh7.3/
# mount /dev/cdrom /mnt/cdrom
# cp -a /mnt/cdrom/RedHat /home/pxeboot/rh7.3/
# cd /
2. When the copy operation is finished, remove CD 1 from the server after you type the following command:
3. Insert Red Hat Linux 7.3 CD 2 into your server and copy its contents to your PXE server, by typing the following commands:
# mount /dev/cdrom /mnt/cdrom
# cp -a /mnt/cdrom/RedHat /home/pxeboot/rh7.3/
# cd /
Note - If you are prompted about overwriting any existing files, type y to overwrite the files. |
4. Determine whether the anaconda-runtime package is already installed on the PXE server by typing the following command:
# rpm -qa | grep anaconda-runtime
5. If the anaconda-runtime package is not listed, install it from Red Hat Linux CD 2 by typing the following commands:
Use the CD 2 for the version of Red Hat Linux that is installed on the PXE server.
# rpm -ivh /mnt/cdrom/RedHat/RPMS/anaconda-runtime*
6. Remove CD 2 from the server after you type the following command:
7. Insert Red Hat Linux 7.3 CD 3 into your server and copy its contents to your PXE server, by typing the following commands:
# mount /dev/cdrom /mnt/cdrom
# cp -a /mnt/cdrom/RedHat /home/pxeboot/rh7.3/
# cd /
Note - If you are prompted about overwriting any existing files, type y to overwrite the files. |
8. Remove CD 3 from the server after you type the following command:
9. Insert the Sun Fire V60x and Sun Fire V65x Resource CD into the server and copy the aic79xx* RPM files to your PXE server by typing the following commands:
# mount /dev/cdrom /mnt/cdrom
# cp /mnt/cdrom/drivers/redhat/7.3/aic79xx* \
/home/pxeboot/rh7.3/RedHat/RPMS/
10. Edit the /home/pxeboot/rh7.3/RedHat/base/comps file to add the following entries to it (after the existing line that reads anacron).
aic79xx
aic79xx-bigmem
aic79xx-smp
11. Download any updates or patches to Red Hat Linux 7.3 software from the Red Hat Web site, http://www.redhat.com, to the /tmp/ directory of your PXE server.
12. If you downloaded updated RPM files in Step 11, copy them to the directory shown in the following command:
# cp /tmp/*.rpm /home/pxeboot/rh7.3/RedHat/RPMS/
13. From the Resource CD, copy the script file newest.pl to your PXE server by typing the following command:
# cp /mnt/cdrom/scripts/newest.pl \
/home/pxeboot/rh7.3/newest.pl
14. Remove old kernels from the server by typing the following commands:
# cd /home/pxeboot/rh7.3/RedHat/RPMS/
# rm -f kernel-2.4.18-*
# rm -f kernel-smp-2.4.18-*
# rm -f kernel-source-2.4.18-26.7.x.i386.rpm
# rm -f kernel-BOOT-2.4.18-26.7.x.i386.rpm
# rm -f kernel-bigmem-2.4.18-26.7.x.i686.rpm
# rm -f modutils-2.4.18-3.7x.i386.rpm
15. From the Resource CD, copy new kernels to the server by typing the following command:
# cp /mnt/cdrom/kernel/redhat/7.x/*.rpm ./
16. On your PXE server, remove any old packages by typing the following commands:
Note - The following perl command must be run from the /home/pxeboot/rh7.3/RedHat/RPMS/ directory. |
# cd /home/pxeboot/rh7.3/RedHat/RPMS/
# perl /home/pxeboot/rh7.3/newest.pl
17. On your PXE server, update your disk drive list (hdlist) by typing the following commands:
# /usr/lib/anaconda-runtime/genhdlist --withnumbers \
/home/pxeboot/rh7.3/
18. From the Resource CD, copy the file initrd.img to your PXE server by typing the following commands:
# cp /mnt/cdrom/pxeboot/redhat/7.3/initrd.img \
/home/pxeboot/rh7.3/
19. From the Resource CD, copy the file stage2.img to your PXE server by typing the following commands.
If you are prompted about overwriting an existing stage2.img file, select Yes:
# cp /mnt/cdrom/pxeboot/redhat/7.3/stage2.img \
/home/pxeboot/rh7.3/RedHat/base/
20. From the Resource CD, copy the file vmlinuz to your PXE server by typing the following commands:
# cp /mnt/cdrom/pxeboot/redhat/7.3/vmlinuz \
/home/pxeboot/rh7.3/
21. From the Resource CD, copy the kickstart file ks.cfg to your PXE server by typing the following commands:
# cp /mnt/cdrom/pxeboot/redhat/7.3/ks.cfg \
/home/pxeboot/rh7.3/
22. On your PXE server, edit and save the kickstart file /home/pxeboot/rh7.3/ks.cfg so that the nfs line is as follows.
nfs --server n.n.n.n --dir /home/pxeboot/rh7.3/
Where n.n.n.n is the IP address of your PXE server.
23. On your PXE server, modify and save the file /home/pxeboot/pxeboot.cfg/default to add the following entry to it:
You must type the text block from "append ksdevice" through "ks.cfg" as one continuous string with no returns.
label rh7.3
kernel rh7.3/vmlinuz
append ksdevice=eth0 console=ttyS1,9600 console=tty0 load_ramdisk=1 initrd=rh7.3/initrd.img network
ks=nfs:n.n.n.n:/home/pxeboot/rh7.3/ks.cfg
Where n.n.n.n is the IP address of your PXE server.
24. Remove the Resource CD from the server after you type the following command:
This procedure describes how to initiate the request from the target Sun Fire V60 or V65x server to download the boot image file from the PXE/DHCP server and install the Red Hat Linux 7.3 software onto the target server.
Note - This procedure assumes that you have already preconfigured your network and PXE server install image as described in Preconfiguring Your Network to Support PXE Installation and Creating a PXE Install Image on the PXE Server. |
1. Connect the PXE client to the same network as the PXE server, and power on the PXE client.
The PXE client is the target Sun Fire V60x and V65x server to which you are installing Red Hat Linux 7.3 software.
2. When the PXE client prompts you for a network boot, press F12.
The PXE client connects to the PXE server and attempts to obtain an IP address from the DHCP server.
3. Press F8 to begin downloading the PXE boot image.
The Red Hat Linux 7.3 software installation process begins. Follow the on-screen prompts to continue the installation.
The installation completes on the PXE client the same as a regular CD-ROM installation.
4. To configure the Red Hat Linux 7.3 operating system for your server, refer to the documentation available at:
http://www.redhat.com/docs/manuals/linux/
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.