LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-23-2012, 11:34 AM   #1
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Rep: Reputation: 36
centos pxe install fails


I'm trying to install Centos over PXE. I downloaded the Centos 6.2 PXE boot stuff, and it boots fine and starts the installer.

I'm using the URL method for the packages, and have tried a couple different mirrors.

Each time, it goes fine until it starts installing packages, and then I get this error:
Code:
The file iputils-20071127-16.el16.i686.rpm cannot be opened.  This is due to a missing file, a corrupt package or corrupt media.  Please verify your installation source.
It gives me the option to reboot or retry. Retry results in the same message, of course, and rebooting doesn't work (probably it hasn't installed the bootloader yet).

Here's my PXE config, FWIW:

Code:
##CENTOS##

label centos
MENU LABEL Centos Installer
     kernel centos/vmlinuz
     append initrd=centos/initrd.img ramdisk_size=100000 ksdevice=eth0 ip=dhcp method=http://www.gtlib.gatech.edu/pub/centos/6.2/os/i386/
 
Old 05-24-2012, 12:18 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If you browse http://www.gtlib.gatech.edu/pub/centos/6.2/os/i386/ does the package actually exist?
 
Old 05-24-2012, 04:50 PM   #3
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
Yes, and I can download it in the browser.
 
Old 05-25-2012, 01:50 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If you switch to one of the other terminals (Alt+F3 .. can't remember which one exactly) you may be able to see whether the host gets an ip address and dns server from dhcp.
 
Old 05-29-2012, 03:19 PM   #5
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
I clicked over to the VT this time, and see the error:
Code:
try 1/10 for http://www.gtlib.gatech.edu/pub/centos/6.2/os/i386/Packages/iputils-20071127-16.el6.i686.rpm failed: [Errno 14] Downloaded more than the max size for http://www.gtlib.gatech.edu/pub/centos/6.2/os/i386/Packages/iputils-20071127-16.el6.i686.rpm: 19816 > 17488
Is there a max filesize for downloading?
 
Old 05-29-2012, 03:37 PM   #6
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
I switched to a third mirror and get the same error (different URL, of course, but same error with the same numbers on the same package).
 
Old 05-29-2012, 09:20 PM   #7
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
There seems to be a size limitation being imposed on you, do you have a firewall or proxy ?
 
Old 05-29-2012, 11:28 PM   #8
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
There's no size limit on our network; after all, the file in question is only ~120kb! Here's some weird stuff, too:

- I dropped over to tty2 and downloaded the iputils rpm with wget. No problems. Just to see what would happen, I copied it to the anaconda folder.

- Now, there isn't an error with iputils any more. I get the same error with the sudo package instead! Even if I reboot and start a new install from scratch, I get the error with sudo, not iputils.

I don't get it. I googled the error and all I could find was some references to a mismatched python version, but I double checked that my netboot files are from the exact same repository that I'm pointing to for install. Same thing happens each time.
 
Old 07-27-2012, 10:17 AM   #9
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
I decided to retry this after a couple of months away, this time using a netinstall CD (version 6.3) and using the mirror at centos.org.

I'm getting the exact same error. Am I really the only one having this issue?
 
Old 07-27-2012, 09:19 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
dose the standard 32 bit CentOS 6 install
you will only get 3.3 Gig of the 4 gig MAX on 32 bit hardware
 
Old 07-28-2012, 04:31 PM   #11
lykwydchykyn
Member
 
Registered: Mar 2006
Location: Tennessee, USA
Distribution: Debian, Ubuntu
Posts: 135

Original Poster
Rep: Reputation: 36
What? This machine only has 512 MB. What does that have to do with my error?
 
Old 07-28-2012, 06:28 PM   #12
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If you're not opposed to change, can I suggest installing cobbler instead of rolling your own pxe setup? .. I use it everywhere, feature-wise:

- manage dns and dhcp (optional)
- import a distro from dvd
- create custom repos
- create profiles with kickstarts attached

..basically it saves a lot of troubleshooting. I have a cobbler vm on my machine so I can spin up a new linux vm in 5 minutes then destroy it when I'm finished.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox PXE Boot CentOs 64bit Client install hangs after Dquot-cache spook2 Linux - Enterprise 5 02-20-2012 06:46 AM
Using a kickstart with a 2 dvd CentOS 6 install fails quasi3 Linux - General 6 11-15-2011 11:10 AM
PyQt4 fails install on CentOs Poopzilla Linux - Software 3 01-06-2010 11:40 AM
centos 5 PXE install server w/kickstart issues swanyjim Linux - Server 10 09-01-2009 01:57 AM
PXE ubuntu install - Isolated lan fails trying to go to mirror bkrocker Ubuntu 0 09-10-2008 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration