If you're reading this you've no doubt noticed that getting your serial console working is a boot-strap issue. If you lack a monitor, keyboard, and mouse to use for your first boot what do you do? You must have been able to mount your boot media somehow so you could install the image. So long as that system can mount the ext4 filesystem containing the / (root) partition there is a way to solve the boot-strap problem. Because Pidora's /boot/cmdline.txt tells the RPi about the console the only other step needed is to start the getty service. I was able to get Pidora 18 rc2 to bootup with a serial console as follows:
Code: Select all
# mount /dev/[name-of-root-partition-device] /mnt
# cd /mnt/etc
# echo "systemctl start getty@ttyAMA0" >> vconsole.conf
My vconsole.conf now contains:
KEYMAP=us
systemctl start getty@ttyAMA0
Remember to unmount:
I booted from the new media and I was able to connect to my Pi with screen. Thanks to all who posted previously.