<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
  <card id="article" title="Triple booting on an old PC, part 3: FreeDOS and GRUB4DOS">
    <p mode="wrap"><a href="#menu">Menu</a></p>
	<p><b>Installing FreeDOS</b></p>
	<p>After putting the install CD (you can get the ISO from freedos.org, floppy install is also provided) and booting the PC from it, we get this bootloader menu:</p>
    <p>(image)</p>
	<p>We're installing the system to disk, so let's pick "Install to harddisk".</p>
	<p>The installer warns us about the risk of overwriting other systems and asks if we want to continue:</p>
	<p>(image)</p>
	<p>Despite the warning the installer won't overwrite any parttions or MBR unprompted, so let's continue.</p>
	<p>After continuing, the installer asks for the keyboard layout and if it should overwrite the MBR:</p>
	<p>(image)</p>
	<p>Here we pick "No" - we want to keep the Windows bootloader, instead of using the FreeDOS one, which can only boot DOS. We'll configure the computer to allow selecting 3 systems later.</p>
	<p>(image)</p>
	<p>Now we can select if we want a minimal install or something more. I'm picking a full install, which comes with a good amount of open-source DOS software and still takes less than 512 MB. It even lets us install all the source code to experiment around with, but I decided to only install the binaries for now.</p>
	<p>The installer starts copying files, showing a progress bar:</p>
	<p>(image)</p>
	<p>After waiting for copying to finish, we can remove the install CD and reboot. We won't be able to boot our DOS install yet - to do that, we have to add it to the boot menu, much like we did with OpenBSD in part 2.</p>
	<p><b>Can NTLDR boot FreeDOS?</b></p>
	<p>NTLDR is the bootloader of Windows XP. It's quite flexible and can boot both Windows and other systems - the latter mostly by loading their own bootloaders. That's how we got OpenBSD to dual boot in part 2 - NTLDR loads the OpenBSD bootloader from the file OPENBSD.PBR.</p>
	<p>I tried to do the same with the FreeDOS bootloader, which wasn't succsesful, as the FreeDOS bootloader failed to find the DOS partition when started from NTLDR.</p>
	<p>Luckily, I found a working solution to multi-boot NTLDR systems like Windows XP and FreeDOS - using a more advanced bootloader to correctly tell the FreeDOS bootloader where the system is located. The advanced bootloader we'll be using is GRUB4DOS.</p>
	<p><a href="quadb3_3.wml">Page 3</a></p>
	<p><a href="quadboo3.wml">Page 1</a></p>
    <p><a href="#article">Top</a></p>
    <p><a href="#menu">Menu</a></p>
  </card>
  <card id="menu" title="crimson_phoneme's website">
    <p mode="wrap"><img src="../gfx/about.wbmp" alt="" /><a href="../index.wml#about">About</a></p>
    <p><img src="../gfx/blog.wbmp" alt="" /><a href="../index.wml#blog">Blog</a></p>
	<p><img src="../gfx/comp.wbmp" alt="" /><a href="../comp.wml">My computers</a></p>
	<p><img src="../gfx/links.wbmp" alt="" /><a href="../links.wml">Links</a></p>
  </card>
</wml>

