-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emergency shell on boot after kernel upgrade (crc32c module not loaded) #52
Comments
I just tested the script with a fresh system. Booting the droplet with a restored snapshot works without a hitch. |
Nope, no custom parameters. Just a few quick googles reveals this is not a completely unique issue [1] [2]... seems to be that ext4 depends on the crc32c module, and somehow it is getting added into the initramfs when you build it the first time, but Anyways, see if you can reproduce after running Screenshot of the console after rebooting. [1] https://lists.debian.org/debian-kernel/2016/04/msg00013.html |
Hello, I updated my main droplet this morning, and I discovered this issue when I got stuck in the emergency shell. If you arrive at this point, and you have valuable data in your droplet (and old snapshots), you may get it back using the recovery kernel.
Anyway, this is the first time in +2 years that I have an issue with my droplet. Thanks for the awesome work! |
That's interesting (and unfortunate 😢). Just ran Was the fallback initramfs ( |
Hi,
Today I decided to
pacman -Syu
my Arch system and reboot, and to my surprise I couldn't SSH and had to use the DigitalOcean console to find out it failed to load the filesystem due to missing the crc32c module, and it was dropped to an emergency shell.The problem for me was fixed by adding
crc32c
to theMODULE=" ..."
list in/etc/mkinitcpio.conf
before running the system update.Unfortunately, once this problem occurs It seems like your Droplet is completely hosed!
It seems there is no (good?) way to download snapshots/backups of droplets so that the boot issue can be fixed manually, so I had to restore to a snapshot I made just after running this script. While I was at it, I did test running the system upgrade from that snapshot, and the same problem existed there.
So, this problem might exist specifically on the system, the snapshot I made (22 days old, so it was made with the most up to date version of this script), or with the upgrade itself. I will test it again with a fresh Debian droplet tomorrow and run the script on it to see if it is a problem with a fresh system or not.
Luckily the Droplet that was affected for me was essentially a throwaway, hopefully this doesn't cause anyone any real grief!
The text was updated successfully, but these errors were encountered: