Centos/rhel install problem
-
Realize that tftp and nfs have two different base paths. For tftp its /tftpboot and for nfs its /images. Do you have the repository files in the correct location?
-
@george1421 said in Centos/rhel install problem:
Realize that tftp and nfs have two different base paths. For tftp its /tftpboot and for nfs its /images. Do you have the repository files in the correct location?
It looks like i have the correct repository location.
I can connect to the nfs share from my macbook.
Which will show these contents:
-
@rockinhc said in Centos/rhel install problem:
kernel tftp://${fog-ip}/os/centos7-dvd/vmlinuz
initrd tftp://${fog-ip}/os/centos7-dvd/initrd.img
imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/os/centos7-dvd/LiveOS/squashfs.img ip=dhcp repo=nfs://${fog-ip}/images/os/centos7-dvd splash quiet
boot || goto MENUAh I think I see it.
First I’m still questioning the root= live: nfs:// bit. But nfs paths have a colon after the host name.
so
root=live:nfs://${fog-ip}/images/os/centos7-dvd/LiveOS/squashfs.img
should be written as:
root=live:nfs://${fog-ip}:/images/os/centos7-dvd/LiveOS
/squashfs.imgand
repo=nfs://${fog-ip}/images/os/centos7-dvdshould be
repo=nfs://${fog-ip}:/images/os/centos7-dvd -
@george1421
Nice catch! I did miss that but it’s still not working…
-
@rockinhc Please click the “INSTALLATION SOURCE” button, take another picture of the settings and post here.
According to this website the boot option is not
repo=...
butinst.repo=nfs:[options:]server:/path
! -
So the setup per redhat documentation:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-optionsIn particular, remove the
//
as the installer documentation shows it’s not to be set with nfs://inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
-
@Sebastian-Roth said in Centos/rhel install problem:
According to this website the boot option is not repo=… but inst.repo=nfs:[options:]server:/path!
You know I really wonder where I got that imgargs line from? Its complicated enough I just didn’t make it up. I searched last night but I couldn’t find a good example of netbooting centos 7.
-
@Tom-Elliott said in Centos/rhel install problem:
So the setup per redhat documentation:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-optionsIn particular, remove the
//
as the installer documentation shows it’s not to be set with nfs://inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
Thank you George/Sebastian/Tom! This worked
inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
That’s strange since this is different from the instructions from link text
-
@rockinhc At one time, maybe the nfs:// worked fine, but it’s since been deprecated and as a part of that, i imagine when @george1421 created that article, the OS version wasn’t at the version it is now. Even though it’s still CentOS 7, its incremental upgrades may have removed the deprecated options as well.
-
@rockinhc The tutorial has been updated to reflect the currently in use kernel options. Thank you for the feedback.