doc2000-howto
DiskOnChip Linux Install HOWTO
This document describes how I install and boot a Linux kernel image from an M-Systems DiskOnChip 2000. Essentially, I create a bootable floppy disk with the M-Systems DiskOnChip TrueFFS DOS utilities to format, partition and create a FAT file system on the DiskOnChip, and with Syslinux, to be installed as the DiskOnChip bootloader, and another bootable floppy disk with the Linux kernel image to copy to the DiskOnChip.
Format floppy disk:
# fdformat /dev/fd0
Write FreeDOS Ripcord OEM bootdisk image to floppy disk:
# gunzip FDOEM.144.gz # dd if=FDOEM.144 of=/dev/fd0
Copy syslinux and M-Systems DiskOnChip TrueFFS 5.1.4 DOS utilities to bootdisk:
# mount -t vfat /dev/fd0 /mnt # cp syslinux-3.51/dos/syslinux.com /mnt # cp tffs-5.1.4/doc514.exb /mnt # cp tffs-5.1.4/doc514p.exb /mnt # cp tffs-5.1.4/dinfo.exe /mnt # cp tffs-5.1.4/dformat.exe /mnt # cp tffs-5.1.4/putimage.exe /mnt # cp tffs-5.1.4/getimage.exe /mnt # umount /mnt
Boot from this floppy disk.
Format, partition and create FAT file system on the DiskOnChip (replace d000 with the address of your DiskOnChip):
A:\> dformat /win:d000 /s:doc514.exb /ebda /y
Reboot from this floppy disk again.
Install syslinux on the DiskOnChip:
A:\> syslinux c:
Create a second bootable floppy disk, this one to carry your custom, standalone, initramfs enabled Linux kernel image (perhaps with my Linux 2.6 doc2000 patch ;-) For some reason, the syslinux I use refuses to load the default linux file unless it is explicitly told so in the syslinux.cfg file. Repeat steps 1 and 2, then:
# mount -t vfat /dev/fd0 /mnt # echo 'default linux' > /mnt/syslinux.cfg # cp linux-x.y.z/arch/i386/boot/bzImage /mnt/linux # umount /mnt
Boot from this second floppy disk.
Copy syslinux.cfg and the Linux kernel image to the DiskOnChip:
A:\> copy syslinux.cfg c: A:\> copy linux c:
Boot DiskOnChip!
That's it, I hope it works for you too!
Sep 10 2007
Andre B. Oliveira