Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-10-2009, 01:42 PM
|
#1
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Rep:
|
Install CentOS from NFS-share
I have setup an NFS-share :
Code:
[root@jocan usr]# showmount -e
Export list for nfs.jocan.local:
/var/install *
Portmap and nfs are running.
When trying to install a CentOS-server over the network from the NFS-share, the installation stalls...
The output on alt-F3 is :
Code:
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
But the installation does not continue... Now after waiting 15 minutes.
And according to the RHCE prep guide, this should be the fastest way of installing RedHat/CentOS.
What is failing ?
EDIT : some new information on the prompt :
Code:
<4> Unable to identify CD-ROM format
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying
Last edited by jonaskellens; 11-10-2009 at 01:45 PM.
|
|
|
11-10-2009, 04:25 PM
|
#2
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
Assuming that nfs.jocan.local resolves to 192.168.1.250, can you please boot off a live cd and attempt to mount the nfs share ?
cheers
|
|
|
11-10-2009, 05:07 PM
|
#3
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Original Poster
Rep:
|
Quote:
Originally Posted by kbp
Assuming that nfs.jocan.local resolves to 192.168.1.250, can you please boot off a live cd and attempt to mount the nfs share ?
cheers
|
Why would there be a need to resolve nfs.jocan.local ? I gave the IP-address of the nfs-server, so there would not have to be a resolving-issue (although I have a DNS-server).
It is clear that my server is trying to contact 192.168.1.250 directly.
|
|
|
11-10-2009, 07:49 PM
|
#4
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
I wasn't suggesting that name resolution was required... in one section you show that you are exporting from nfs.jocan.local and in another you show connection attempts to 192.168.1.250, it was not clear that they were the same host
Have you attempted to mount the share from a live cd yet ?
cheers
|
|
|
11-11-2009, 04:07 AM
|
#5
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Original Poster
Rep:
|
Quote:
Originally Posted by kbp
Have you attempted to mount the share from a live cd yet ?
|
From live-cd :
Code:
[root@localhost centos]# mount 192.168.1.250:/var/install /mnt
works like a charm. No problem at all.
SElinux on the NFS-server is permissive, iptables is up but not blocking any internal traffic.
The NFS-share on 192.168.1.250 (/var/install/) contains the installation cd's of CentOS. Copied them all with "cp -var" to this directory.
Any ideas ?
|
|
|
11-11-2009, 06:56 AM
|
#6
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
Can you check the hidden file '.discinfo' in the root of your share ? ... you may have overwritten it with the one from the last cd. It will need to be modified in any case otherwise the install will think not all the cd's are present, ensure yours matches as per the red text
Code:
1237647910.535193
Final
i386
1,2,3,4,5,6
CentOS/base
/home/buildcentos/CENTOS/5.3/en/i386/CentOS
CentOS/pixmaps
cheers
Last edited by kbp; 11-11-2009 at 06:58 AM.
Reason: 'hidden'
|
|
|
11-11-2009, 02:56 PM
|
#7
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Original Poster
Rep:
|
Quote:
Originally Posted by kbp
Can you check the hidden file '.discinfo' in the root of your share ?
|
I have not overwritten the .discinfo file. Would this be causing the error ? The only .discinfo that's present is this one of the first cd.
For all the other .discinfo-files I have answered 'no' when it was asked to overwrite the file.
What is the correct way to copy the installation cd's ?
|
|
|
11-11-2009, 08:07 PM
|
#8
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
The method you used was fine, the only difference between them is the 4th line which indicates the cd number. You need to modify yours as listed above so that the installation can use files from all the cd's
cheers
|
|
|
All times are GMT -5. The time now is 05:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|