How to try OSSO
First, you need to configure the kernel:
Go to the OSSO/src directory and type make xconfig <enter>;
then play with the configuration: you may choose which floppy drive to use
[in MAKE section]. It is mandatory that mtools drive and floppy
image path point to the same device/file.
Then choose which drivers or programs you like to test. You may choose
any of the test programs, but some of them require the keyboard driver.
Press the buttons [Generate config.h], [Make clean] and [Make Dep].
There are 2 ways to proceed now:
Build a bootable floppy:
Although there is a way to try OSSO with a boot floppy, this is not the
With a floppy you'll miss most of the features of OSSO, like the interactive
shell to lauch programs.
Probably you'll be limited to one or two programs at time, cause there
isn't a floppy driver (yet) for interactively loading programs from shell (but
don't tell I haven't warned you! If there were no limitations, this wouldn't
have been the worst way, right? :-) If you are skilled enough, you can build an OSSO partition,
boot with floppy with IDE and FAT drivers, and load the rest from hard
There are two steps you must follow:
Add/change the section [BOOT] in OSSO/src/boot/INITCONF file:
You must have to insert a clause for every driver you choose like preload
driver [name], eg:
preload driver root = keyboard if you check the keyboard driver
Repeat this for every test program you use, but use the clause preload
run instead preload driver root, eg:
preload run = hwedit if you check hardware editor box.
Be sure to comment comment (with #) every line in [INIT] section!
Build a floppy:
Insert a blank floppy in drive, press the [Make OSSO boot disk]
button, wait for a moment,
reboot and enjoy!
Make a disk image for BOCHS:
I assume that you have a working installation of bochs: the only thing
you have to do is to create an HD image to boot from,
dd if=/dev/zero of=/tmp/osso.disk bs=512 count=83300
mformat o: -t980 -s17 -h5
- Tell BOCHS to boot from the image: insert (or modify) the line
diskc: file="/tmp/osso.disk", cyl=980, heads=5, spt=17
in your ~/.bochsrc file, and modify the boot drive with
if you already haven't.
- Modify the [INIT] section of the OSSO/src/boot/INITCONF file (more info on this file are in the file: OSSO/Documentation/INITCONF_syntax.txt) to define the / mount point: the lines needed are:
preload driver root = ide geometry=disk controller=primary
preload driver root = fat device=hda mount=/ ro fs=vfat
that tells OSSO to load the IDE driver for the first controller (hda.hdb) and then to mount a FAT partition as root (/) using the hda device (the whole disk)
If you follow the steps above, you have only to check which programs you
want to have on disk: check them, and press the buttons [Generate config.h],
[Make clean], [Make Dep] and [Make OSSO boot disk].
Run bochs, (OSSO should start with it :-) and run the programs from the
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
I assume NO RESPONSABILITIES for any damage or undesired effects
OSSO could cause.
OSSO should not damage anything, nor write to any disk or system
memory, but I cannot be sure, having tested it only on a few computers. So I suggest that you unplug
your disks before booting if you have relevant data in them OSSO ( it is ok if you back up them too). Perhaps you should try it with Vmware or Bochs or other virtual machine emulators. You shouldn't try it, if you have more than
128MB of memory, because of an open problem, otherwise unpredictable results are quite sure.
Now put the floppy in your computer drive and reboot....
OSSO writes a lot of data to the screen. You can use SHIFT+PgUp & SHIFT+PgDown
as on Linux to scroll up & down.
Other keys like Home and Up print some debug data.
Ctrl + Alt + Canc reboots ( WOW! )