|The Möbius Operating System: Howto: Boot M&oul;bius|
Howto: Boot Möbius
The Möbius Operating System uses GRUB to boot from a floppy disk, hard disk or network device. Using GRUB means that the Möbius developers can give it a capable boot loader while being able to concentrate on maintaining features more relevant to the operating system as a whole.
You will need two disks:
3.Booting from Floppy Disk
This section assumes that you have a working GRUB disk with a FAT or ext2 file system (the "second disk" from the section "Installing GRUB").
You will need to copy these files onto your disk as a bare minimum:
Listed here are sample menu.lst and system.pro files for a bare configuration (booting from a FAT-formatted floppy disk). If you use this configuration, you will have the following files on the disk:
4.Booting from Hard Disk or a Network
Booting from elsewhere is similar to booting from a floppy disk. This section only provides an overview; for details, refer to the GRUB manual.
If you are booting from a hard disk, the files will come from a directory there instead of from the root directory of a floppy disk. You will need to prepare your hard disk the same way as your second floppy disk; you might want to install the GRUB loader into the master boot record so that you can boot your other operating systems, or you could install it into the boot sector of a separate partition and load it from your usual OS's loader.
Alternatively, you could boot the computer from a floppy disk and load the Möbius files for a directory on your hard disk. This has the advantage that your computer's normal boot process isn't modified, although it is slightly slower that booting straight from hard disk. This is the best method if you don't want to dedicate an entire partition to The Möbius. The easiest way of doing this is to modify the menu.lst on your floppy disk, adding the root (hd0,0) command referring to your hard disk.
Although booting from network is typically slower that from a hard disk, it is the easiest way if you have separate testing and development machines. Booting from the network means that you don't have to update the files on your test machine every time you do a build. To do this, you will need a network card in your test machine that's compatible with GRUB and a TFTP server on your development machine. For details, see http://osdev.berlios.de/netboot.html.
5.Booting inside Bochs
Because Bochs simulates the whole PC environment, booting inside Bochs is identical to booting on real hardware. Where you would use a floppy disk on a real PC, you use a floppy disk image in Bochs; where you would reboot a real PC, you restart Bochs. You can swap disks in Bochs by clicking the floppy disk toolbar icon to remove it, going into the Bochs configuration menu and changing disk file names, then clicking the floppy disk icon again to re-insert the disk.
An easier way to create a bootable Bochs image is to create a normal bootable floppy disk, then using a tool like dd or rawread to copy its contents to a file. You can the use this disk image file to boot Bochs.
A still easier way is to download the lastest Möbius bootimage file from the SourceForge project page and modify the files by mounting it on the loopback device on Linux, or by using a tool such as Winimage (http://www.winimage.com/) or Mtools (http://bochs.sourceforge.net/links.html) on Windows.