Added some boot catalog writes.

Added helper method to fill text in a certain length of bytes.