Many fixes to minimal boot