network boot: CP/M-86, FreeDOS, GNU/Linux

Discussion in 'Linux Networking' started by Ivan Shmakov, Aug 18, 2012.

  1. Ivan Shmakov

    Ivan Shmakov Guest

    [Cross-posting to and
    for an example setup for booting the
    Debian GNU/Linux 6.0.4 Live and FreeDOS Balder images over a
    network is provided. I'm looking for both a better-suited
    newsgroup, and a configuration to boot a ZX Spectrum emulator.]
    ... On a second though, here it is:

    One can run it with QEMU (or QEMU/KVM) like:

    $ qemu \
    -kernel virtio-net.lkrn \
    -net nic,model=virtio \
    -net user,bootfile=

    It seems that the version of QEMU I use fails to provide DNS to
    the child, so I had to use "plain" IPv4 addresses within both
    the command line above and the "world-default" iPXE script, as
    well as providing a copy of balder10.img on my server (as apparently requires the proper Host: HTTP

    For booting "real" hardware, one'd need a DHCP server, and also
    a TFTP one (unless a recent version of iPXE is burned into the
    boot ROM.)

    E. g., the ISC DHCP server may be configured roughly as follows
    (assuming a static MAC to IPv4 mapping.)

    ### dhcpd.conf -*- Default-Generic -*-

    default-lease-time 600;
    max-lease-time 7200;

    subnet netmask {
    use-host-decl-names on;
    option subnet-mask;
    option routers;
    option domain-name-servers;
    # option ntp-servers;

    if exists user-class and option user-class = "iPXE" {
    filename "";
    } else {
    ## download iPXE from a TFTP server
    filename "undionly.kpxe";
    host {
    hardware ethernet 00:27:0e:05:e5:9e;

    ### dhcpd.conf ends here

    Also note that the Debian 6.0.4 Live "standard" image is some
    177 MiB in total, and thus takes a while to load from (AKA It's
    provided as an example only; one should really consider putting
    it somewhere within his or her own network! (There's also a
    section for loading the "Xfce desktop" image, but its menu entry
    was commented-out, so not to abuse the cdimage server.)

    The files provided (below /bin/) are as follows. (I'd like to
    thank Aioe for its wonderful "441 Lines longer than 79 chars".)

    Image: 144cpm86.img
    Copy-of: (floppy.flp)
    Description: CP/M-86 1.44" bootable floppy
    Originally from

    Image: balder10.img
    Description: Balder 1.0 (FreeDOS) 1.44" bootable floppy

    Image: memdisk.lkrn
    Description: MEMDISK implements a RAM disk by hooking INT 13h
    This one comes from the SYSLINUX project.

    Image: memtest86+.0
    Description: Memtest86+ memory tester (PXE)
    This version of Memtest86+ was built with an experimental PXE

    Image: memtest86.bin
    main/m/memtest86/memtest86_4.0s-1_amd64.deb (./boot/memtest86.bin)
    Description: Memtest86 memory tester

    Image: pxelinux.0
    Description: PXELINfUX loads Linux from a network using PXE
    Ivan Shmakov, Aug 18, 2012
    1. Advertisements

  2. is that image Public Domain?

    Op Sat, 18 Aug 2012 13:46:52 +0200 schreef Ivan Shmakov
    Harald Peters, Apr 22, 2014
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.