1 |
On Tue, 06 Nov 2007 10:06:30 -0500 |
2 |
sean <tech.junk@×××××××.net> wrote: |
3 |
|
4 |
> If it specifies |
5 |
> filename "/pxe/pxelinux.0"; it will start the boot but finally halts |
6 |
> stating cannot find kernel image: linux. |
7 |
> |
8 |
> If it specifies |
9 |
> filename "/lts/vmlinuz-2.6.17.8-ltsp-1"; then I get the NBP is to |
10 |
> large for memory error. |
11 |
|
12 |
Sean, |
13 |
You appear to be missing just a bit of the config. I _think_ |
14 |
this is all the relevant info from my dhcpd.conf: |
15 |
========================================================================= |
16 |
=== |
17 |
=== dhcpd.conf |
18 |
=== |
19 |
========================================================================= |
20 |
#don't actually know what these are for... |
21 |
option oe-key code 159 =string; |
22 |
option oe-gateway code 160 = ip-address; |
23 |
|
24 |
# tftp server: |
25 |
next-server 192.168.10.1; |
26 |
|
27 |
option space PXE; |
28 |
option PXE.mtftp-ip code 1 = ip-address; |
29 |
option PXE.mtftp-cport code 2 = unsigned integer 16; |
30 |
option PXE.mtftp-sport code 3 = unsigned integer 16; |
31 |
option PXE.mtftp-tmout code 4 = unsigned integer 8; |
32 |
option PXE.mtftp-delay code 5 = unsigned integer 8; |
33 |
option PXE.discovery-control code 6 = unsigned integer 8; |
34 |
option PXE.discovery-mcast-addr code 7 = ip-address; |
35 |
|
36 |
option option-150 code 150 = text ; |
37 |
|
38 |
zone spore.ath.cx. { |
39 |
primary 192.168.1.87; |
40 |
key rndc-key; |
41 |
} |
42 |
zone 1.168.192.in-addr.arpa. { |
43 |
primary 192.168.1.87; |
44 |
key rndc-key; |
45 |
} |
46 |
subnet 192.168.1.0 netmask 255.255.255.0 { |
47 |
range 192.168.1.101 192.168.1.199; |
48 |
option domain-name-servers 192.168.1.87, 192.168.1.1; |
49 |
option domain-name "spore.ath.cx"; |
50 |
ddns-domainname "spore.ath.cx"; |
51 |
option routers 192.168.1.1; |
52 |
option subnet-mask 255.255.255.0; |
53 |
option broadcast-address 192.168.1.255; |
54 |
one-lease-per-client on; |
55 |
update-static-leases on; |
56 |
# diskless client |
57 |
host davey{ |
58 |
hardware ethernet 00:01:03:20:AE:CF; |
59 |
fixed-address 192.168.1.1; |
60 |
option host-name "davey"; |
61 |
option routers none; |
62 |
DDNS-hostname "davey"; |
63 |
option PXE.mtftp-ip 192.168.1.87; |
64 |
filename "pxelinux.0"; |
65 |
} |
66 |
} |
67 |
============================================= |
68 |
=== |
69 |
=== in.tftp configuration: |
70 |
=== |
71 |
============================================= |
72 |
# /etc/init.d/in.tftpd |
73 |
|
74 |
# Path to server files from |
75 |
INTFTPD_PATH="/var/tftp" |
76 |
INTFTPD_USER="nobody" |
77 |
# For more options, see tftpd(8) |
78 |
#INTFTPD_OPTS="-l -v -s ${INTFTPD_PATH} -a 192.168.10.1" |
79 |
INTFTPD_OPTS="-u ${INTFTPD_USER} -l -vvvvvv -p -c -s ${INTFTPD_PATH} -a |
80 |
192.168.1.87" |
81 |
============================================== |
82 |
== |
83 |
== relevant contents of /var/ftp |
84 |
== |
85 |
============================================== |
86 |
|
87 |
/var/tftp/ |
88 |
/var/tftp/pxelinux.0 |
89 |
/var/tftp/pxelinux.cfg/ |
90 |
/var/tftp/pxelinux.cfg/01-00-01-03-20-ae-cf |
91 |
# you'll notice the config file is named for the mac |
92 |
# address, prepended by 01-, and with '-' instead of |
93 |
# ':', with all lower case. you could also use |
94 |
# 'default', if the same entry could be shared. |
95 |
/var/tftp/pxelinux.cfg/default |
96 |
/var/tftp/bzImage.davey |
97 |
|
98 |
============================================= |
99 |
== |
100 |
== 01-00-01-03-20-ae-cf |
101 |
== |
102 |
============================================= |
103 |
DEFAULT /bzImage.davey |
104 |
APPEND ip=dhcp root=/dev/nfs nfsroot=192.168.1.87:/diskless/davey |
105 |
|
106 |
============================================= |
107 |
|
108 |
|
109 |
|
110 |
I think that should help out a lot. |
111 |
|
112 |
-- |
113 |
gentoo-user@g.o mailing list |