LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-30-2011, 10:28 PM   #1
shizzles
LQ Newbie
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu Server & Debian 6
Posts: 23

Rep: Reputation: 1
Question PXE Install Failing.


So I was able to get pxe/tftp running, now the device boot, gets an ip address, it loads the vmlinuz and the initrd but that's as far as it goes. After loading the initrd says "ready" and stops responding.



Any help would be appreciated. Also there is no vid card on this device so I cannot load a CD/DVD since all start with some sort of a graphical option (even to get into text mode).


I'm using CentOS as my PXE/DHCP/TFTP server


## /tftpboot/default ##

default menu.c32
prompt 0
timeout 1

MENU TITLE PXE Menu
LABEL CentOS5.5x32
MENU LABEL CentOS5.5x32
KERNEL images/vmlinuz
append initrd=images/initrd.img ramdisk_size=10000 text serial ks=http://172.16.2.15/centos/ks.cfg text

## END FILE ##

## KS.CFG ##

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use network installation
url --url=http://172.16.2.15/centos
# Network information
network --bootproto=dhcp --onboot=on
# Reboot after installation
reboot
#Root password
rootpw --iscrypted something_here

# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone America/Chicago
# Install OS instead of upgrade
install
# Disk partitioning information
part swap --bytes-per-inode=4096 --fstype="swap" --recommended
part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1

%packages
@base
@mysql
@admin-tools
@web-server
@system-tools
@text-internet
@editors

## END FILE ##


I used ngrep to monitor traffic for the ip address of the device, I DO see it "wget" the ks.cfg file but nothing is displayed on screen and I let it sit there for about 20 minutes after but still nothing.

Any help would be appreciated.

FYI - The device is a barebone device (no vid card AT ALL) only way is to use serial cable to connect to it.

Thanks again.

Last edited by shizzles; 01-30-2011 at 10:31 PM. Reason: adding ks.cfg file detail
 
Old 01-31-2011, 08:51 AM   #2
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
Quote:
it loads the vmlinuz and the initrd but that's as far as it goes. After loading the initrd says "ready" and stops responding.
Where are you getting that information from? If you do not have a monitor connected to the device you are kickstarting...
 
Old 01-31-2011, 10:05 AM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Can you check on the server, whether the file was delivered? You setup a daemon to answer the http request on the server?
 
Old 01-31-2011, 10:33 AM   #4
shizzles
LQ Newbie
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu Server & Debian 6
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jwl17330536 View Post
Where are you getting that information from? If you do not have a monitor connected to the device you are kickstarting...
I have a serial cable connect to the device.


Quote:
Originally Posted by Reuti View Post
Can you check on the server, whether the file was delivered? You setup a daemon to answer the http request on the server?
On the kickstart server, I can see the request on the access_log for Apache and it delivering it successfully. Also I have a ngrep session on the ks_server which confirms that the ks.cfg is being transmitted to the ks_client

Last edited by shizzles; 01-31-2011 at 12:19 PM. Reason: added more info
 
  


Reply

Tags
pxeboot



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
PXE Install Skillz Linux - Server 3 09-01-2010 11:29 PM
pxe kickstart redhat install + vnc/smilar during install fishjohn Linux - Server 1 04-24-2010 09:22 AM
PXE install AroundMyHorn Linux - Server 2 02-27-2008 03:51 PM
Help how to install PXE ciquey27 Linux - Newbie 1 03-27-2006 08:47 PM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:06 AM.

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