RHEL 6 and 7 network installation

Latest response

Hi,
I would like to know if it's possible to use a RHEL7 as http repository to install a remote server with RHEL6 where is already installed RHEL7

I don't have any problems with the same version (repository and target server) but with different one I'm unable to start the installation.

This is the scenario:
Https server: RHEL7 installed with RHEL6 iso mounted.
Target: RHEL 7 installed but that should be reinstalled with RHEL6 via http.

After the network boot I got these errors:
dracut-initqueue ln failed to create symbolic link /run/initramsfs/livedev: file exists
dracut-initqueue ln failed to create symbolic link /dev/root: file exists

the network connection works fine between the hosts, I see the httpd logs.

thanks in advance

dracut-initqueue

Responses

Are you using kickstart? If so, what does your configuration look like?

yes I use kickstart loaded succesfully from web server: 172.28.35.243 - - [29/May/2018:07:48:04 +0000] "GET /netinstall/172.28.35.243/isomnt/.treeinfo HTTP/1.1" 200 276 172.28.35.243 - - [29/May/2018:07:48:04 +0000] "GET /netinstall/172.28.35.243/isomnt/images/install.img HTTP/1.1" 200 153079808 172.28.35.243 - - [29/May/2018:07:48:04 +0000] "GET /netinstall/172.28.35.243/isomnt/images/updates.img HTTP/1.1" 200 4511 172.28.35.243 - - [29/May/2018:07:48:04 +0000] "GET /netinstall/172.28.35.243/isomnt/images/product.img HTTP/1.1" 404 15 172.28.35.243 - - [29/May/2018:07:48:05 +0000] "GET /netinstall/172.28.35.243/ks.cfg HTTP/1.1" 200 3578 172.28.35.243 - - [29/May/2018:07:48:06 +0000] "GET /netinstall/172.28.35.243/isomnt/.treeinfo HTTP/1.1" 200 276 172.28.35.243 - - [29/May/2018:07:48:06 +0000] "GET /netinstall/172.28.35.243/isomnt/images/install.img HTTP/1.1" 200 153079808 172.28.35.243 - - [29/May/2018:07:48:06 +0000] "GET /netinstall/172.28.35.243/isomnt/images/updates.img HTTP/1.1" 200 4511 172.28.35.243 - - [29/May/2018:07:48:06 +0000] "GET /netinstall/172.28.35.243/isomnt/images/product.img HTTP/1.1" 404 15

and here my simple kickstart:

version=DEVEL System authorization information

auth –enableshadow –passalgo=sha512

Use CDROM installation media

cdrom

Use graphical install

graphical

Run the Setup Agent on first boot

firstboot –enable ignoredisk –only-use=sda

Keyboard layouts

keyboard –vckeymap=us –xlayouts=’us’

System language

lang en_US.UTF-8

Network information

network –bootproto=static –device=eth0 –gateway=x.x.x.x –ip=x.x.x.x –nameserver=x.x.x.x,x.x.x.x –netmask=x.x.x.x –ipv6=auto –activate network –hostname=rhel01

Root password

rootpw –iscrypted $6$fa

System services

services –disabled=”chronyd”

System timezone

timezone America/New_York –isUtc –nontp user –name=tuser –password=$6$zn

iscrypted –gecos=”Temporary User”

X Window System configuration information

xconfig –startxonboot

System bootloader configuration

bootloader –append=” crashkernel=auto” –location=mbr –boot-drive=sda

Partition clearing information

clearpart –all –initlabel –drives=sda

Disk partitioning information

part /boot –fstype=”xfs” –ondisk=sda –size=500 part swap –fstype=”swap” –ondisk=sda –size=4096 part pv.614 –fstype=”lvmpv” –ondisk=sda –size=46603 volgroup centos –pesize=4096 pv.614 logvol / –fstype=”xfs” –size=20480 –name=root –vgname=centos logvol /home –fstype=”xfs” –size=26120 –name=home –vgname=centos

%packages @^graphical-server-environment @base @core @desktop-debugging @dial-up @fonts @gnome-desktop @guest-agents @guest-desktop-agents @input-methods @internet-browser @multimedia @print-client @x11 kexec-tools

%end

%addon com_redhat_kdump –enable –reserve-mb=’auto’

%end

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.