source $stdenv/setup ensureDir $out ln -s $kernel $out/kernel ln -s $grub $out/grub cat > $out/menu.lst << GRUBEND kernel $kernel selinux=0 apm=on acpi=on init=$bootStage2 initrd $initrd GRUBEND ensureDir $out/bin cat > $out/bin/switch-to-configuration <