You are not logged in.

#1 2007-12-08 02:37:17

varl
Member
Registered: 2007-06-07
Posts: 51

[SOLVED] PXE Booting Arch

Hi,

I'm having some troubles with PXE booting a computer and getting Arch on there. I would use the cd-rom drive, but it doesn't support booting, and the other drive does not work at all. So I'm kinda screwed.
I'm at a loss, every other time I boot the client it doesn't get an IP, and when it does, it goes into the tftp environment and can't find the configuration files.

I've tried the PXE wiki on arch, but that one leaves alot to be desired, and this one:
http://www.linux-sxs.org/internet_serving/pxeboot.html
But I can get neither to work.

I searched around this forum and added tftpd to hosts.allow, so that doesn't seem to be the problem. I chmodded /var/tftpboot to 777, etc.
I can't find anything about tftpd in the logs either.

dhcpd.conf:

ddns-update-style interim;
ignore client-updates;
#authorative;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.254;
default-lease-time 3600;
max-lease-time 4800;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name "llama.net";
option time-offset -8;
}

host llama0 {
hardware ethernet 00:C0:4F:C1:DF:3E;
fixed-address 192.168.0.254;
option host-name "llama0";
filename "pxelinux.0";

pxelinux.cfg/default:

prompt 1
timeout 0
display boot.msg
default arch
label arch
kernel vmlinuz
append initrd=initrd.img ramdisk_size=9216 noapic acpi=off

/var/tftpboot/:

-rw-r--r-- 1 root root  435 2007-12-08 03:02 boot.msg
-rw-r----- 1 root root 2.4M 2007-12-08 03:02 initrd.img
-rw-r--r-- 1 root root  14K 2007-12-08 03:02 pxelinux.0
drwxrwxrwx 2 root root   72 2007-12-08 03:35 pxelinux.cfg
drwxr-x--- 2 root root   48 2007-12-08 02:24 temp
-rw-r--r-- 1 root root 1.8M 2007-12-08 03:02 vmlinuz

I'm uncertain what to post.

Last edited by varl (2007-12-08 15:15:32)

Offline

#2 2007-12-08 15:15:14

varl
Member
Registered: 2007-06-07
Posts: 51

Re: [SOLVED] PXE Booting Arch

Got the PXE to boot.

Offline

#3 2007-12-08 19:06:27

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] PXE Booting Arch

Great. How?


1000

Offline

#4 2007-12-08 21:46:42

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: [SOLVED] PXE Booting Arch

I'm also interested in how you got PXE to boot.  Using PXE a person could make a diskless and headless computer for Folding at Home.  All you would need for a diskless and headless Folding computer would be an inexpensive Mother Board, CPU, RAM, and a power supply. 

Pudge

Offline

#5 2007-12-14 10:32:02

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED] PXE Booting Arch

I just bought an old thinkpad x23 and also trying to boot with pxe, but with no luck yet. I kind of _need_  to get it working if I don't want to a) buy an usb cd drive b) install arch with another machine and swap the hdd (which actually wouldn't be too much of a hassle). But getting pxe to work would also be one learning experience more smile So any help would be appreciated.

Offline

Board footer

Powered by FluxBB