Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.cpm > #1678

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

From Ivan Shmakov <oneingray@gmail.com>
Newsgroups comp.os.cpm, comp.os.linux.networking, comp.os.msdos.misc
Subject network boot: CP/M-86, FreeDOS, GNU/Linux
Date 2012-08-18 18:46 +0700
Organization Aioe.org NNTP Server
Message-ID <868vdc1kyb.fsf_-_@gray.siamics.net> (permalink)
References (2 earlier) <502e26ec$0$6564$9b4e6d93@newsspool4.arcor-online.net> <868vdd2xrj.fsf_-_@gray.siamics.net> <alpine.DEB.2.00.1208172036210.25096@ns383864.ovh.net> <864no12v64.fsf@gray.siamics.net> <86vcgh1f1s.fsf@gray.siamics.net>

Cross-posted to 3 groups.

Show all headers | View raw


>>>>> Ivan Shmakov <oneingray@gmail.com> writes:

	[Cross-posting to news:comp.os.linux.networking and
	news:comp.os.msdos.misc, 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.]

 > To note is that I've added the CP/M-86 1.44" image to my iPXE-based
 > "Network boot" menu, too.  Now, virtually any x86 machine (or an
 > "emulation" thereof) in my LAN, may boot a CP/M-86 system given a
 > suitable iPXE command sequence or script.

[...]

 > PS.  I'm quite sure that this configuration will work over Internet,
 > too, but I'm somewhat reluctant to share the server's URI to point
 > iPXE at, as this version of CP/M-86 doesn't seem like a free software
 > (as in "free speech".)

	... On a second though, here it is:

http://ritic.am-1.org/diskless/ipxe/world-default

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

$ qemu \
      -kernel virtio-net.lkrn \
      -net nic,model=virtio \
      -net user,bootfile=http://173.0.50.100/diskless/ipxe/world-default 

	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
	http://ibiblio.org/ apparently requires the proper Host: HTTP
	header.)

	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 192.0.2.0 netmask 255.255.255.0 {
  use-host-decl-names   on;
  option  subnet-mask   255.255.255.0;
  option  routers       192.0.2.1;
  option  domain-name-servers
                        192.0.2.53;
  # option  ntp-servers   192.0.2.123;

  if exists user-class and option user-class = "iPXE" {
    filename            "http://173.0.50.100/diskless/ipxe/world-default";
  } else {
    ## download iPXE from a TFTP server
    next-server         192.0.2.69;
    filename            "undionly.kpxe";
  }
  host diskless.example.org {
    hardware  ethernet  00:27:0e:05:e5:9e;
    fixed-address       192.0.2.97;
  }
}

### 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
	http://cdimage.debian.org/ (AKA http://130.239.18.163/.)  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: http://z80.eu/downloads/cpm86fl2.zip (floppy.flp)
    Description: CP/M-86 1.44" bootable floppy
     Originally from http://cpm.z80.de/download/144cpm86.zip.

    Image: balder10.img
    Copy-of: http://ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/
     unofficial/balder/balder10.img
    Description: Balder 1.0 (FreeDOS) 1.44" bootable floppy

    Image: memdisk.lkrn
    Copy-of: http://snapshot.debian.org/archive/debian/20120630T153537Z/pool/
     main/s/syslinux/syslinux-common_4.05%2Bdfsg-6_all.deb
     (./usr/lib/syslinux/memdisk)
    Description: MEMDISK implements a RAM disk by hooking INT 13h
     This one comes from the SYSLINUX project.

    Image: memtest86+.0
    Source: https://git.ipxe.org/people/mcb30/memtest.git/commit/f9d3679f3770
    Description: Memtest86+ memory tester (PXE)
     This version of Memtest86+ was built with an experimental PXE
     support.

    Image: memtest86.bin
    Copy-of: http://snapshot.debian.org/archive/debian/20120514T041508Z/pool/
     main/m/memtest86/memtest86_4.0s-1_amd64.deb (./boot/memtest86.bin)
    Description: Memtest86 memory tester

    Image: pxelinux.0
    Copy-of: http://snapshot.debian.org/archive/debian/20120630T153537Z/pool/
     main/s/syslinux/syslinux-common_4.05%2Bdfsg-6_all.deb
     (./usr/lib/syslinux/pxelinux.0)
    Description: PXELINfUX loads Linux from a network using PXE

-- 
FSF associate member #7257	http://sf-day.org/

Back to comp.os.cpm | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cpm-86 disk image Philippe <pas.de.spam@ici.fr> - 2012-08-15 18:37 +0200
  Re: cpm-86 disk image Peter Dassow <z80eu@arcor.de> - 2012-08-17 12:37 +0200
    Re: cpm-86 disk image with CBASIC-86 Peter Dassow <z80eu@arcor.de> - 2012-08-17 13:11 +0200
      Re: cpm-86 disk image with CBASIC-86 Philippe <pas.de.spam@ici.fr> - 2012-08-17 18:26 +0200
        Re: cpm-86 disk image with CBASIC-86 Peter Dassow <z80eu@arcor.de> - 2012-08-17 21:04 +0200
      running CP/M-86 images Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 01:12 +0700
        Re: running CP/M-86 images Steve Nickolas <usotsuki@buric.co> - 2012-08-17 20:36 +0200
          Re: running CP/M-86 images Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 02:08 +0700
            Re: running CP/M-86 images Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 02:42 +0700
              network boot: CP/M-86, FreeDOS, GNU/Linux Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 18:46 +0700
                Re: network boot: CP/M-86, FreeDOS, GNU/Linux "Harald Peters" <haj.peters@home.nl> - 2014-04-23 00:25 +0200
            Re: running CP/M-86 images - Yes it runs also with modern real PC hardware Peter Dassow <z80eu@arcor.de> - 2012-08-18 20:25 +0200
              Re: running CP/M-86 images - Yes it runs also with modern real PC hardware Tarkin <tarkin000@gmail.com> - 2012-09-19 11:32 -0700
        Re: running CP/M-86 images Peter Dassow <z80eu@arcor.de> - 2012-08-17 20:58 +0200
          Re: running CP/M-86 images Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 02:23 +0700
            Re: running CP/M-86 images Peter Dassow <z80eu@arcor.de> - 2012-08-17 21:47 +0200
              Re: running CP/M-86 images s_dubrovich@yahoo.com - 2012-08-17 20:43 -0700
              Re: running CP/M-86 images Ivan Shmakov <oneingray@gmail.com> - 2012-08-18 21:50 +0700

csiph-web