Filesystem error on first boot

I’m running into this error on first boot. It’s been doing this for more than 10 minutes.

Seems like it’s failing to resize the root partition.

Not sure what to do though. Any advice?

Seems like it was really a bad SD card. Tried a different one and it worked.