Error when upgrading from version 41 to 4.2

I was using 4.1 normally but with the latest kernel version. I went to upgrade to version 4.2. After rebooting after the sudo qubes-dist-upgrade --all-pre-reboot step, the system stuck on a black screen. It starts, the blue grub screen appears and the screen for entering the encryption password does not appear. After a while a screen appears with a yellow shell written on it.