Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting Up Tftp Server -> DHCP Server
- apt-get install tftpd-hpa inetutils-inetd
- nano /etc/inetd.conf
- tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot
- nano /etc/default/tftpd-hpa
- # /etc/default/tftpd-hpa
- TFTP_USERNAME="tftp"
- TFTP_DIRECTORY="/tftpboot"
- TFTP_ADDRESS="0.0.0.0:69"
- TFTP_OPTIONS="--secure"
- service inetutils-inetd restart
- service tftpd-hpa restart
- Setting Up DHCP Server
- nano /etc/dhcp3/dhcpd.conf
- filename "pxelinux.0";
- next-server 192.168.2.100;
- service dhcp3-server restart
- Setting Up Apache -> PXE Server
- mkdir /var/www/ubuntu/
- mount -o loop /path/to/.iso /mnt
- cp -a /mnt/* /var/www/ubuntu/
- Setting Up Boot Files -> PXE Server
- mkdir /tftpboot
- chmod 777 /tftpboot
- cd /tftpboot
- cp -a /var/www/ubuntu/install/netboot/* /tftpboot/
- nano /tftpboot/pxelinux.cfg/default
- menu hshift 13
- menu width 49
- menu margin 8
- default ubuntu-installer/i386/boot-screens/vesamenu.c32
- Menu Title Boot Menu - Huree ICT Univ.
- label install
- menu label ^Install
- menu default
- kernel ubuntu-installer/i386/linux
- append vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet
- label expert
- menu label ^Expert install
- kernel ubuntu-installer/i386/linux
- append priority=low vga=normal initrd=ubuntu-installer/i386/initrd.gz --
- label cli-expert
- menu label Command-^line expert install
- kernel ubuntu-installer/i386/linux
- append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false priority=low vga=normal initrd=ubuntu-installer/i386/initrd.gz --
- label rescue
- menu label ^Rescue mode
- kernel ubuntu-installer/i386/linux
- append vga=normal initrd=ubuntu-installer/i386/initrd.gz rescue/enable=true -- quiet
- label Local_drive
- localboot 0
- menu label ^Local Drive
- prompt 0
- timeout 0
Advertisement
Add Comment
Please, Sign In to add comment