try catch added around the kernel boot as it may throw errors