Slashdot Mirror


Diskless Booting For the Modern Age

An anonymous reader writes "Ever wonder what happened to PXE? Intel's popular standard for diskless booting hasn't been updated since 1999, and has missed out on such revolutions as wireless Ethernet, cloud computing, and iSCSI. An open source project called Etherboot has been trying to drag PXE into the 21st century. One of their programmers explains how to set up diskless booting for your cloud, using copy-on-write to save space."

14 of 99 comments (clear)

  1. How is it slow? by OrangeTide · · Score: 3, Interesting

    TFTP over UDP on a LAN, doesn't seem slow at all. It's stupid, but sufficient to bootstrap a small kernel to access the real meat of your OS. 1-10MB TFTP downloads over 100mbit is no big deal. You can't get good 1gbit performance (let alone 10gbit) out of the dumb drivers in a PXE boot ROM, but that's OK.

    --
    “Common sense is not so common.” — Voltaire
    1. Re:How is it slow? by emj · · Score: 3, Insightful

      Apparently PXE only allows a bootloader payload of 32KB, which makes it slow, and these days it wouldn't be a problem to fit a much more competent bootloader in flash on the mother board. So the question is why should I have to boot/download a 4MB Linux kernel to be able to use the 1Gbps drivers?

    2. Re:How is it slow? by improfane · · Score: 5, Funny

      Is it possible to use multicast? The multicast could run continuously or on demand. Can you route multicast?

      It would be pretty impressive if one could attach 3 nodes to the network and they all boot up.

      It would be a Borg network. Everything you add to it would be immediately taken over!

      NODE (DHCP): Hi I'm a Dell workstat-
      BORG NODE #1 (x.x.3.43): We are borg
      NODE: ACK
      BORG NODE #2 (x.x.3.44): We wil add your likeness to our own
      NODE: RST RST RST
      BORG NODE #3 (x.x.3.40): Resistance is futile
      NODE: Downloading borg....
      BORG NODE #2: We will add your likeness to our own (as soon as you have downloaded. ...
      BORG NODE #4 (x.x.3.45): We are borg.

      --
      Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
    3. Re:How is it slow? by Junta · · Score: 3, Informative

      Issues:
      -tftp multicast is inherently limited to smaller than 98MB images with sane MTU. The same block number wrapping in unicast can't work in multicast. When you want speedup the most, tftp multicast can't even work
      -multicast only buys you something if a large number of clients are acquiring the same payload at the same time. In a large scale 'cloud 'configuration, things are generally heterogenous enough to negate any such hypothetical benefit.
      -Most ethernet fabrics are either incapable or not configured for IGMP/MLDv2 snooping required to properly scope multicast resulting in all multicast traffic degrading to broadcast. This has very adverse results unless every entity on the network only cares about the transfer.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  2. Authentication by Anonymous Coward · · Score: 3, Interesting

    The one thing missing from PXE is authentication: A PXE system will accept any DHCP address and with it any boot server configuration. Without cryptographic boot image authentication, network security is the Achilles' heel of PXE.

    1. Re:Authentication by rathaven · · Score: 5, Informative

      It wasn't designed for it - PXE boots without authentication on the client so that the hardware gets the image thinly and then auth takes place when the OS is installed. It assumes control of the local LAN is in place and it is trusted. If you are looking for auth at this level you'd need to look at authentication to the switch or wireless on the network - pre-authentication using something like 802.1X. I'm not 100% clear but I believe gPXE has something that probably covers that in the docs as it has scripting capability pre-receiving DHCP addresses (at the level for wireless authentication and possibly 802.1X)...

  3. i dont wonder...... by Ruede · · Score: 3, Interesting

    i am using pxe often.

    i have setup a few linux install "CDs" for network install, a few live CDs for an emergency OS. LTSP is using it too and a small intel atom box gets its kernel over tftp/pxe... the pxe provides the parameters for the nfsroot mount.
    old win2k netinstall for ppl without a RIS uses that system too :)
    the tftpd box that provides all that stuff is a small amd geode that is normally my router :)

    i often thought about making a sourceforge project out of it.... :)

  4. I haven't been wondering... by langelgjm · · Score: 5, Interesting

    I still use PXE to boot a diskless MythTV client. For a while I had the machine connected to a wireless router set up in bridge mode, so the machine effectively netbooted wirelessly.

    --
    "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
  5. Cloud? by plasticsquirrel · · Score: 5, Funny

    Good grief, everything is a "cloud" now. Have some servers on a rack? Those aren't servers, that's a cloud! It's like some retards took a Cisco networking diagram, and went crazy when they realized that everything could be simplified into one of the "clouds".

    Warning / Rant: The last 5 years of computing have been pretty lame. Concurrency and solutions to it using functional high-level languages are the future. That's where we should have been five years ago when it was so obvious that chips with large numbers of cores were the future. These cloud solutions are just a stupid name for the same old monolithic crap. It doesn't scale and isn't modular in a Unixy way. Modern applications just suck because they're so inflexible. Why can I do so many things from a little text terminal, but I can't easily script the behavior of my web browser without special add-ons? Why aren't modern applications flexible like this, with simple interfaces for communicating with other programs? Where is the equivalent of a shell pipe, in modern applications? It's like somebody threw away all the lessons of the past, and said "But this is the new way, we don't need the old way, because this is new." Fuck that, computing should be better than this. It should be better than these stupid clouds and old piece-of-shit reinvent-the-wheel C and C++ programs with buffer overflows and other ancient problems. Or the HTML / Javascript / whatever jerry-rigged "web applications" that run on some opaque "cloud" that a random company has. Why is it that languages like Smalltalk and Lisp have been around for so long, and nobody learns from them or uses them? It's like the chips keep getting faster and faster, and people keep getting dumber and dumber.

    --
    Systemd: the PulseAudio of init systems
    1. Re:Cloud? by fauxhemian · · Score: 4, Informative

      It doesn't scale and isn't modular in a Unixy way. Modern applications just suck because they're so inflexible. Why can I do so many things from a little text terminal, but I can't easily script the behavior of my web browser without special add-ons?

      http://en.wikipedia.org/wiki/Uzbl

      --
      I've got news for Mr. Santayana: we're doomed to repeat the past no matter what. That's what it is to be alive.
    2. Re:Cloud? by TheRaven64 · · Score: 3, Insightful

      Cloud is a useful filter word, like Beowulf Cluster. If someone uses it in a non-ironic way, you know that you can safely ignore anything else that they say on the subject.

      --
      I am TheRaven on Soylent News
  6. Works pretty well and scales well too by pdbaby · · Score: 3, Interesting

    We do this at work - we chain-load gPXE using PXE and then use that to iSCSI boot from a Linux SAN which uses LVM COW snapshots. It's pretty good - the etherboot project rocks! We've been doing it for a while but it always gives me a kick when I type something at the commandline which wakes up a machine using IPMI & then boots it off some SAN volume

    --
    Global symbol "$deity" requires explicit package name at line 2. - If only $scripture started "use strict;"
  7. A few interesting things... by Junta · · Score: 5, Interesting

    The DHCPv6 netboot standard about to come out recommends http as the protocol of choice where tftp would have been used, but uses URLs so the protocol is selectable.

    The iSCSI portion of this is a wider standard, implemented by many firmware configurations out of the box.

    Finally, I'm going to plug xCAT as a tool to wrap dhcp, dns, ntp, active directory, gPXE, iSCSI, PXE, bootp/tftp, ipmi, blades, vmware, kvm, xen, LPARs, and more to deploy vmware, windows, linux, and aix systems and do hardware management. It mostly pays off at larger scale, but it is a project that aims to understand how to best utilize those various technologies.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  8. And we less computer-oriented nerds by Wilson_6500 · · Score: 3, Funny

    naturally laugh at the mere suggestion of dickless booting.