LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems installing RH6 over network on VMware (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-rh6-over-network-on-vmware-905647/)

Chenchu 09-29-2011 01:07 PM

Problems installing RH6 over network on VMware
 
I've been trying to install a new vm-machine over the network, while the installation server is another vm-ware machine.

now I've checked with another virtual machine that the server ftp services is OK and even downloaded the ks.cfg file from the server.
but when I try to do a network installation, I get this error:

http://img192.imageshack.us/img192/8004/kserror.jpg

any clues? thanks in advance

kbp 09-29-2011 06:06 PM

I'm guessing that the boot image you're using might be corrupt... try a different copy of the media

Chenchu 09-29-2011 09:29 PM

Hmmm.. the media i'm using to install the guest machine is locally at /var/ftp/pub/inst

the thing is I also ran 'createrepo /var/ft/pub/inst/Package' and made it the repository for the server machine

is createrepo on the packages directory may be the problem?

kbp 09-29-2011 10:41 PM

Possibly, did you point it at the comps.xml (?I think) file when you did createrepo?

Chenchu 09-30-2011 04:08 AM

I've tried now to copy a fresh install of rhel 6, but again I get the same error. so It's not the CD (the cd works) and it's not the issue with the repository.

any more idea's what can it be?

EDIT: OK, now I've succeeded to use the remote installation server, but I can't get the ks.cfg to work.
I even created a new one with system-config-kickstart, but it always stuck on "Waiting for NetworkManager to configure eth0."

my ks.cfg file is available, I can download it with another virtual machine. Looks like just the installation can't find it..

kbp 09-30-2011 08:00 AM

Post the kickstart ...

Chenchu 09-30-2011 09:07 AM

Code:

# Kickstart file automatically generated by anaconda.

#version=RHEL6
install
url --url=ftp://192.168.0.6/pub/inst
lang en_US.UTF-8
keyboard us
network --bootproto=static --ip=192.168.0.115 --netmask=255.255.255.0 --gateway=192.168.0.115 --nameserver=192.168.0.6
rootpw  --iscrypted $6$oRePXL93jblQIiqO$euwWgOSpUSmuonScDFwz3gZ2u4UY4Wrxm.6C.nvc0Rnxbr.QfG4sIZZQ8zzwIRR6HsWcfFJxoVzC1XkqnVByf/
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --enforcing
timezone --utc Asia/Tel_Aviv
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --none --drives=sda

part /boot --fstype=ext4 --asprimary --size=100
part swap --size=2000
part /        --fstype=ext4        --asprimary --size=2000
#part pv.HZCXBo-4lZ3-Uf3V-63k5-o3rI-jfN1-xrBu8Z --grow --size=200

#volgroup vg_server --pesize=4096 pv.HZCXBo-4lZ3-Uf3V-63k5-o3rI-jfN1-xrBu8Z
#logvol / --fstype=ext4 --name=lv_root --vgname=vg_server --size=10000
repo --name="RedHat Ent. Linux"  --baseurl=ftp://192.168.0.6/pub/repo/ --cost=100

%packages
@base
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@perl-runtime
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@x11
mtools
pax
python-dmidecode
oddjob
sgpio
genisoimage
wodim
abrt-gui
certmonger
pam_krb5
krb5-workstation
nscd
pam_ldap
nss-pam-ldapd
libXmu
perl-DBD-SQLite
%end

It gets stuck at the beginning of the installation with an 'error configuring eth0' and a retry option.
I tried public my ks.cfg with http, and ftp, with no success.
I also can access the file from another virtual machine and the host machine.

kbp 10-02-2011 01:16 AM

Try changing the gateway and see if that works.

the_gripmaster 11-14-2011 12:34 AM

The thing to check would be if the network in which you are trying to install has that IP range. It seems like the kickstart is unable to assign and activate the NIC using that IP. Maybe you set the NIC of the VM to NAT. Maybe try bridged?


All times are GMT -5. The time now is 07:30 AM.