Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I tried booting in recovery mode (holding down shift from a USB keyboard attached to the Pi2) and still can't boot to fix.
I had to press Shift when the splash screens appears. Not before. Duh. In config file, gpu_mem was at 64210!!! Changed it to 256. Now it boots.
Required, but never shown