FreeDOS to Oberon System 3
By R. S. Doiel, 2019-07-28
UPDATE: (2021-02-26, RSD) Under VirtualBox 6.1 these instructions still fail. My hope is to revise these instructions when I get it all sorted out.
Many links such as the ftp site at ETH Oberon are no more. I’ve updated this page to point at Wayback machine or included content in here where I cannot find it else where.
UPDATE: (2021-02-19, RSD) Under VirtualBox 6.1 these instructions fail. For VirtualBox I’ve used FreeDOS 1.3rc3 Live CD installing the “Plain DOS” without problems.
UPDATE: (2021-03-16, RSD) After reviewing my post, correcting some mistakes I finally was able to get FreeDOS up and running on VirtualBox 6.1. This allows NativeOberon 2.3.6 to be brought up by booting the “oberon0.dsk” virtual floppy and following the instructions included. You need to know how to use the Oberon mouse and the way commands work in Oberon.
What follows are notes on getting a FreeDOS 1.21 and then Native Oberon2 running under VirtualBox 6.0. You might wonder why these two are together. While it was easy to run the Native Oberon installation process that process assumes you have a properly partitioned hard disk and VirtualBox seems to skip that process. I found taking advantage of FreeDOS simplified things for me.
My goal was running Oberon System 3, but setting up a Virtual Box with FreeDOS 1.2 gave me a virtual machine that functions like a 1999 era PC. From there all the steps in the Oberon instructions just worked.
Creating FreeDOS 1.2 Virtual Box
I’ve been doing a bit if computer history reading and decided to bring up some older systems as a means to understand where things were. The first computers I had access to were 8080, 8086 machines running MS DOS based. My first computer programming language was Turbo Pascal. Feeling a bit nostalgic I thought it would be interesting to use it again and see what I remembered from the days of old. While PC and MS DOS no longer exist as commercial productions an wonderful group of Open Source hackers have brought new life into DOS with FreeDOS 1.23. You’ll find many of your old familiar commands but also some nice improvements. You can even run it under VirtualBox which is what I proceeded to do.
VirtualBox 6.0 setup
The FreeDOS website includes a CD ROM image that you can use to install it. There are couple small hitches though to get it working under VirtualBox. First go to the download page and download the CDROM “standard” installer”.
While that is downloading you can setup your VirtualBox machine. First to remember is DOS compared to today’s operating systems is frugal in its hardware requirements. As a result I picked very modest settings for my virtual machine.
- Launch VirtualBox
- From the menu, pick Machine then pick new
- Name your machine (e.g. “FreeDOS 1.2”), select the type: “Other” and Operating system of “DOS”
- Set memory size as you like, I just accepted the default 32MB
- Hard disk, pick “Create a virtual hard disc now”
- Hard disk file type, pick “VHD (Virtual Hard Disk)”
- Storage on physical hard disk, I picked Dynamically allocated both either is fine
- File location and size, I accepted the default location and size
- Before starting my FreeDOS box I made a couple of changes using
“settings” menu icon
- Display, I picked bumped memory up to 128M and picked VBoxSVGA with 33D acceleration (for games)
- Storage, I added a second floppy drive (empty)
- Network, I picked attached to NAT
- When looking at my virtual machine’s detail page I clicked on the Optical drive (empty), click “choose disc image” and pointed at the downloaded installed CD
- Click Start.
- At “Welcome to FreeDOS 1.2” blue screen, hit TAB key
- You will see a line that begins with a boot instruction. Add a space than add the word “raw” (without quotes) press enter
- Follow the install instructions, when you get to “Drive C: does not appear to be partitioned” dialog, pick “Yes - Partition drive C:”
- On the next screen pick “Yes - Please reboot now”
- When at the “Welcome to FreeDOS 1.2” screen hit TAB again
- Once again add a space and type “raw” to the command then press enter
- Pick “Yes - continue with the installation”
- Pick “Yes - Please erase and format drive C:”
- At this point its a normal FreeDOS install
- When the install is done and reboots “eject” the virtual CD form the “Optical Drive” in the VirtualBox panel, then choose “boot from system disk”,you now should have a working FreeDOS on VirtualBox
Native Oberon System 3 on Virtual Box
Native Oberon can be found at http://www.ethoberon.ethz.ch/native/. There is a related ftp site4 where you can download the necessary files for the stand alone version.
Here’s the steps I used in my Mac to download Native Oberon and into a file on my desktop called “NativeOberon-Standalone”. Open the macOS Terminal application. I assume you’ve got a Unix command called wget already installed5.
NOTE: The ETH ftp server is no more. I’ve included Web Archive links and links to my own copies of the files needed to install Native Oberon 2.3.6 in the paragraphs that follow. RSD, 2021-03-16
cd mkdir -p Desktop/NativeOberon-Standalone cd Desktop/NativeOberon-Standalone wget ftp://ftp.ethoberon.ethz.ch/ETHOberon/Native/StdAlone/
Clone your FreeDOS Box first. You’ll want to do a “Full Clone”. You’ll also want to “remove” any optical disks or floppies. You do that from the virtual boxes’ detail page and clicking on the drive and picking the “Remove disk from virtual drive” in the popup menu.
At this point we have a a virtual machine that is very similar to an 1999 era PC installed with MS DOS. Native Oberon Normally you’d install Native Oberon via 1.44MB floppy disks. We can simulate that with our Virtual machine. In the folder of you downloaded there is disc called “oberon0.dsk”. That can go in our first floppy drive. But how to we get the rest of the files onto a virtual floppies? This wasn’t obvious to me at first.
The Oberon install disks were organized as follows
It turns out you can create 1.44MB Fat16 disc images from the Virtual Box 6.0 floppy drive link. When you click on the floppy drive in the details page you have a choice that includes “create a new floppy disc”. Select this, find the disc a filename like “disk1”. Click on the virtual floppy disk in the Virtual Box and “remove” the disc then create disk2, disk3, etc. In each the empty disc image files places the files from the table above. These image files can then be opened on your host operating system and files copied to them. It’s a tedious process but this gives you something the Oberon System can read and install from. Originally I just put all the files into an ISO CD ROM image but I could not figure out how to mount that from this version of Oberon. Now when you start up your Oberon V3 virtual machine you can install the rest of the software like Gadgets.
FreeDOS is an Open Source implementation of PC/MS DOC↩︎
Native Oberon is a 1990’s version of Oberon System running on i386↩︎
Download FreeDOS from http://freedos.org/download↩︎
Download Native Oberon Stand Alone from ftp://ftp.ethoberon.ethz.ch/ETHOberon/Native/StdAlone↩︎
wget is easily installed with HomeBrew or Mac Ports↩︎