Centos 7 netinstall issues

General support questions
Post Reply
dorun
Posts: 4
Joined: 2014/07/13 10:47:44

Centos 7 netinstall issues

Post by dorun » 2014/07/13 12:16:56

One of my new projects is flexible enough to allow me choose an os of my choice. This made me try the new release Centos 7.
I've downloaded and burned the centos binary dvd and discovered that the involved machine(dell poweredge 1950) has only a cdrom drive). I said why bother upgrading with a dvdrom, let me just try a netinstall.
I've downloaded and burned the netinstall. I've copied tyhe dvd content to a folder shared through apache.
When running the netinstall i've stumbled on two issues:
1) the worst issue is that whenever i try to fill in the source url(http://ipaddr/repo/centos/7.0/x86_64) ii is not recognized as a valid instalation repo. Not sure if this is normal and i should use a real repo rsynced from the original mirror. I've read that other users did same actions like me for centos 6.5, but i've never did a netinstall. I really want to avoid the installation via proxy.
2) the annoying issue is that whenever i boot the netinstall cd it will automatically default to a country for timezone, language pack and others... First it was English(Irish), then it was something from Fillipines(i think English). I'm able to change timezone and all to correct ones, however the installer will not allow me to uncheck the language pack he first decided to install... I'm not from US, but i prefer simple English(US) instalations and i see no point why i would be forced to install an additional random language pack, which i will remove after install.

Are these bugs of Centos 7?
Are these my bugs? Anyone seen them? Am i missing something?

User avatar
TrevorH
Forum Moderator
Posts: 29430
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 netinstall issues

Post by TrevorH » 2014/07/13 12:23:45

I usually loopback mount the DVD iso image and serve that via apache then you can point the installer at that. For example I have the iso on /var/www/html/mirrors/CentOS-7-x86_64 using mount -o loop,ro -t iso9660 /path/to/CentOS-7.0-1406-x86_64-DVD.iso /var/www/html/mirrors/CentOS-7-x86_64 then I point the installer to http://ip.ad.dr.ess/mirrors/CentOS-7-x86_64

The language used by the installer is set from the very first page that you see. I believe it does do some sort of autodetection but I do not know how that works (or doesn't, as the case may be!).
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
centminmod
Posts: 44
Joined: 2014/07/12 14:28:06
Location: Brisbane, Australia
Contact:

Re: Centos 7 netinstall issues

Post by centminmod » 2014/07/13 12:47:53

I found the same with CentOS 7 netinstall on a KVM based VPS server https://community.centminmod.com/thread ... erver.797/

You have to setup the network configuration settings and enable the adaptor first (Network & Hostnames) and then set the Installation Source url

dorun
Posts: 4
Joined: 2014/07/13 10:47:44

Re: Centos 7 netinstall issues

Post by dorun » 2014/07/13 14:03:42

TrevorH wrote:I usually loopback mount the DVD iso image and serve that via apache then you can point the installer at that. For example I have the iso on /var/www/html/mirrors/CentOS-7-x86_64 using mount -o loop,ro -t iso9660 /path/to/CentOS-7.0-1406-x86_64-DVD.iso /var/www/html/mirrors/CentOS-7-x86_64 then I point the installer to http://ip.ad.dr.ess/mirrors/CentOS-7-x86_64

The language used by the installer is set from the very first page that you see. I believe it does do some sort of autodetection but I do not know how that works (or doesn't, as the case may be!).
Well mounting the ISO as a loop mount should provide identical results with copying the ISO content... I preferred the simplicity of copying files, to have them for later installs(without altering the fstab). I'll try this also, but i have minimum hopes.

On the first screens it is selected English US and i confirm that, however on next page, i get some random selections... I'm on limited laboratory intranet with no dhcp. I guess this is just a randomize function. I would have understood if the same regional settings would have been chosen for each boot... but random?
centminmod wrote:I found the same with CentOS 7 netinstall on a KVM based VPS server https://community.centminmod.com/thread ... erver.797/

You have to setup the network configuration settings and enable the adaptor first (Network & Hostnames) and then set the Installation Source url
This is not the case, i've configured the network and activated it. The http url is accesible from other machines. Both servers are on the same subnet and ping works betwen them(i've switched tty and pinged to http server).

I guess tomorrow morning i'll use tcpdump.

User avatar
centminmod
Posts: 44
Joined: 2014/07/12 14:28:06
Location: Brisbane, Australia
Contact:

Re: Centos 7 netinstall issues

Post by centminmod » 2014/07/13 14:05:00

maybe that particular mirror isn't fully populated yet ? when i tested netinstall I had looked at a few listed centos 7 mirror source urls and some weren't fully populated

dorun
Posts: 4
Joined: 2014/07/13 10:47:44

Re: Centos 7 netinstall issues

Post by dorun » 2014/07/13 14:14:47

centminmod wrote:maybe that particular mirror isn't fully populated yet ? when i tested netinstall I had looked at a few listed centos 7 mirror source urls and some weren't fully populated
As mentioned in the previous post(and all replies) the repo is a copy of the binary dvd content. The binary DVD iso was verified against the md5 checksum after download. The only "special thing" is that i've mounted the iso on a win 7 machine and copied the content with winscp to the linux+apache machine.

User avatar
centminmod
Posts: 44
Joined: 2014/07/12 14:28:06
Location: Brisbane, Australia
Contact:

Re: Centos 7 netinstall issues

Post by centminmod » 2014/07/13 15:00:07

yeah i haven't tried your way, so not sure if you have a few more steps to make it work

User avatar
TrevorH
Forum Moderator
Posts: 29430
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 netinstall issues

Post by TrevorH » 2014/07/13 16:54:31

One advantage of the loopback mount method is that it makes sure that all teh hidden but essential to the install files are present. If you copy the DVD with the wrong switches then you miss some of the files required to make it work which results in exactly the symptoms you report.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

dorun
Posts: 4
Joined: 2014/07/13 10:47:44

Re: Centos 7 netinstall issues

Post by dorun » 2014/07/15 21:00:40

As a final result:
I've did a restorecon on the entire web root deleted the copied files and made a loopback mount.
This worked perfectly.
I still don't really get the issue. The dvd content was previously copied with winscp directly from a mounted iso on windows. Windows wouldn't have missed files(like hidden ones, because it doesn't hide .* files). I've open the repo from a browser and i was able to see+download files. Switches and access rights would have affected only apache access to files. After that, apache would just deliver them through http.

The langauge selection error: i've rebooted the system once again and it decided to start with the selection of English.

I'm just glad i finished with this. Thanks for the advice, it really helped.

Post Reply

Return to “CentOS 7 - General Support”