Preheat the oven to 325 degrees F (165 degrees C).
Grind carrots and walnuts in a food processor until fine and mealy. Transfer to a large mixing bowl. Add cornflakes, eggs, cottage cheese, oil, dried onion, onion soup mix, grilling spice, and black pepper and mix well. Fill 5 medium-sized loaf pans with mixture and top each with a glaze of ketchup and a sprinkling of black pepper.
Bake in the preheated oven until firm, 45 to 55 minutes.