Initial Linux Operating System and
Express Builder
Installation or Default Reinstallation
2-14
Express5800/
ftServer
: System Administrator’s Guide for the Linux Operating System
Avoiding CD-ROM Mount Command Failure After Disabling SELinux
During the installation of
Express Builder
, you choose whether to enable or disable
SELinux.
If
you choose to enable SELinux, and then disable SELinux at a later time,
the command to mount the CD-ROM device fails unless you edit the
/etc/fstab
file
to remove a parameter that is added to the file when you disable SELinux.
To allow the command to mount a CD-ROM to function properly, edit the
/etc/fstab
file.
On the
/dev/hda /media/cdr
ecorder
line, replace the following text:
fscontext=system_u:object_r:removable_t
with the following:
fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
When you disable SELinux, this parameter is added to the
/etc/fstab
file, which
causes the command to mount the CD-ROM to fail.
Reinstalling
Express Builder
After a Failed Installation
If the attempt to install
Express Builder
fails, before again trying to install it, perform the
following steps to uninstall the requisite files and attempt to reinstall
Express Builder
in
the
correct sequence.
1. Remove all NECAM packages except
eula_display
with this command:
rpm -e --nodeps --allmatches `rpm -qa | grep lsb-ft | grep
-v eula_display`
2. Remove
eula_display
with this command:
rpm -e --nodeps lsb-ft-eula_display
3. Reinstall
Express Builder
by mounting the CD and issuing the
install.sh
command.
If the system does not then reboot automatically, reboot the system manually.
Booting in Linux Rescue Mode
If the OS installation fails, whether or not
Express Builder
installed successfully, attempt to
boot the system in rescue mode. Use the Red Hat Enterprise Linux CD-ROM #1 to boot in
rescue mode.