anchor.diff:        fileSystems = rootFS + bootFS;
       };
   
  +  # Test a basic install using GRUB 1.
  +  grub1 = makeTest
  +    { createPartitions =
  +        ''
  +          $machine->mustSucceed(
  +              "parted /dev/vda mklabel msdos",
  +              "parted /dev/vda -- mkpart primary linux-swap 1M 1024M",
  +              "parted /dev/vda -- mkpart primary ext2 1024M -1s",
  +              "udevadm settle",
  +              "mkswap /dev/vda1 -L swap",
  +              "swapon -L swap",
  +              "mkfs.ext3 -L nixos /dev/vda2",
  +              "mount LABEL=nixos /mnt",
  +          );
  +        '';
  +      fileSystems = rootFS;
  +      grubVersion = 1;
  +    };
  +
     # Rebuild the CD configuration with a little modification.
     rebuildCD =
       { inherit iso;
  
positive.code:               [ pkgs.glibcLocales
                  pkgs.sudo
                  pkgs.docbook5
                ];
            }
          ];
  
negative.code:   # a test script fragment `createPartitions', which must create
    # partitions and filesystems, and a configuration.nix fragment
    # `fileSystems'.
    testScriptFun = { createPartitions, fileSystems, testChannel, grubVersion }:
      ''
        createDisk("harddisk", 4 * 1024);
  
  