Results 1 to 15 of 41

Thread: [How to] PXE boot Server

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Location
    czech republic
    Posts
    182

    Lightbulb [How to] PXE boot Server

    [How to] PXE boot Server (compressed guide) updated 29.3.2010

    expectations:
    • PXE boot friendly net card / virtualbox with bridged adapter in network config (for testing)
    • asus in router operation mode with active DHCP
    • tested on wl500gp-1.9.2.7-d-r1222.trx after finished wengi guide

    install xinetd (if you don't have)
    Code:
    ipkg update
    ipkg upgrade
    ipkg install xinetd
    install tftp-hpa Trivial File Transfer Protocol Server
    Code:
    ipkg install tftp-hpa
    add extra dnsmasq.conf, it will append to /etc/dnsmasq.conf during boot (thanks Sid)
    Code:
    nano /usr/local/etc/dnsmasq.conf
    contents of dnsmasq.conf:
    Code:
    dhcp-boot=pxelinux.0,asus,192.168.1.1
    asus=replece to your Host Name, 192.168.1.1=tftp server ip adress (may run outside asus for fastest transfer)
    save:
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    example of config files (check Attached Files i'm providing all needed files for Windows 7 PE Boot and memtest x86)
    Code:
    mkdir /opt/tftpboot/pxelinux.cfg
    nano /opt/tftpboot/pxelinux.cfg/default
    nano /opt/tftpboot/boot.txt
    contents of default:
    Code:
    display boot.txt
    prompt 1
    timeout 0
    default winpe
    
    label dsl
      kernel dsl/linux24
      append ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=dsl/minirt24.gz nomce noapic quiet boot_image=dsl/knoppix
    
    label dos
      kernel memdisk
      append initrd=dos/Dos6.22.img
    
    label memtest
      kernel memdisk
      append initrd=memtest/memtest.img
    
    label winpe
      kernel Boot/startrom.0
    
    label gparted
      kernel gparted/vmlinuz
      append initrd=gparted/initrd.img boot=live union=aufs noswap quickreboot noprompt vga=788 fetch=http://192.168.1.1:81/filesystem.squashfs
    
    label pmagic
      kernel pmagic/bzImage
      append initrd=pmagic/initramfs load_ramdisk=1 prompt_ramdisk=0 rw sleep=10 livemedia
    contents of boot.txt:
    Code:
    Boot menu: gparted | dos | dsl | winpe | memtest | pmagic
    get the pxelinux.0 and memdisk kernel from syslinux (or everything is in Attach Files)
    put both files to /opt/tftpboot/
    get the dos bootdisk image
    Code:
    mkdir /opt/tftpboot/dos
    cd /opt/tftpboot/dos
    wget http://www.allbootdisks.com/downloads/Disks/MS-DOS_Boot_Disk_Download47/Diskette%20Images/Dos6.22.img
    you may need chmod, thanks wpte for checking my tutorial
    Code:
    chmod +x  /opt/tftpboot/*.*
    chmod +x  /opt/tftpboot/pxelinux.cfg/*.*
    It's all, try to boot dos from network...
    Attached Files Attached Files
    Last edited by gouryella; 29-03-2010 at 02:09.
    RT-N13u dd-wrt | Toshiba 2.5" 160GB | pxe boot server

Similar Threads

  1. Replies: 10
    Last Post: 21-12-2012, 08:55
  2. [How to] rtorrent & ntorrent
    By mancub in forum WL-500gP Tutorials
    Replies: 101
    Last Post: 18-12-2008, 07:21
  3. [How To] 2 zusätzliche interne USB Ports am WL500gP nutzbar machen
    By rj.2001 in forum German Discussion - Deutsch (DE)
    Replies: 6
    Last Post: 02-10-2008, 11:32
  4. [HOW TO] Bluetooth in wl500g
    By TIk in forum WL-500g/WL-500gx Tutorials
    Replies: 1
    Last Post: 17-09-2008, 21:38
  5. Gameserver
    By blingbling in forum WL-500gP Q&A
    Replies: 2
    Last Post: 17-07-2006, 15:37

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •