Re: [Etherboot-users] pxe boot ?
Brought to you by:
marty_connor,
stefanhajnoczi
From: Alexander H. <mai...@gm...> - 2005-10-20 10:17:28
|
hi! i am going to explain how to boot an image of a DOS floppy disk or the debian installer via the network extract http://perso.wanadoo.fr/philippe.jounin/download/tftpd32.280.zip extract http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.11.zip create a directory (e.g. c:\tftproot) start tftpd32.exe modify the tftpd32 settings: - make c:\tftproot the base directory - make sure "PXE Compatibility" is selected create a valid DHCP server configuration (use pxelinux.0 as boot file) and save it. a sample DHCP configuration: IP pool starting address: 192.168.6.100 size of pool: 10 boot file: pxelinux.0 wins/dns server: 192.168.6.1 default router: 192.168.6.254 mask: 255.255.255.0 domain name: domain.invalid create an image of bootable DOS floppy disk (e.g. using winimage) and copy it to c:\tftproot\dos.ima copy these files from the syslinux package to c:\tftproot\: pxelinux.0 memdisk/memdisk com32/modules/chain.c32 com32/modules/menu.c32 create the sub-directory c:\tftproot\sarge\ copy http://ftp.egr.msu.edu/debian/dists/sarge/main/installer-i386/current/images/netboot/debian-installer/i386/linux to c:\tftproot\sarge\ copy http://ftp.egr.msu.edu/debian/dists/sarge/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz to c:\tftproot\sarge\ create the sub-directory c:\tftproot\pxelinux.cfg\ (although there is an extension, it has to be a directory and not a file!) create a file called default ( c:\tftproot\pxelinux.cfg\default ) # start of the file default DEFAULT menu PROMPT 0 TIMEOUT 100 MENU TITLE a simple boot menu LABEL nextdev MENU LABEL next device (depends on BIOS settings) localboot 0 LABEL fd MENU LABEL floppy A: KERNEL chain.c32 append fd0 LABEL hda MENU LABEL Master Boot Record (MBR) of the 1st hard disk KERNEL chain.c32 append hd0 LABEL dos MENU LABEL Image of a DOS floppy disk KERNEL memdisk append initrd=dos.ima label debian MENU LABEL Debian Sarge Installer (Kernel 2.4) kernel sarge/linux append vga=normal initrd=sarge/initrd.gz ramdisk_size=9424 root=/dev/rd/0 devfs=mount,dall rw -- LABEL menu MENU HIDE KERNEL menu.c32 # end of the file default Cheers Alex |