Difference between revisions of "PXE"

From ArchWiki
Jump to: navigation, search
(Preparation)
(Preparation)
Line 10: Line 10:
 
HTTP request sent, awaiting response... 200 OK
 
HTTP request sent, awaiting response... 200 OK
 
Length: 411041792 (392M) [application/x-iso9660-image]
 
Length: 411041792 (392M) [application/x-iso9660-image]
Saving to: ‘archlinux-2012.09.07-dual.iso.5’
+
Saving to: ‘archlinux-2012.09.07-dual.iso’
  
 
100%[====================================================================================>] 411,041,792  109MB/s  in 3.6s   
 
100%[====================================================================================>] 411,041,792  109MB/s  in 3.6s   

Revision as of 03:10, 22 September 2012

Preparation

Download the latest official install media from http://hive.ist.unomaha.edu/archlinux/iso/latest/, (replacing hive with your favorite mirror).

 $ wget http://hive.ist.unomaha.edu/archlinux/iso/latest/archlinux-2012.09.07-dual.iso
--2012-09-21 22:06:37--  http://hive.ist.unomaha.edu/archlinux/iso/latest/archlinux-2012.09.07-dual.iso
Resolving hive.ist.unomaha.edu... 2620:d5:0:22bb::dead:beef, 137.48.187.208
Connecting to hive.ist.unomaha.edu|2620:d5:0:22bb::dead:beef|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 411041792 (392M) [application/x-iso9660-image]
Saving to: ‘archlinux-2012.09.07-dual.iso’

100%[====================================================================================>] 411,041,792  109MB/s   in 3.6s   

2012-09-21 22:06:41 (109 MB/s) - ‘archlinux-2012.09.07-dual.iso’ saved [411041792/411041792]

Server setup

Network

# ip l s dev eth0 up
# ip a a 192.168.0.1/24 dev eth0

dnsmasq

# vim /etc/dnsmasq.conf
dhcp-range=192.168.0.50,192.168.0.150,12h
dhcp-boot=/arch/boot/syslinux/pxelinux.0
enable-tftp
tftp-root=/mnt/iso
dhcp-option-force=209,boot/syslinux/archiso.cfg
dhcp-option-force=210,/arch/
# rc.d start dnsmasq