@@ -254,6 +254,27 @@ in {
254254 '';
255255 };
256256
257+ # Same as the previous, but with fat32 /boot.
258+ separateBootFat = makeInstallerTest "separateBootFat"
259+ { createPartitions =
260+ ''
261+ $machine->succeed(
262+ "parted /dev/vda mklabel msdos",
263+ "parted /dev/vda -- mkpart primary ext2 1M 50MB", # /boot
264+ "parted /dev/vda -- mkpart primary linux-swap 50MB 1024M",
265+ "parted /dev/vda -- mkpart primary ext2 1024M -1s", # /
266+ "udevadm settle",
267+ "mkswap /dev/vda2 -L swap",
268+ "swapon -L swap",
269+ "mkfs.ext3 -L nixos /dev/vda3",
270+ "mount LABEL=nixos /mnt",
271+ "mkfs.vfat -n BOOT /dev/vda1",
272+ "mkdir -p /mnt/boot",
273+ "mount LABEL=BOOT /mnt/boot",
274+ );
275+ '';
276+ };
277+
257278 # Create two physical LVM partitions combined into one volume group
258279 # that contains the logical swap and root partitions.
259280 lvm = makeInstallerTest "lvm"