Results 1 to 15 of 41

Thread: [How to] PXE boot Server

Hybrid View

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

    ubuntu

    now i am thinking about booting ubuntu using pxe/tftp and nfs server
    Last edited by gouryella; 22-03-2009 at 09:29.
    RT-N13u dd-wrt | Toshiba 2.5" 160GB | pxe boot server

  2. #2
    That would be great. If you succeed please post here how you did it.

  3. #3
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by gouryella View Post
    now i am thinking about booting ubuntu using pxe/tftp and nfs server
    you do know, that you need to have at least 1.2GB ram to run ubuntu properly if you want to do that?
    since the image is going to be placed on the RAM (about 700MB) and then it will need 512MB ram to run...

    so... it will load up slowly and ubuntu is not really a live linux distro

  4. #4
    Join Date
    Sep 2007
    Location
    czech republic
    Posts
    182
    Quote Originally Posted by wpte View Post
    you do know, that you need to have at least 1.2GB ram to run ubuntu properly if you want to do that?
    since the image is going to be placed on the RAM (about 700MB) and then it will need 512MB ram to run...

    so... it will load up slowly and ubuntu is not really a live linux distro
    yes it will load slowly ~3MB/s, but boot image takes about 8(initrd.gz) + 2MB(vmlinuz) other files load directly to ram(not ramdisk) only if needet fron nfs, i thing.
    now i have problems with nfs server, export list not work well & no smart tutorial is here in english...

    nfs is working now for me
    Code:
    /opt/nfs/ 192.168.1.1/24(rw,insecure,sync,all_squash,anonuid=0,anongid=0)
    the next step is in this tutorial, just follow it:
    https://help.ubuntu.com/community/DisklessUbuntuHowto

    sorry guys i freeze on NFS over TCP is not running on the router, mean that nfs is ok but some rpc service is not installed :-(
    Attached Images Attached Images   
    Last edited by gouryella; 24-03-2009 at 14:51.
    RT-N13u dd-wrt | Toshiba 2.5" 160GB | pxe boot server

  5. #5
    Can any one help me?
    I want to load knoppix.6.2.ru.iso (size 700MB) with PXE
    Because my /opt partition size iz 512MB i have made directory in /tmp/mnt/[my_usb_drive]/knoppix and extract where 3 files from knoppix.6.2.ru.iso(linux, minirt.gz and KNOPPIX)
    my /opt/tftpboot/pxelinux.cfg/default is
    Code:
    display boot.txt
    prompt 1
    timeout 0
    default Knoppix
    
    label Knoppix
      kernel /tmp/mnt/[my_usb_drive]/knoppix/linux
      append ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=/tmp/mnt/[my_usb_drive]/knoppix/minirt.gz nomce noapic quiet boot_image=/tmp/mnt/[my_usb_drive]/knoppix/knoppix
    
    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
    but it doesn't work
    Code:
    couldn't find /tmp/mnt/[my_usb_drive]/knoppix/linux
    DSL Linux is booting up, but says
    Code:
    Can't find KNOPPIX filesystem, sorry.
    Dropping you to a (very limited) shell.
    why he says that?
    what can i do to solve my problems?

  6. #6
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by CrazyTSTer View Post
    why he says that?
    what can i do to solve my problems?
    you need to have all the data in the tftpboot dir...

    creating a symlink in the tftpboot dir would probably solve the problem
    ln -sf /opt/tftpboot/knoppix /tmp/mnt/[my_usb_drive]/knoppix
    I dunno how you want to do it exactly, this is just an example
    this will create a "shortcut" to your /tmp/mnt/[my_usb_drive]/knoppix directory.
    Shortcuts are also like real files or folders, so you will see a new folder /opt/tftpboot/knoppix with the contents of the /tmp/mnt...

    then you can redirect the tftpboot config to the /opt directory

  7. #7
    Quote Originally Posted by wpte View Post
    you need to have all the data in the tftpboot dir...

    creating a symlink in the tftpboot dir would probably solve the problem
    Ok, tnx, i'll try

    And what about DSL Linux? I can boot only kernel... why?

  8. #8
    Quote Originally Posted by wpte View Post
    you need to have all the data in the tftpboot dir...

    creating a symlink in the tftpboot dir would probably solve the problem
    this solution doesn't work
    also DSL under question
    plz help

  9. #9
    Join Date
    Sep 2007
    Location
    czech republic
    Posts
    182
    I thing 700MB is too much for PXE, the better way is using nfs or fetch squash filesystem from webserver.
    http://wl500g.info/attachment.php?at...9&d=1269646520
    Last edited by gouryella; 27-03-2010 at 01:36.
    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
  •