ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I confirm that the problem cannot be replicated on a different SD card. I conclude that the error was possibly due to corrupted data on a bad SD card. From what I've seen, here are some things to look for that might indicate a bad SD card:

  1. Automatic resize by raspi-config does not result in the root filesystem being expanded as seen by raspberry pi (df -h shows a smaller rootfs size than the card size).
  2. The filesystem is by default mounted as read-only. As a consequence X Window manager doesn't start, and startx fails to invoke it.

  3. Various errors when running sudo-apt-get upgrade that can't be fixed by rerunning sudo apt-get update.

Finally, I would suggest steering clear of generic SD cards, the one that didn't work for me was one of that variety.

I confirm that the problem cannot be replicated on a different SD card. I conclude that the error was possibly due to corrupted data on a bad SD card. From what I've seen, here are some things to look for that might indicate a bad SD card:

    • Automatic resize by raspi-config does not result in the root filesystem being expanded as seen by raspberry pi (df -h shows a smaller rootfs size than the card size). size).
    • The filesystem is by default mounted as read-only. As a consequence X Window manager doesn't start, and startx fails to invoke it.

    • Various errors when running sudo-apt-get upgrade that can't be fixed by rerunning sudo apt-get update.

Finally, I would suggest steering clear of generic SD cards, the one that didn't work for me was one of that variety.