Creating a bootfloppy

There are times when you might need a floppy to boot a system from. Here's a step-by-step example on creating a bootup floppy you can use to boot Linux from.

(NOTE: chos compiled for kernel 2.x doesn't seem to work with floppies under kernel 1.x and vice versa.)

Normal bootfloppy

This kind of bootfloppy is always good to have. With it you can boot your system after some program has modified your MBR. E.g. after having installed a new OS in your box. This kind of bootfloppy is required when setting up the rewrite feature.
  1. Create a configuration file. The files should be set up as follows:
    Path is any path but /boot is not a good choice since your normal system bootup files are kept there. /boot/bfloppy is fine. You can have the files on the floppy but that is not necessary unlike with standalone setup.
    Everything else in the file can be as in your normal hd configuration.
  2. Copy the binaries in path possibly creating the directory.
      (someone)~$ mkdir path
      (someone)~$ cp /boot/chos.loader* /boot/chos.bsect path
  3. Run chos
      (root)~$ chos -v -c the_config_file_I_created

Standalone/rescue bootfloppy

With this kinda bootfloppy you can boot any system since all necessary stuff to boot a system is on the floppy.
  1. The first step is, of course, to create a config file. The following config file lines will tell chos to search for it's binary files and save other files on first floppy drive.
    Also setup a Linux kernel that exists on the floppy..
      linux "Linux" {
  2. Now that you have a config file, mount the damn floppy:
      (someone)/chos_path/$ mount /floppy
    and copy chos binaries and your kernel there:
      (someone)/chos_path/$ cp ./bin/* /floppy
      (someone)/chos_path/$ cp where_ever_my_kernel_is /floppy
  3. And finally run chos:
      (root)/chos_path/$ chos -v -c the_config_file_I_created
The above let's you boot the kernel of a floppy, but you still need to have a root filesystem on a hard or floppy disk or an NFS image. If you want to make a real 'rescue' floppy, there are the chances:


Suppose you wanted other users to only be able start Linux (or some other OS) here's what you do: Here's an example configuration that