Bug 113395 - RHAS 3.0 Kickstart install via nfs fails
RHAS 3.0 Kickstart install via nfs fails
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: anaconda (Show other bugs)
3.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-13 10:25 EST by Enrico Gherardo
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-01-13 15:48:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Gherardo 2004-01-13 10:25:17 EST
I've a problem with kickstart installation in RH AS 3.0
 
Usually i do it via NFS between two machines, 1 Nfs server with the 
install tree exported, and 1 client to be installed.
The two machines are wired each other with a cross-cable link, with 
static ip addresses.
I start the install with a customized boot floppy disk containing the 
kickstart file, ks.cfg.
 
This "undocumented" method, that don't use dhcp addressing, works 
fine with  RH AS 2.1, but with the newer version i got some errors.
 
At the mount of the nfs export, i got the following message :
 
On Virtual console 1 :
    "The directory could not be mounted from the server"
 
Anaconda display a dialog to enter nfs server ip address and nfs 
path ; simply accepting what's already contained in dialog (and in 
ks.cfg), forces the completion of the step and the continuation of 
the installation.
 
At the end of packages installation, during final steps but BEFORE 
post-install phase, anaconda terminates with the following messages :
 
On Virtual console 1 :
    Install exited abnormally
    Sending kill signals
 
On Virtual console 4 :
    Error -3 while decompressing....    (repeated many times)
 
This happens when in VC 3 kickstart signaled :
    Writing XConfig
 
and sometimes also during the installation of grub :
    Grub command : root (hd0,0)
    ...
    ...
 
In the last case, the installed system remains in a unbootable state, 
in the first case the server boots and asks reconfiguration of X.
In both cases, the post-install customization isn't executed.
 
I checked the integrity of rpm packages contained in exported install 
tree, but no problem arises.
I don't understand what's suggested from messages "Error -3 while 
decompressing..."
Any idea to fix the problem ?
 
TIA
Enrico Gherardo
 
######################################################################
##############################################
 
 
Nfs settings used :
 
Nfs server = 10.0.0.131
Nfs client = 10.0.0.132
subnet mask = 255.255.255.128
export = /deplinux/RHAS30 (that contains all install tree RedHat/base 
and RPMS)
 
 
Follows the ks.cfg file used in the kickstart install :
    
#
# Kickstart installation for OS RHAS30
#
install
text
lang en_US
langsupport en_US
keyboard it
mouse --emulthree genericps/2
timezone Europe/Rome
rootpw XXXXXXX
auth  --useshadow  --enablemd5
firewall --disabled
 
#
# HW: Compaq DL 380 G3 
#
# NIC driver
#
device eth tg3
#
# XConfig for Compaq DL380
#
xconfig --depth=16 --resolution=800x600  --defaultdesktop=KDE
#
# Disk Configuration 
#
zerombr yes
bootloader --location=mbr 
clearpart --all --initlabel 
part /boot --fstype ext3 --size=1 --grow --ondisk=cciss/c0d0 --
asprimary
part swap --size=1 --grow --ondisk=cciss/c0d1 --asprimary
part / --fstype ext3 --size=1 --grow --ondisk=cciss/c0d2 --asprimary
part /usr --fstype ext3 --size=1 --grow --ondisk=cciss/c0d3 --
asprimary
part /var --fstype ext3 --size=1 --grow --ondisk=cciss/c0d4
part pv.01 --size=1 --grow --ondisk=cciss/c0d5
volgroup vg01 pv.01
#
# NFS Image
#
nfs --server=10.0.0.131 --dir=/deplinux/RHAS30
network --bootproto=static --ip=10.0.0.132 --netmask=255.255.255.128 -
-hostname=rhas31 --device=eth0
#
# General install
#
%packages --resolvedeps
@ X Window System
@ KDE Desktop Environment
@ Graphical Internet
@ Editors
@ Server Configuration Tools
@ Development Tools
@ Kernel Development
@ X Software Development
@ KDE Software Development
@ Administration Tools
@ System Tools
@ Compatibility Arch Support
@ Compatibility Arch Development Support
@ Legacy Software Support
rsh-server
#
%post
#
#
# Default post-install for OS : RHAS30
#

 
...
...
Several unexecuted lines follows....
...
...
Comment 1 Jeremy Katz 2004-01-13 15:48:51 EST
This isn't supported.  Use the (also unsupported, but more likely to
work :) ip=, etc options mentioned in the command-line.txt document in
the anaconda package to set up static IP and do that way.

Note You need to log in before you can comment on or make changes to this bug.