Prepare the 1 lb of pasta according to the directions on the box. Set aside 1 cup of pasta water and drain the remaining water.
Chop the shallots into small pieces and press the garlic. Add to a large glass baking dish and drizzle with 2 tbs of the olive oil; stir to make sure everything is coated. Bake at 400°F for 10-15 minutes, or until the shallots are translucent and slightly golden.
Place the block of feta cheese in the middle of the shallots and garlic and drizzle with 2 more tbsp of olive oil. Bake for about 15 more minutes.
While the feta is baking, lightly chop the spinach into smaller pieces. Remove the baking dish from the oven and add in the spices and chopped spinach. Pour over ½ cup of pasta water and bake again for 5 minutes.
After the spinach has wilted, remove the baking tray from the oven. Break up the block of feta with a spoon and begin mixing everything together, making sure everything gets incorporated. Pour in the pasta and mix to combine.
Serve in bowls and enjoy!