Edition 1.0
1801 Varsity Drive
Raleigh, NC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701
httpd service/Sendmail Hangs During Startuphttpd service/Sendmail Hangs During Startup/etc/crypttab/etc/fstabMono-spaced Bold
To see the contents of the filemy_next_bestselling_novelin your current working directory, enter thecat my_next_bestselling_novelcommand at the shell prompt and press Enter to execute the command.
Press Enter to execute the command.Press Ctrl+Alt+F2 to switch to the first virtual terminal. Press Ctrl+Alt+F1 to return to your X-Windows session.
mono-spaced bold. For example:
File-related classes includefilesystemfor file systems,filefor files, anddirfor directories. Each class has its own associated set of permissions.
Choose → → from the main menu bar to launch Mouse Preferences. In the Buttons tab, click the Left-handed mouse check box and click to switch the primary mouse button from the left to the right (making the mouse suitable for use in the left hand).To insert a special character into a gedit file, choose → → from the main menu bar. Next, choose → from the Character Map menu bar, type the name of the character in the Search field and click . The character you sought will be highlighted in the Character Table. Double-click this highlighted character to place it in the Text to copy field and then click the button. Now switch back to your document and choose → from the gedit menu bar.
Mono-spaced Bold Italic or Proportional Bold Italic
To connect to a remote machine using ssh, typesshat a shell prompt. If the remote machine isusername@domain.nameexample.comand your username on that machine is john, typessh john@example.com.Themount -o remountcommand remounts the named file system. For example, to remount thefile-system/homefile system, the command ismount -o remount /home.To see the version of a currently installed package, use therpm -qcommand. It will return a result as follows:package.package-version-release
Publican is a DocBook publishing system.
mono-spaced roman and presented thus:
books Desktop documentation drafts mss photos stuff svn books_tests Desktop1 downloads images notes scripts svgs
mono-spaced roman but add syntax highlighting as follows:
package org.jboss.book.jca.ex1; import javax.naming.InitialContext; public class ExClient { public static void main(String args[]) throws Exception { InitialContext iniCtx = new InitialContext(); Object ref = iniCtx.lookup("EchoBean"); EchoHome home = (EchoHome) ref; Echo echo = home.create(); System.out.println("Created Echo"); System.out.println("Echo.echo('Hello') = " + echo.echo("Hello")); } }
/usr/share/doc/redhat-release-notes-6<variant>/ directory after installation, where <variant> is Server, Client, or Desktop.
/usr/share/doc/redhat-release-notes-6<variant>/ directory after installation, where <variant> is Server, Client, or Desktop.
server release if you plan to deploy Red Hat Enterprise Linux to a server, or a desktop release if you plan to deploy to a client machine.

boot.iso
and are around 150 MB in size. You cannot install Red Hat
Enterprise Linux from these files, but you can use these files to create
bootable CDs, DVDs, or USB devices with which you can boot a system
when you plan to complete the installation from an installation source
available on a hard disk or over a network connection. Refer to Section 2.3, “Making Minimal Boot Media” for information on how to use the boot.iso file.
| Architecture | Installation DVD | Installation USB flash drive | Boot CD or boot DVD | Boot USB flash drive |
|---|---|---|---|---|
| BIOS-based 32-bit x86 | x86 DVD ISO image file | x86 DVD ISO image file |
boot.iso
|
boot.iso
|
| UEFI-based 32-bit x86 | Not available | |||
| BIOS-based AMD64 and Intel 64 | x86_64 DVD ISO image file (to install 64-bit operating system) or x86 DVD ISO image file (to install 32-bit operating system) | x86_64 DVD ISO image file (to install 64-bit operating system) or x86 DVD ISO image file (to install 32-bit operating system) |
boot.iso
|
boot.iso
|
| UEFI-based AMD64 and Intel 64 | x86_64 DVD ISO image file | Not available | Not available |
efiboot.img (from x86_64 DVD ISO image file)
|
| POWER (64-bit only) | ppc DVD ISO image file | Not available |
boot.iso
| Not available |
| System z | s390 DVD ISO image file | Not available | Not available | Not available |
/dev/disk/by-label, or use findfs:
su -c 'findfs LABEL="MyLabel"'dmesg after you connect the USB flash drive. The device name, similar to /dev/sdc, appears in several lines towards the end of the output.
dd command to transfer the ISO image to the USB device:
dd if=path/image_name.iso of=devicepath/image_name.iso is the ISO image file of the installation DVD that you downloaded from the Red Hat Customer Portal and device is the USB flash drive. For example:
dd if=~/Download/RHEL6-Server-i386-DVD.iso of=/dev/sdcboot.iso that is available at the same location as the images of the Red Hat Enterprise Linux 6 installation DVD — refer to Chapter 1, Obtaining Red Hat Enterprise Linux.
boot.iso to a blank CD or DVD using the same procedure detailed in Section 2.1, “Making an installation DVD” for the installation disc, or transfer the boot.iso file to a USB device with the dd command as detailed in Section 2.2, “Preparing a USB flash drive as an installation source”. As the boot.iso file is only around 200 MB in size, you do not need an especially large USB flash drive.
linux askmethod option to boot the installer from DVD and continue installation from a different installation source — refer to Section 3.5, “Selecting an Installation Method”.
efidisk.img file in the images/ directory on the Red Hat Enterprise Linux 6 installation DVD to produce a bootable USB flash drive for UEFI-based systems.
su -mkdir /mnt/dvdisomount DVD.iso /mnt/dvdiso -o loopDVD.iso is the name of the ISO image file, for example RHEL6-Server-x86_64-DVD.iso.
efidisk.img from the ISO image file to your USB flash drive:
dd if=/mnt/dvdiso/images/efidisk.img of=/dev/device_namedd if=/mnt/dvdiso/images/efidisk.img of=/dev/sdcumount /mnt/dvdisoTable of Contents
httpd service/Sendmail Hangs During Startuphttp://hardware.redhat.com/hcl/
/etc/fstab, /etc/crypttab
or other configuration files which refer to devices by their device
node names will not work in Red Hat Enterprise Linux 6. Before
migrating these files, you must therefore edit them to replace device
node paths with device UUIDs instead. You can find the UUIDs of devices
with the blkid command.
/ and swap) must be dedicated to Red Hat Enterprise Linux.
linux askmethod or linux repo=cdrom:device:/device boot option, or by selecting on the menu (refer to Section 8.3, “Installation Method”).
linux askmethod or linux repo=hd:device:/path boot option), or by selecting on the menu (refer to Section 8.3, “Installation Method”). Refer to Section 8.3.2, “Installing from a Hard Drive”, for hard drive installation instructions.
linux askmethod or linux repo=nfs:server :options:/path boot option, or the option on the menu described in Section 8.3, “Installation Method”). Refer to Section 8.3.4, “Installing via NFS” for network installation instructions. Note that NFS installations may also be performed in GUI mode.
linux askmethod, linux repo=ftp://user:password@host/path, or linux repo=http://host/path boot option, or the option on the menu described in Section 8.3, “Installation Method”). Refer to Section 8.3.5, “Installing via FTP or HTTP”, for FTP and HTTP installation instructions.
askmethod, the next stage loads automatically from the DVD. Proceed to Section 8.2, “Language Selection”.
[1] Unpartitioned disk space means that available disk space on the hard drives you are installing to has not been divided into sections for data. When you partition a disk, each partition behaves like a separate disk drive.
boot: prompt:
linux mediacheck/var/www/inst/rhel6 on the network server can be accessed as http://network.server.com/inst/rhel6.
/location/of/disk/space. The directory that will be made publicly available via FTP, NFS, or HTTP will be specified as /publicly/available/directory. For example, /location/of/disk/space may be a directory you create called /var/isos. /publicly/available/directory might be /var/www/html/rhel6, for an HTTP install.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
install.img file, and optionally the product.img file available on the network server via NFS.
mv /location/of/disk/space/RHEL6.iso /publicly/available/directory/$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.17, “Package Group Selection”).
/publicly/available/directory directory is exported via NFS via an entry in /etc/exports on the network server.
/publicly/available/directory client.ip.address (ro)/publicly/available/directory * (ro)/sbin/service nfs start). If NFS is already running, reload the configuration file (on a Red Hat Enterprise Linux system use /sbin/service nfs reload).
boot: prompt:
linux mediacheckinstall.img file extracted from the ISO image.
product.img file extracted from the ISO image.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.17, “Package Group Selection”).
boot: prompt:
linux mediacheck/boot on sda1, / on sda2, and /home on sdb1. This will allow you to identify specific partitions during the partitioning process.
.iso. In the following example, the file is named dd.iso:

OEMDRV,
the installation program will automatically examine it for driver
updates and load any that it detects. This behavior is controlled by the
dlabel=on boot option, which is enabled by default. Refer to Section 6.3.1, “Let the installer automatically find a driver update disk”.


rhdd3 and a directory named rpms:

rhdd3 and a directory named rpms:
.iso, then you have not created the disk correctly and should try again. Ensure that you choose an option similar to burn from image if you use a Linux desktop other than GNOME or if you use a different operating system.
.iso.
/tmp/initrd_update directory.
dd.img.
/tmp/initrd_update directory, type the following command, and press Enter:
find . | cpio --quiet -c -o | gzip -9 >/tmp/initrd_update.img
/tmp/initrd_update.img into the directory the holds the target that you want to use for installation. This directory is placed under the /tftpboot/pxelinux/ directory. For example, /tftpboot/pxelinux/r6c/ might hold the PXE target for Red Hat Enterprise Linux 6 Client.
/tftpboot/pxelinux/pxelinux.cfg/default file to include an entry that includes the initial RAM disk update that you just created, in the following format:
labeltarget-dd kerneltarget/vmlinuz append initrd=target/initrd.img,target/dd.img
target is the target that you want to use for installation.
driver_update.iso is a
driver update image file that you downloaded from the Internet to a
directory on your PXE server. The target that you want to PXE boot from
is located in /tftpboot/pxelinux/r6c/
$ cp driver_update.iso /tmp/initrd_update/dd.img $ cd /tmp/initrd_update $ find . | cpio --quiet -c -o | gzip -9 >/tmp/initrd_update.img $ cp /tmp/initrd_update.img /tftpboot/pxelinux/r6c/dd.img
/tftpboot/pxelinux/pxelinux.cfg/default file and include the following entry:
label r6c-dd kernel r6c/vmlinuz append initrd=r6c/initrd.img,r6c/dd.img
OEMDRV
before starting the installation process. The installer will
automatically examine the device and load any driver updates that it
detects and will not prompt you during the process. Refer to Section 6.2.1.1, “Preparing to use an image file on local storage” to prepare a storage device for the installer to find.

linux dd at the boot prompt at the start of the installation process and press Enter. The installer prompts you to confirm that you have a driver disk:

network boot in your computer's
BIOS or boot menu. The procedure to specify this option varies widely
among different computers. Consult your hardware documentation or the
hardware vendor for specifics relevant to your computer.
r6c-dd in the /tftpboot/pxelinux/pxelinux.cfg/default file on your PXE server, type r6c-dd at the prompt and press Enter.



Press F10 to select boot device,
although the specific wording and the key that you must press varies
widely from computer to computer. Consult the documentation for your
computer or motherboard, or seek support from the hardware manufacturer
or vendor.
Press F10 to select boot device,
although the specific wording and the key that you must press varies
widely from computer to computer. Consult the documentation for your
computer or motherboard, or seek support from the hardware manufacturer
or vendor.
boot:
prompt should appear. The screen contains information on a variety of
boot options. Each boot option also has one or more help screens
associated with it. To access a help screen, press the appropriate
function key as listed in the line at the bottom of the screen.
boot: prompt appears, the
installation program automatically begins if you take no action within
the first minute. To disable this feature, press one of the help screen
function keys.
linux textlinux repo=cdrom:devicelinux repo=ftp://username:password@URLlinux repo=http://URLlinux repo=hd:devicelinux repo=nfs:options:server:/pathlinux repo=nfsiso:options:server:/pathcdrom refers to a CD or DVD drive, ftp refers to a location accessible by FTP, http refers to a location accessible by HTTP, hd refers to an ISO image file accessible on a hard drive partition, nfs refers to an expanded tree of installation files accessible by NFS, and nfsiso refers to an ISO image file accessible by NFS.
linux mediachecklinux console=<device>linux text console=<device><device> should be the device you are using (such as ttyS0 or ttyS1). For example, linux text console=ttyS0.
utf8 command as a boot-time option to the installation program. For example:
linux console=ttyS0 utf8linux updateslinux text updatesrhupdates/ on the server.
| Boot method | Installation source |
|---|---|
| Installation DVD | DVD, network, or hard disk |
| Installation USB flash drive | USB flash drive, installation DVD, network, or hard disk |
| Minimal boot CD or USB, rescue CD | Network or hard disk |
Network Boot or Boot Services.
Once you properly configure PXE booting, the computer can boot the Red
Hat Enterprise Linux installation system without any other media.
pxelinux.cfg/* config files:
IPAPPEND 2 APPEND ksdevice=bootif
ksdevice=link
xdriver=vesa option – refer to Chapter 28, Boot Options



askmethod boot option, use the arrow keys on your keyboard to select an installation method (refer to Figure 8.4, “Installation Method”). With your selected method highlighted, press the Tab key to move to the button and press the Enter key to confirm your choice.

repo=hd boot option, you already specified a partition.

/dev/sd. Each individual drive has its own letter, for example /dev/sda. Each partition on a drive is numbered, for example /dev/sda1.
| Partition type | Volume | Original path to files | Directory to use |
|---|---|---|---|
| VFAT | D:\ | D:\Downloads\RHEL6 | /Downloads/RHEL6 |
| ext2, ext3, ext4 | /home | /home/user1/RHEL6 | /user1/RHEL6 |
/.
If the ISO images are located in a subdirectory of a mounted partition,
enter the name of the directory holding the ISO images within that
partition. For example, if the partition on which the ISO images is
normally mounted as /home/, and the images are in /home/new/, you would enter /new/.
askmethod or repo=
options, you can install Red Hat Enterprise Linux from a network server
using FTP, HTTP, or NFS protocols. You can also instruct the
installation program to consult additional software repositories later
in the process.

repo=nfs boot option, you already specified a server and path.
eastcoast in the domain example.com, enter eastcoast.example.com in the NFS Server field.
/export/directory/.
mount and nfs for a comprehensive list of options.

http:// or ftp:// as the protocol.
repo=ftp or repo=http boot option, you already specified a server and path.
/images directory for your architecture. For example:
/mirrors/redhat/rhel-6/Server/i386/
{ftp|http}://<user>:<password>@<hostname>[:<port>]/<directory>/
http://install:rhel6pw@name.example.com/mirrors/redhat/rhel-6/Server/i386/

X key command combination as a way of clicking on buttons or making other screen selections, where X is replaced with any underlined letter appearing within that screen.
boot: prompt:
linux text/root/anaconda-screenshots.
autostep --autoscreenshot option to generate a screenshot of each step of the installation automatically. Refer to Section 32.3, “Creating the Kickstart File” for details of configuring a Kickstart file.
| console | keystrokes | contents |
|---|---|---|
| 1 | ctrl+alt+f1 | graphical display |
| 2 | ctrl+alt+f2 | shell prompt |
| 3 | ctrl+alt+f3 | install log (messages from installation program) |
| 4 | ctrl+alt+f4 | system-related messages |
| 5 | ctrl+alt+f5 | other messages |


latin1 option, which uses dead keys
to access certain characters, such as those with diacritical marks.
When you press a dead key, nothing will appear on your screen until you
press another key to "complete" the character. For example, to type é on a latin1 keyboard layout, you would press (and release) the ' key, and then press the E key. By contrast, you access this character on some other keyboards by pressing and holding down a key (such as Alt-Gr) while you press the E key. Other keyboards might have a dedicated key for this character.
system-config-keyboard command in a shell prompt to launch the Keyboard Configuration Tool. If you are not root, it prompts you for the root password to continue.






/etc/fstab file.


address / netmask, along with the gateway address and nameserver address for your network.


hostname.domainname or as a short host name in the format hostname. Many networks have a Dynamic Host Configuration Protocol
(DHCP) service that automatically supplies connected systems with a
domain name. To allow the DHCP service to assign the domain name to this
machine, specify the short host name only.

system-config-network command in a shell prompt to launch the Network Administration Tool. If you are not root, it prompts you for the root password to continue.








system-config-date command in a shell prompt to launch the Time and Date Properties Tool. If you are not root, it prompts you for the root password to continue.
timeconfig.

su
command to change to root only when you need to perform tasks that
require superuser authorization. These basic rules minimize the changes
of a typo or an incorrect command doing damage to your system.
su - at the shell prompt in a terminal window and then press Enter. Then, enter the root password and press Enter.
system-config-users command in a shell prompt to launch the User Manager, a powerful user management and configuration tool. If you are not root, it prompts you for the root password to continue.
root password into the Root Password field. Red Hat Enterprise Linux displays the characters as asterisks for security. Type the same password into the Confirm field to ensure it is set correctly. After you set the root password, select to proceed.


clearpart --initlabel (refer to Chapter 32, Kickstart Installations)

/home partition and perform a fresh installation. For more information on partitions and how to set them up, refer to Section 9.12, “Disk Partitioning Setup”.
rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txtsu -c 'tar czf /tmp/etc-`date +%F`.tar.gz /etc'
su -c 'mv /tmp/etc-*.tar.gz /home'/home
directory as well as content from services such as an Apache, FTP, or
SQL server, or a source code management system. Although upgrades are
not destructive, if you perform one improperly there is a small
possibility of data loss.
/home directory. If your /home directory is not a separate partition, you should not follow these examples verbatim! Store your backups on another device such as CD or DVD discs or an external hard disk.

/boot/
partition must be created on a partition outside of the RAID array,
such as on a separate hard drive. An internal hard drive is necessary to
use for partition creation with problematic RAID cards.
/boot/ partition is also necessary for software RAID setups.
/boot/ partition.

/boot partition. Refer to Appendix C, Disk Encryption for information on encryption.


/dev/sda or LogVol00), its size (in MB), and its model as detected by the installation program.
physical volume (LVM), or part of a software RAID


/; enter /boot for the /boot
partition, and so on. You can also use the pull-down menu to choose the
correct mount point for your partition. For a swap partition the mount
point should not be set — setting the filesystem type to swap is sufficient.
fsck [3] the file system.
btrfs. Refer to Chapter 28, Boot Options for instructions.
software RAID


md0 to md15.

lvm command. To return to the text-mode installation, press Alt+F1.
physical volume (LVM)



swap partition
/boot partition
/ partition
| Amount of RAM in the System | Recommended Amount of Swap Space |
|---|---|
| 4GB of RAM or less | a minimum of 2GB of swap space |
| 4GB to 16GB of RAM | a minimum of 4GB of swap space |
| 16GB to 64GB of RAM | a minimum of 8GB of swap space |
| 64GB to 256GB of RAM | a minimum of 16GB of swap space |
| 256GB to 512GB of RAM | a minimum of 32GB of swap space |
/boot/ partition (250 MB)/boot/ contains
the operating system kernel (which allows your system to boot Red Hat
Enterprise Linux), along with files used during the bootstrap process.
For most users, a 250 MB boot partition is sufficient.
/boot, such as Btrfs, XFS, or VFAT.
/boot/ partition if you want the / (root) partition to use all of the remaining space on your hard drive.
/boot/ partition must be created on a partition outside of the RAID array, such as on a separate hard drive.
root partition (3.0 GB - 5.0 GB)/" (the root directory) is located. In this setup, all files (except those stored in /boot) are on the root partition.
/root/ (or root) partition is the top of the directory structure. The /root directory/root (sometimes pronounced "slash-root") directory is the home directory of the user account for system administration.
/home partition on systems that store user data. Refer to Section 9.14.5.1.1, “Advice on Partitions” for more information.
/ partition, upgrades become easier. Refer to the description of the Edit option in Section 9.14, “ Creating a Custom Layout or Modifying the Default Layout ” for more information.
/foo must be at least 500 MB, and you do not make a separate /foo partition, then the / (root) partition must be at least 500 MB.
| Directory | Minimum size |
|---|---|
/
| 250 MB |
/usr
| 250 MB, but avoid placing this on a separate partition |
/tmp
| 50 MB |
/var
| 384 MB |
/home
| 100 MB |
/boot
| 250 MB |
/home directory within a volume group. With a separate /home partition, you may upgrade or reinstall Red Hat Enterprise Linux without erasing user data files.
/home partition.
/boot partition. Unless you plan to install a great many kernels, the default partition size of 250 MB for /boot should suffice.
/boot, such as Btrfs, XFS, or VFAT.
/var directory holds content for a number of applications, including the Apache web server. It also is used to store downloaded update packages on a temporary basis. Ensure that the partition containing the /var directory has enough space to download pending updates and hold your other content.
/var/cache/yum/ by default. If you partition the system manually, and create a separate /var/ partition, be sure to create the partition large enough (3.0 GB or more) to download package updates.
/usr directory holds the majority
of software content on a Red Hat Enterprise Linux system. For an
installation of the default set of software, allocate at least 4 GB of
space. If you are a software developer or plan to use your Red Hat
Enterprise Linux system to learn software development skills, you may
want to at least double this allocation.
/usr on a separate partition/usr is on a separate partition from /,
the boot process becomes much more complex, and in some situations
(like installations on iSCSI drives), might not work at all.
/var/lib/mysql, make a separate partition for that directory in case you need to reinstall later.
| Partition | Size and type |
|---|---|
/boot
|
250 MB ext3 partition
|
swap
| 2 GB swap |
| LVM physical volume | Remaining space, as one LVM volume group |
| Partition | Size and type |
|---|---|
/
| 13 GB ext4 |
/var
| 4 GB ext4 |
/home
| 50 GB ext4 |


/boot/grub/grub.conf
file. If you cannot boot, you may be able to use the "rescue" mode on
the first Red Hat Enterprise Linux installation disc to reset the GRUB
password.
grub-md5-crypt utility. For information on using this utility, use the command man grub-md5-crypt in a terminal window to read the manual pages.

/boot/ partition was created.
/boot
Linux partition on the first 1024 cylinders of your hard drive to boot
Linux. The other Linux partitions can be after cylinder 1024.
parted, 1024 cylinders equals 528MB. For more information, refer to:
http://www.pcguide.com/ref/hdd/bios/sizeMB504-c.html
linux rescue at the installation boot prompt. Refer to Chapter 36, Basic System Recovery for a more complete description of rescue mode.


repodata.




/root/install.log once you reboot your system.
login: prompt or a GUI login screen (if you installed the X Window System and chose to start X automatically) appears.
[2] A root password is the administrative password for your Red Hat Enterprise Linux system. You should only log in as root when needed for system maintenance. The root account does not operate within the restrictions placed on normal user accounts, so changes made as root can have implications for your entire system.
[3]
The fsck application is used to check the file system for metadata consistency and optionally repair one or more Linux file systems.
httpd service/Sendmail Hangs During Startup/tmp directory. These files include:
/tmp/anaconda.log/tmp/program.log/tmp/storage.log/tmp/yum.log/tmp/syslog/tmp/anacdump.txt.
scp on the installation image (not the other way round).
GRUB: ) and a flashing cursor may be all that appears. If this is the case, you must repartition your system.
/boot
partition outside of the RAID array, such as on a separate hard drive.
An internal hard drive is necessary to use for partition creation with
problematic RAID cards.
/boot/ partition.
boot: or yaboot: prompt:
linux mediacheck http://www.bitwizard.nl/sig11/xdriver=vesa boot option at the boot prompt. Alternatively, you can force the installer to use a specific screen resolution with the resolution= boot option. This option may be most helpful for laptop users. Another solution to try is the driver=
option to specify the driver that should be loaded for your video card.
If this works, you should report it as a bug, because the installer
failed to detect your video card automatically. Refer to Chapter 28, Boot Options for more information on boot options.
nofb boot option. This command may be necessary for accessibility with some screen reading hardware.
No devices found to install Red Hat Enterprise Linux Error MessageNo devices found to install Red Hat Enterprise Linux, there is probably a SCSI controller that is not being recognized by the installation program.



Local disk selected, displaying user's home directory

Bugzilla selected, displaying fields for username, password, and description

Remote server selected, displaying fields for username, password, host, and destination file
The partition table on device hda was unreadable. To create new
partitions it must be initialized, causing the loss of ALL DATA on this
drive.
swap and a /
(root) partition created, and you have selected the root partition to
use the remaining space, but it does not fill the hard drive.
/boot partition if you want the / (root) partition to use all of the remaining space on your hard drive.
/ (root) partition
/tmp/directory. The error may look similar to:
Traceback (innermost last): File "/var/tmp/anaconda-7.1//usr/lib/anaconda/iw/progress_gui.py", line 20, in run rc = self.todo.doInstall () File "/var/tmp/anaconda-7.1//usr/lib/anaconda/todo.py", line 1468, in doInstall self.fstab.savePartitions () File "fstab.py", line 221, in savePartitions sys.exit(0) SystemExit: 0 Local variables in innermost frame: self: <fstab.GuiFstab instance at 8446fe0> sys: <module 'sys' (built-in)> ToDo object: (itodo ToDo p1 (dp2 S'method' p3 (iimage CdromInstallMethod p4 (dp5 S'progressWindow' p6 <failed>
/tmp/
are symbolic to other locations or have been changed since creation.
These symbolic or changed links are invalid during the installation
process, so the installation program cannot write information and fails.
http://fedoraproject.org/wiki/Anaconda/Updates
anaconda in the field marked Filter by Synopsis, and click .
http://fedoraproject.org/wiki/Anaconda
http://bugzilla.redhat.com/bugzilla/
http://www.redhat.com/apps/activate/
/boot/grub/grub.conf file.
grub.conf file, comment out the line which begins with splashimage by inserting the # character at the beginning of the line.
b to boot the system.
grub.conf file is reread and any changes you have made take effect.
grub.conf file.
startx.
/etc/inittab,
by changing just one number in the runlevel section. When you are
finished, reboot the computer. The next time you log in, you are
presented with a graphical login prompt.
su command.
gedit /etc/inittab to edit the file with gedit. The file /etc/inittab opens. Within the first screen, a section of the file which looks like the following appears:
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
# id:3:initdefault:
id:3:initdefault: from a 3 to a 5.
3 to 5.
id:5:initdefault: df -h
df command should help you diagnose which partition is full. For additional information about df and an explanation of the options available (such as the -h option used in this example), refer to the df man page by typing man df at a shell prompt.
/home/ and /tmp/
partitions can sometimes fill up quickly with user files. You can make
some room on that partition by removing old files. After you free up
some disk space, try running X as the user that was unsuccessful before.
linux single.
e
for edit when the GRUB boot screen has loaded. You are presented with a
list of items in the configuration file for the boot label you have
selected.
kernel and type e to edit this boot entry.
kernel line, add:
singleb to boot the system.
# prompt, you must type passwd root, which allows you to enter a new password for root. At this point you can type shutdown -r now to reboot the system with the new root password.
su - and enter your root password when prompted. Then, type passwd <username>. This allows you to enter a new password for the specified user account.
http://hardware.redhat.com/hcl/cat /proc/meminfo command.
/boot/grub/grub.conf:
mem=xxMxx with the amount of RAM you have in megabytes.
/boot/grub/grub.conf, the above example would look similar to the following:
# NOTICE: You have a /boot partition. This means that # all kernel paths are relative to /boot/ default=0 timeout=30 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Enterprise Linux Client (2.6.27.19-170.2.35.el5.i686) root (hd0,1) kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=UUID=04a07c13-e6bf-6d5a-b207-002689545705 mem=1024M initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img
grub.conf are reflected on your system.
e for edit. You are presented with a list of items in the configuration file for the boot label you have selected.
kernel and type e to edit this boot entry.
kernel line, add
mem=xxMxx equals the amount of RAM in your system.
b to boot the system.
xx with the amount of RAM in your system. Press Enter to boot.
system-config-printer command at a shell prompt to launch the Printer Configuration Tool. If you are not root, it prompts you for the root password to continue.
ppc and ppc64 respectively). Red Hat Enterprise Linux 6 supports only on the 64-bit POWER architecture (ppc64).
Table of Contents
httpd service/Sendmail Hangs During Startupc00000, otherwise you might see errors such as:
DEFAULT CATCH!, exception-handler=fff00300/etc/fstab, /etc/crypttab
or other configuration files which refer to devices by their device
node names will not work in Red Hat Enterprise Linux 6. Before
migrating these files, you must therefore edit them to replace device
node paths with device UUIDs instead. You can find the UUIDs of devices
with the blkid command.
[5] Unpartitioned disk space means that available disk space on the hard drives you are installing to has not been divided into sections for data. When you partition a disk, each partition behaves like a separate disk drive.
yaboot: prompt:
linux mediacheck/var/www/inst/rhel6 on the network server can be accessed as http://network.server.com/inst/rhel6.
/location/of/disk/space. The directory that will be made publicly available via FTP, NFS, or HTTP will be specified as /publicly/available/directory. For example, /location/of/disk/space may be a directory you create called /var/isos. /publicly/available/directory might be /var/www/html/rhel6, for an HTTP install.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
install.img file, and optionally the product.img file available on the network server via NFS.
mv /location/of/disk/space/RHEL6.iso /publicly/available/directory/$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 16.18, “Package Group Selection”).
/publicly/available/directory directory is exported via NFS via an entry in /etc/exports on the network server.
/publicly/available/directory client.ip.address (ro)/publicly/available/directory * (ro)/sbin/service nfs start). If NFS is already running, reload the configuration file (on a Red Hat Enterprise Linux system use /sbin/service nfs reload).
boot: prompt:
linux mediacheckinstall.img file extracted from the ISO image.
product.img file extracted from the ISO image.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.17, “Package Group Selection”).
boot: prompt:
linux mediacheck.iso. In the following example, the file is named dd.iso:

OEMDRV,
the installation program will automatically examine it for driver
updates and load any that it detects. This behavior is controlled by the
dlabel=on boot option, which is enabled by default. Refer to Section 13.3.1, “Let the installer automatically find a driver update disk”.


rhdd3 and a directory named rpms:

rhdd3 and a directory named rpms:
.iso, then you have not created the disk correctly and should try again. Ensure that you choose an option similar to burn from image if you use a Linux desktop other than GNOME or if you use a different operating system.
.iso.
/tmp/initrd_update directory.
dd.img.
/tmp/initrd_update directory, type the following command, and press Enter:
find . | cpio --quiet -c -o | gzip -9 >/tmp/initrd_update.img
/tmp/initrd_update.img into the directory the holds the target that you want to use for installation. This directory is placed under the /tftpboot/pxelinux/ directory. For example, /tftpboot/pxelinux/r6c/ might hold the PXE target for Red Hat Enterprise Linux 6 Client.
/tftpboot/pxelinux/pxelinux.cfg/default file to include an entry that includes the initial RAM disk update that you just created, in the following format:
labeltarget-dd kerneltarget/vmlinuz append initrd=target/initrd.img,target/dd.img
target is the target that you want to use for installation.
driver_update.iso is a
driver update image file that you downloaded from the Internet to a
directory on your PXE server. The target that you want to PXE boot from
is located in /tftpboot/pxelinux/r6c/
$ cp driver_update.iso /tmp/initrd_update/dd.img $ cd /tmp/initrd_update $ find . | cpio --quiet -c -o | gzip -9 >/tmp/initrd_update.img $ cp /tmp/initrd_update.img /tftpboot/pxelinux/r6c/dd.img
/tftpboot/pxelinux/pxelinux.cfg/default file and include the following entry:
label r6c-dd kernel r6c/vmlinuz append initrd=r6c/initrd.img,r6c/dd.img
OEMDRV
before starting the installation process. The installer will
automatically examine the device and load any driver updates that it
detects and will not prompt you during the process. Refer to Section 13.2.1.1, “Preparing to use an image file on local storage” to prepare a storage device for the installer to find.

linux dd at the boot prompt at the start of the installation process and press Enter. The installer prompts you to confirm that you have a driver disk:

network boot in your computer's
BIOS or boot menu. The procedure to specify this option varies widely
among different computers. Consult your hardware documentation or the
hardware vendor for specifics relevant to your computer.
r6c-dd in the /tftpboot/pxelinux/pxelinux.cfg/default file on your PXE server, type r6c-dd at the prompt and press Enter.



Cannot load ramdisk.image.gz: Claim failed for initrd memory at 02000000 rc=ffffffffreal-base to c00000. You can obtain the value of real-base from the OpenFirmware prompt with the printenv command and set the value with the setenv command.

boot: prompt. Press Enter or wait for the timeout to expire for the installation to begin.
images/netboot/ppc64.img file on the DVD.
| Boot method | Installation source |
|---|---|
| Installation DVD | DVD, network, or hard disk |
| Installation USB flash drive | USB flash drive, installation DVD, network, or hard disk |
| Minimal boot CD or USB, rescue CD | Network or hard disk |
Network Boot or Boot Services.
Once you properly configure PXE booting, the computer can boot the Red
Hat Enterprise Linux installation system without any other media.
pxelinux.cfg/* config files:
IPAPPEND 2 APPEND ksdevice=bootif
ksdevice=link
xdriver=vesa option – refer to Chapter 28, Boot Options




repo=hd boot option, you already specified a partition.

/dev/sd. Each individual drive has its own letter, for example /dev/sda. Each partition on a drive is numbered, for example /dev/sda1.
| Partition type | Volume | Original path to files | Directory to use |
|---|---|---|---|
| VFAT | D:\ | D:\Downloads\RHEL6 | /Downloads/RHEL6 |
| ext2, ext3, ext4 | /home | /home/user1/RHEL6 | /user1/RHEL6 |
/.
If the ISO images are located in a subdirectory of a mounted partition,
enter the name of the directory holding the ISO images within that
partition. For example, if the partition on which the ISO images is
normally mounted as /home/, and the images are in /home/new/, you would enter /new/.

repo=nfs boot option, you already specified a server and path.
eastcoast in the domain example.com, enter eastcoast.example.com in the NFS Server field.
/export/directory/ which contains the variant/ directory.
mount and nfs for a comprehensive list of options.

http:// or ftp:// as the protocol.
repo=ftp or repo=http boot option, you already specified a server and path.
/images directory for your architecture. For example:
/mirrors/redhat/rhel-6/Server/ppc64/
{ftp|http}://<user>:<password>@<hostname>[:<port>]/<directory>/
http://install:rhel6pw@name.example.com/mirrors/redhat/rhel-6/Server/ppc64/

X key command combination as a way of clicking on buttons or making other screen selections, where X is replaced with any underlined letter appearing within that screen.
yaboot: prompt:
linux text| console | keystrokes | contents |
|---|---|---|
| 1 | ctrl+alt+f1 | installation dialog |
| 2 | ctrl+alt+f2 | shell prompt |
| 3 | ctrl+alt+f3 | install log (messages from installation program) |
| 4 | ctrl+alt+f4 | system-related messages |
| 5 | ctrl+alt+f5 | other messages |
| 6 | ctrl+alt+f6 | x graphical display |







/etc/fstab file.


address / netmask, along with the gateway address and nameserver address for your network.



system-config-keyboard command in a shell prompt to launch the Keyboard Configuration Tool. If you are not root, it prompts you for the root password to continue.
hostname.domainname or as a short host name in the format hostname. Many networks have a Dynamic Host Configuration Protocol
(DHCP) service that automatically supplies connected systems with a
domain name. To allow the DHCP service to assign the domain name to this
machine, specify the short host name only.

system-config-network command in a shell prompt to launch the Network Administration Tool. If you are not root, it prompts you for the root password to continue.








system-config-date command in a shell prompt to launch the Time and Date Properties Tool. If you are not root, it prompts you for the root password to continue.
timeconfig.

su
command to change to root only when you need to perform tasks that
require superuser authorization. These basic rules minimize the changes
of a typo or an incorrect command doing damage to your system.
su - at the shell prompt in a terminal window and then press Enter. Then, enter the root password and press Enter.
system-config-users command in a shell prompt to launch the User Manager, a powerful user management and configuration tool. If you are not root, it prompts you for the root password to continue.
root password into the Root Password field. Red Hat Enterprise Linux displays the characters as asterisks for security. Type the same password into the Confirm field to ensure it is set correctly. After you set the root password, select to proceed.


clearpart --initlabel (refer to Chapter 32, Kickstart Installations)

/home partition and perform a fresh installation. For more information on partitions and how to set them up, refer to Section 9.12, “Disk Partitioning Setup”.
rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txtsu -c 'tar czf /tmp/etc-`date +%F`.tar.gz /etc'
su -c 'mv /tmp/etc-*.tar.gz /home'/home
directory as well as content from services such as an Apache, FTP, or
SQL server, or a source code management system. Although upgrades are
not destructive, if you perform one improperly there is a small
possibility of data loss.
/home directory. If your /home directory is not a separate partition, you should not follow these examples verbatim! Store your backups on another device such as CD or DVD discs or an external hard disk.
/boot/
partition must be created on a partition outside of the RAID array,
such as on a separate hard drive. An internal hard drive is necessary to
use for partition creation with problematic RAID cards.
/boot/ partition is also necessary for software RAID setups.
/boot/ partition.

/boot partition. Refer to Appendix C, Disk Encryption for information on encryption.

/) partition, a /boot/ partition, PReP boot partition, and usually a swap partition appropriate to the amount of RAM you have on the system.

/dev/sda or LogVol00), its size (in MB), and its model as detected by the installation program.
physical volume (LVM), or part of a software RAID


/; enter /boot for the /boot
partition, and so on. You can also use the pull-down menu to choose the
correct mount point for your partition. For a swap partition the mount
point should not be set — setting the filesystem type to swap is sufficient.
fsck [7] the file system.
btrfs. Refer to Chapter 28, Boot Options for instructions.
software RAID


md0 to md15.

lvm command. To return to the text-mode installation, press Alt+F1.
physical volume (LVM)



| Amount of RAM in the System | Recommended Amount of Swap Space |
|---|---|
| 4GB of RAM or less | a minimum of 2GB of swap space |
| 4GB to 16GB of RAM | a minimum of 4GB of swap space |
| 16GB to 64GB of RAM | a minimum of 8GB of swap space |
| 64GB to 256GB of RAM | a minimum of 16GB of swap space |
| 256GB to 512GB of RAM | a minimum of 32GB of swap space |
/boot/ partition (250 MB) — the partition mounted on /boot/
contains the operating system kernel (which allows your system to boot
Red Hat Enterprise Linux), along with files used during the bootstrap
process. Due to the limitations of most PC firmware, creating a small
partition to hold these is a good idea. For most users, a 250 MB
boot partition is sufficient.
/boot/ partition must be created on a partition outside of the RAID array, such as on a separate hard drive.
root partition (3.0 GB - 5.0 GB)/" (the root directory) is located. In this setup, all files (except those stored in /boot) are on the root partition.
/root/ (or root) partition is the top of the directory structure. The /root directory/root (sometimes pronounced "slash-root") directory is the home directory of the user account for system administration.
/var/cache/yum/ by default. If you partition the system manually, and create a separate /var/ partition, be sure to create the partition large enough (3.0 GB or more) to download package updates.



repodata.




login: prompt or a GUI login screen (if you installed the X Window System and chose to start X automatically) appears.
[6] A root password is the administrative password for your Red Hat Enterprise Linux system. You should only log in as root when needed for system maintenance. The root account does not operate within the restrictions placed on normal user accounts, so changes made as root can have implications for your entire system.
[7]
The fsck application is used to check the file system for metadata consistency and optionally repair one or more Linux file systems.
httpd service/Sendmail Hangs During Startup/tmp directory. These files include:
/tmp/anaconda.log/tmp/program.log/tmp/storage.log/tmp/yum.log/tmp/syslog/tmp/anacdump.txt.
http://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/info/LinuxAlerts.html
scp on the installation image (not the other way round).
boot: or yaboot: prompt:
linux mediacheck http://www.bitwizard.nl/sig11/resolution= boot option. Refer to Chapter 28, Boot Options for more information.
nofb boot option. This command may be necessary for accessibility with some screen reading hardware.
No devices found to install Red Hat Enterprise Linux Error MessageNo devices found to install Red Hat Enterprise Linux, there is probably a SCSI controller that is not being recognized by the installation program.



Local disk selected, displaying user's home directory

Bugzilla selected, displaying fields for username, password, and description

Remote server selected, displaying fields for username, password, host, and destination file
The partition table on device hda was unreadable. To create new
partitions it must be initialized, causing the loss of ALL DATA on this
drive.
/ (root) partition
/tmp/directory. The error may look similar to:
Traceback (innermost last): File "/var/tmp/anaconda-7.1//usr/lib/anaconda/iw/progress_gui.py", line 20, in run rc = self.todo.doInstall () File "/var/tmp/anaconda-7.1//usr/lib/anaconda/todo.py", line 1468, in doInstall self.fstab.savePartitions () File "fstab.py", line 221, in savePartitions sys.exit(0) SystemExit: 0 Local variables in innermost frame: self: <fstab.GuiFstab instance at 8446fe0> sys: <module 'sys' (built-in)> ToDo object: (itodo ToDo p1 (dp2 S'method' p3 (iimage CdromInstallMethod p4 (dp5 S'progressWindow' p6 <failed>
/tmp/
are symbolic to other locations or have been changed since creation.
These symbolic or changed links are invalid during the installation
process, so the installation program cannot write information and fails.
http://fedoraproject.org/wiki/Anaconda/Updates
anaconda in the field marked Filter by Synopsis, and click .
http://fedoraproject.org/wiki/Anaconda
http://bugzilla.redhat.com/bugzilla/
http://www.redhat.com/apps/activate/
startx.
/etc/inittab,
by changing just one number in the runlevel section. When you are
finished, reboot the computer. The next time you log in, you are
presented with a graphical login prompt.
su command.
gedit /etc/inittab to edit the file with gedit. The file /etc/inittab opens. Within the first screen, a section of the file which looks like the following appears:
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
# id:3:initdefault:
id:3:initdefault: from a 3 to a 5.
3 to 5.
id:5:initdefault: df -h
df command should help you diagnose which partition is full. For additional information about df and an explanation of the options available (such as the -h option used in this example), refer to the df man page by typing man df at a shell prompt.
/home/ and /tmp/
partitions can sometimes fill up quickly with user files. You can make
some room on that partition by removing old files. After you free up
some disk space, try running X as the user that was unsuccessful before.
linux single.
# prompt, you must type passwd root, which allows you to enter a new password for root. At this point you can type shutdown -r now to reboot the system with the new root password.
su - and enter your root password when prompted. Then, type passwd <username>. This allows you to enter a new password for the specified user account.
http://hardware.redhat.com/hcl/system-config-printer command at a shell prompt to launch the Printer Configuration Tool. If you are not root, it prompts you for the root password to continue.
Table of Contents
Booting (IPL) the installer
Installation Phase 1
Installation Phase 2
Installation Phase 3

kernel.img) and initial ramdisk (initrd.img) with at least the parameters in generic.prm. The Linux installation system is also called the installer in this book.
display= variable in the parameter file (refer to Section 26.4, “VNC and X11 parameters”
for details). In Red Hat Enterprise Linux 6 the text-based installation
has been reduced to minimize user interaction. Features like
installation on FCP-attached SCSI devices, changing partition layout, or
package selection are only available with the graphical user interface
installation. Use the graphical installation whenever possible. (Refer
to Chapter 23, Installation Phase 3: Installing using anaconda.)
| Parameter | SSH login | User interface |
|---|---|---|
| none | SSH without X11 forwarding | VNC or text |
vnc
| SSH with or without X11 forwarding | VNC |
| none | SSH with X11 forwarding | X11 |
display=
| SSH without X11 forwarding | X11 |
ssh -X install@linuxvm.example.comlinuxvm.example.com with the hostname or IP address of the system you are installing. The -X option (the capital letter X) enables X11 forwarding.
display=workstationname:0.0
in the parameter file, where workstationname is the hostname of the
client workstation connecting to the Linux image. Alternatively, you can
set the display environment variable and run loader manually after having logged in with SSH as user root. By default you log in as user install. This starts the loader automatically and does not allow overriding the display environment variable.
xauth command. To manage X11 authorization cookies with xauth, you must log in to the Linux installation system using SSH as user root. For details on xauth and how to manage authorization cookies, refer to the xauth manpage.
xhost +linuxvmlinuxvm with the hostname or IP address of the Linux installation system. This allows linuxvm to make connections to the X11 server.
display=
variable settings in the parameter file. If performing an installation
under z/VM, rerun the installation to load the new parameter file on the
reader.
vnc variable and optionally the vncpassword variable in your parameter file (refer to Section 26.4, “VNC and X11 parameters” for details).
vncconnect option in your parameter file, in addition to the options vnc and optionally vncpassword. The network and firewalls must allow an IP connection from your temporary Linux installation to your workstation.
-listen option to run vncviewer as a listener. In a terminal window, enter the command:
vncviewer -listenks= option. The kickstart file typically resides on the network. The parameter file often also contains the options cmdline and RUNKS=1 to execute the loader without having to log in over the network with SSH (Refer to Section 26.6, “Parameters for kickstart installations”).
/root/anaconda-ks.cfg.
You may use this file to repeat the installation with identical
settings, or modify copies to specify settings for other systems.
[8]
Direct Access Storage Devices (DASDs) are hard disks that allow a maximum of three partitions per device. For example, dasda can have partitions dasda1, dasda2, and dasda3.
[9] Using the SCSI-over-Fibre Channel device driver (zfcp device driver) and a switch, SCSI LUNs can be presented to Linux on System z as if they were locally attached SCSI drives.
/var/www/inst/rhel6 on the network server can be accessed as http://network.server.com/inst/rhel6.
/location/of/disk/space. The directory that will be made publicly available via FTP, NFS, or HTTP will be specified as /publicly/available/directory. For example, /location/of/disk/space may be a directory you create called /var/isos. /publicly/available/directory might be /var/www/html/rhel6, for an HTTP install.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
install.img file, and optionally the product.img file available on the network server via NFS.
mv /location/of/disk/space/RHEL6.iso /publicly/available/directory/$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 23.17, “Package Group Selection”).
/publicly/available/directory directory is exported via NFS via an entry in /etc/exports on the network server.
/publicly/available/directory client.ip.address (ro)/publicly/available/directory * (ro)/sbin/service nfs start). If NFS is already running, reload the configuration file (on a Red Hat Enterprise Linux system use /sbin/service nfs reload).
boot: prompt:
linux mediacheckinstall.img file extracted from the ISO image. With these files present on a hard drive, you can choose as the installation source when you boot the installation program.
install.img file extracted from the ISO image.
product.img file extracted from the ISO image.
dd if=/dev/dvd of=/location/of/disk/space/RHEL6.isodvd refers to your DVD drive device.
$ sha256sum name_of_image.isoname_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
images/ directory within the ISO file to a directory named images/. Enter the following commands:
mount -t iso9660 /path/to/RHEL6.iso /mnt/point -o loop,ro
cp -pr /mnt/point/images /path/images/
umount /mnt/pointimages/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 23.17, “Package Group Selection”).
mediacheck parameter to your parameter file (refer to Section 26.7, “Miscellaneous parameters”).
/mnt, and you do not need to preserve an existing boot record.
zipl -V -t /mnt/ -i /mnt/images/kernel.img -r /mnt/images/initrd.img -p /mnt/images/generic.prmzipl.conf).
logon user hereuser with the name
of the z/VM guest virtual machine. Depending on whether an external
security manager, for example RACF, is used, the logon command might
vary.
#cp ipl cmsquery diskcp query virtual storageosahsilcscp query virtual osacp query virtual dasdcp query virtual fcpcp link tcpmaint 592 592
acc 592 fmfm with any FILEMODE letter.
ftp hosthost is the hostname or IP address of the FTP server that hosts the boot images (kernel.img and initrd.img).
(repl option if you are overwriting existing kernel.img, initrd.img, generic.prm, or redhat.exec files:
cd/location/of/install-tree/images/asciiget generic.prm (replget redhat.exec (repllocsite fix 80binaryget kernel.img (replget initrd.img (replquit
filelist to show the received files and their format. It is important that kernel.img and initrd.img have a fixed record length format denoted by F in the Format column and a record length of 80 in the Lrecl column. For example:
VMUSER FILELIST A0 V 169 Trunc=169 Size=6 Line=1 Col=1 Alt=0Cmd Filename Filetype Fm Format Lrecl Records Blocks Date TimeREDHAT EXEC B1 V 22 1 1 4/15/10 9:30:40GENERIC PRM B1 V 44 1 1 4/15/10 9:30:32INITRD IMG B1 F 80 118545 2316 4/15/10 9:30:25KERNEL IMG B1 F 80 74541 912 4/15/10 9:30:17
filelist and return to the CMS prompt.
redhat.exec to boot (IPL) the installer:
redhatcp ipl DASD device number loadparm boot_entry_numberDASD device number with the device number of the boot device, and boot_entry_number with the zipl configuration menu for this device. For example:
cp ipl eb1c loadparm 0cp set loaddev portname WWPN lun LUN bootprog boot_entry_numberWWPN with the WWPN of the storage system and LUN with the LUN of the disk. The 16-digit hexadecimal numbers must be split into two pairs of eight digits each. For example:
cp set loaddev portname 50050763 050b073d lun 40204011 00000000 bootprog 0query loaddevcp ipl FCP_device cp ipl fc001 for the boot entry on the Red Hat Enterprise Linux for System z DVD. Use a command of the following form:
cp set loaddev portname WWPN lun FCP_LUN bootprog 1WWPN with the WWPN of the FCP-to-SCSI bridge and FCP_LUN
with the LUN of the DVD drive. The 16-digit hexadecimal numbers must be
split into two pairs of eight characters each. For example:
cp set loaddev portname 20010060 eb1c0103 lun 00010000 00000000 bootprog 1cp query loaddevcp ipl FCP_devicecp ipl fc00SYSPROG user is recommended.
generic.ins and click Continue.
generic.ins then click Continue.
Normal as the Load type.
SCSI as the Load type.
0 and the Operating system specific load parameters empty.
SCSI as the Load type.
1 to select the boot entry on the Red Hat Enterprise Linux for System z DVD.
0 and the Operating system specific load parameters empty.
generic.prm),
you will be asked questions about your network. It is a good idea to
have your data ready in the form of a datasheet or similar. If you want
to automate this step, supply the information for each option in your
parameter file or CMS configuration file.
Starting the zSeries initrd to configure networking. Version is 1.2Starting udev...
cio_ignore kernel parameter used. If no devices are found because of cio_ignore,
as in the example below, you can clear the list of ignored devices.
Note that this might take some time and result in a long list when there
are many devices, such as on an LPAR.
Scanning for available network devices...Autodetection found 0 devices.Note: There is a device blacklist active! (Clearing might take long)c) clear blacklist, m) manual config, r) rescan, s) shell:cClearing device blacklist...Scanning for available network devices...Autodetection found 14 devices.NUM CARD CU CHPID TYPE DRIVER IF DEVICES1 OSA (QDIO) 1731/01 00 OSD qeth eth 0.0.f500,0.0.f501,0.0.f5022 OSA (QDIO) 1731/01 01 OSD qeth eth 0.0.f503,0.0.f504,0.0.f5053 OSA (QDIO) 1731/01 02 OSD qeth eth 0.0.1010,0.0.1011,0.0.10124 HiperSockets 1731/05 03 IQD qeth hsi 0.0.1013,0.0.1014,0.0.10155 OSA (QDIO) 1731/01 04 OSD qeth eth 0.0.1017,0.0.1018,0.0.10196 CTC adapter 3088/08 12 ? ctcm ctc 0.0.1000,0.0.10017 escon channel 3088/1f 12 ? ctcm ctc 0.0.1002,0.0.10038 ficon channel 3088/1e 12 ? ctcm ctc 0.0.1004,0.0.10059 OSA (QDIO) 1731/01 76 OSD qeth eth 0.0.f5f0,0.0.f5f1,0.0.f5f210 LCS OSA 3088/60 8a OSE lcs eth 0.0.1240,0.0.124111 HiperSockets 1731/05 fb IQD qeth hsi 0.0.8024,0.0.8025,0.0.802612 HiperSockets 1731/05 fc IQD qeth hsi 0.0.8124,0.0.8125,0.0.812613 HiperSockets 1731/05 fd IQD qeth hsi 0.0.8224,0.0.8225,0.0.822614 HiperSockets 1731/05 fe IQD qeth hsi 0.0.8324,0.0.8325,0.0.8326<num>) use config, m) manual config, r) rescan, s) shell:
m* NOTE: To enter default or empty values press enter twice. *Network type (qeth, lcs, ctc, ? for help). Default is qeth:qethRead,write,data channel (e.g. 0.0.0300,0.0.0301,0.0.0302 or ? for help).0.0.f5f0,0.0.f5f1,0.0.f5f2Portname (1..8 characters, or ? for help). Default is no portname:Relative port number for OSA (0, 1, or ? for help). Default is 0:Layer mode (0 for layer3, 1 for layer2, or ? for help). Default is 1:Activating network device...Detected: OSA card in OSD mode, Gigabit EthernetUnique MAC address (e.g. 02:00:00:00:00:00, ? for help). Default is 02:00:00:AB:C9:81:
Hostname of your new Linux guest (FQDN e.g. s390.redhat.com or ? for help):host.subdomain.domainIPv4 address / IPv6 addr. (e.g. 10.0.0.2 / 2001:0DB8:: or ? for help)10.0.0.42IPv4 netmask or CIDR prefix (e.g. 255.255.255.0 or 1..32 or ? for help). Default is 255.0.0.0:24IPv4 address of your default gateway or ? for help:10.0.0.1Trying to reach gateway 10.0.0.1...IPv4 addresses of DNS servers (separated by colons ':' or ? for help):10.1.2.3:10.3.2.1Trying to reach DNS servers...DNS search domains (separated by colons ':' or ? for help):subdomain.domain:domainDASD range (e.g. 200-203,205 or ? for help). Default is autoprobing:eb1cActivated DASDs:0.0.eb1c(ECKD) dasda : active, blocksize: 4096, 1803060 blocks, 7043 MB
none. This satisfies the requirement for a defined DASD parameter, while resulting in a SCSI-only environment.
none, you receive an error message such as:
Incorrect format for lower bound of DASD range none: noneIncorrect ... (<OPTION-NAME>):0) redo this parameter, 1) continue, 2) restart dialog, 3) halt, 4) shell
Network type0) default is previous "qeth", 1) new value, ?) help
Initial configuration completed:
Initial configuration completed.c) continue, p) parm file/configuration, n) network state, r) restart, s) shell
neth0 Link encap:Ethernet HWaddr 02:00:00:AB:C9:81inet addr:10.0.0.42 Bcast:10.0.0.255 Mask:255.255.255.0UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1RX packets:64 errors:0 dropped:0 overruns:0 frame:0TX packets:4 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:3334 (3.2 KiB) TX bytes:336 (336.0 b)lo Link encap:Local Loopbackinet addr:127.0.0.1 Mask:255.0.0.0UP LOOPBACK RUNNING MTU:16436 Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth00.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0c) continue, p) parm file/configuration, n) network state, r) restart, s) shell
pNETTYPE=qethIPADDR=10.0.0.42NETMASK=255.255.255.0GATEWAY=10.0.0.1HOSTNAME=host.subdomain.domainSUBCHANNELS=0.0.f5f0,0.0.f5f1,0.0.f5f2LAYER2=1MACADDR=02:00:00:AB:C9:81PORTNAME=OSAPORTDNS=10.1.2.3:10.3.2.1SEARCHDNS=subdomain.domain:domainDASD=eb1cc) continue, p) parm file/configuration, n) network state, r) restart, s) shell
cStarting sshd to allow login over the network.Connect now to 10.0.0.42 and log in as user install to start the installation.E.g. using: ssh -x install@10.0.0.42You may log in as the root user to start an interactive shell.
RUNKS=1 with kickstart and cmdline mode, linuxrc automatically starts the loader.
root
to get a root shell without automatically starting the installer. For
problem determination, you might connect with many ssh sessions.
generic.prm)
the loader program to select language and installation source starts in
text mode. In your new ssh session, the following message is displayed:
Welcome to the anaconda install environment 1.2 for zSeriescmdline option was specified as boot option in your parameter file (Section 26.6, “Parameters for kickstart installations”) or in your kickstart file (refer to Section 32.3, “Creating the Kickstart File”,
the loader starts up with line-mode oriented text output. In this mode,
all necessary information must be provided in the kickstart file. The
installer does not allow user interaction and stops if there is
unspecified installation information.


lang= (refer to Section 26.5, “Loader parameters”) or with the kickstart command lang (refer to Section 28.4, “Automating the Installation with Kickstart”).


repo=hd boot option, you already specified a partition.

/dev/dasd. Each individual drive has its own letter, for example /dev/dasda or /dev/sda. Each partition on a drive is numbered, for example /dev/dasda1 or /dev/sda1.
| File system | Mount point | Original path to files | Directory to use |
|---|---|---|---|
| ext2, ext3, ext4 | /home | /home/user1/RHEL6 | /user1/RHEL6 |
/.
If the ISO images are located in a subdirectory of a mounted partition,
enter the name of the directory holding the ISO images within that
partition. For example, if the partition on which the ISO images is
normally mounted as /home/, and the images are in /home/new/, you would enter /new/.
repo=nfs boot option, you already specified a server and path.
eastcoast in the domain example.com, enter eastcoast.example.com in the NFS Server field.
/export/directory/.
mount and nfs for a comprehensive list of options.

http:// or ftp:// as the protocol.
repo=ftp or repo=http boot option, you already specified a server and path.
/images directory for your architecture. For example:
/mirrors/redhat/rhel-6/Server/s390x/
{ftp|http}://<user>:<password>@<hostname>[:<port>]/<directory>/
http://install:rhel6pw@name.example.com/mirrors/redhat/rhel-6/Server/s390x/


cmdline option was specified as boot option in your parameter file (Refer to Section 26.6, “Parameters for kickstart installations”) or in your kickstart file (refer to Chapter 32, Kickstart Installations), anaconda
starts with line-mode oriented text output. In this mode, all necessary
information must be provided in the kickstart file. The installer will
not allow user interaction and stops if there is unspecified
installation information.
X key command combination as a way of clicking on buttons or making other screen selections, where X is replaced with any underlined letter appearing within that screen.
display= variable and do not use X11 forwarding, anaconda gives you the choice of starting VNC or text mode.









/etc/fstab file.

zerombr. Refer to Chapter 32, Kickstart Installations for more details.



none as the parameter interactively during phase 1 of an interactive installation, or add DASD=none
in the parameter or CMS configuration file. This satisfies the
requirement for a defined DASD parameter, while resulting in a SCSI-only
environment.
none, you receive an error message such as:
Incorrect format for lower bound of DASD range none: nonehostname.domainname or as a short host name in the format hostname. Many networks have a Dynamic Host Configuration Protocol
(DHCP) service that automatically supplies connected systems with a
domain name. To allow the DHCP service to assign the domain name to this
machine, specify the short host name only.
localhost.localdomain to a unique hostname for each of your Linux instances.

system-config-network command in a shell prompt to launch the Network Administration Tool. If you are not root, it prompts you for the root password to continue.

eth0 (OSA, LCS), or hsi0
(HiperSockets). Note that on System z you cannot add a new
connection here. To modify an existing connection, select a row in the
list and click the button. A dialog box appears with a set of tabs appropriate to wired connections, as described below.


IPADDR, NETMASK, GATEWAY, DNS, SEARCHDNS (Refer to Section 26.3, “Installation network parameters”).





system-config-date command in a shell prompt to launch the Time and Date Properties Tool. If you are not root, it prompts you for the root password to continue.
timeconfig.

su
command to change to root only when you need to perform tasks that
require superuser authorization. These basic rules minimize the changes
of a typo or an incorrect command doing damage to your system.
su - at the shell prompt in a terminal window and then press Enter. Then, enter the root password and press Enter.
system-config-users command in a shell prompt to launch the User Manager, a powerful user management and configuration tool. If you are not root, it prompts you for the root password to continue.
root password into the Root Password field. Red Hat Enterprise Linux displays the characters as asterisks for security. Type the same password into the Confirm field to ensure it is set correctly. After you set the root password, select to proceed.

/boot directory, which is determined later on during partitioning.


clearpart --initlabel (refer to Chapter 32, Kickstart Installations)
/home partition and perform a fresh installation. For more information on partitions and how to set them up, refer to Section 9.12, “Disk Partitioning Setup”.
rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txtsu -c 'tar czf /tmp/etc-`date +%F`.tar.gz /etc'
su -c 'mv /tmp/etc-*.tar.gz /home'/home
directory as well as content from services such as an Apache, FTP, or
SQL server, or a source code management system. Although upgrades are
not destructive, if you perform one improperly there is a small
possibility of data loss.
/home directory. If your /home directory is not a separate partition, you should not follow these examples verbatim! Store your backups on another device such as CD or DVD discs or an external hard disk.
/home partition that persistently contains user information).

/boot partition. Refer to Appendix C, Disk Encryption for information on encryption.


dasdb; dasda was assigned to the CMSDASD and this name is no longer available at this point in the installation process.
physical volume (LVM), or part of a software RAID
/boot.
The kernel files and bootloader sector will be associated with this
device. The first DASD or SCSI LUN will be used, and the device number
will be used when re-IPLing the post-installed system.


/; enter /boot for the /boot
partition, and so on. You can also use the pull-down menu to choose the
correct mount point for your partition. For a swap partition the mount
point should not be set — setting the filesystem type to swap is sufficient.
fsck [11] the file system.
btrfs. Refer to Chapter 28, Boot Options for instructions.
software RAID


md0 to md15.

lvm command.
physical volume (LVM)






repodata.

