Trying to boot MS-DOS 6.22 on an older computer with no floppy drive, however, there is PXE LAN boot support. These instructions installs and configures PXE Linux on the Raspberry PI and sets up a bootable floppy image for MS-DOS 6.22.
apt-get install dnsmasq pxelinux
Edit the /etc/dnsmasq.conf:
port=0
interface=eth0
dhcp-range=192.168.1.0,proxy,255.255.255.0
dhcp-script=/bin/echo
pxe-service=x86PC, "PXE Boot Menu", pxelinux
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot
Create directories:
mkdir -p /var/lib/tftpboot/pxelinux.cfg
Restart dnsmasq
systemctl restart dnsmasq
Edit /var/lib/tftpboot/pxelinux.cfg/default
MENU TITLE Network Boot Menu
DEFAULT menu.c32
Create file links:
ln -s /usr/lib/PXELINUX/pxelinux.0 /var/lib/tftpboot/
ln -s /usr/lib/syslinux/modules/bios/{ldlinux,menu,libcom32,libutil}.c32 /var/lib/tftpboot/
ln -s /usr/lib/syslinux/memdisk /var/lib/tftpboot/
Copy the first floppy drive image of MS-DOS 6.22 to /var/lib/tftpboot/ and rename it to msdos622.img.
Add to /var/lib/tftpboot/pxelinux.cfg/default
LABEL MS-DOS
MENU LABEL MS-DOS 6.22
KERNEL memdisk
INITRD msdos622.img