Building a Beagelbone rootfs using debootstrap

The instructions in my previous post about building an image for the Beagelbone Black rely on a pre-packaged root filesystem. Here are a few simple steps on how I build my own rootfs.

Creating an OverlayFS Patch

I’ve been playing with the Beaglebone and Beaglebone Black once again. To increase the longevity of the SD card media it would make sense to have a read-only root filesystem. While it is not that hard to have a strictly read-only root filesystem, it would be nice to have the features of a union filesystem, where writing is not prohibited, but writes are directed to a dedicated filesystem (such as ramfs or another partition).

Building Debian Wheezy (7.3) for Beaglebone Black

Just some quick and dirty instructions on how I built a Beaglebone Black disk image from scratch. This provides a read-only root filesystem.

The Issue With /etc/issue

I like VMware Fusion a lot. It’s a great tool to run various OS’s on my Mac. Even though the Mac underlying BSD like system works well for most of what I do, every once in a while having access to a native Linux environment is hard to beat. One issue that can be annoying is working in a bare bones Linux VM via the VMware console. It is not much fun, requiring manual mouse release and lacking cut and paste between host and VM. The easiest way to resolve this is to use ssh. However, what is the IP address of the VM? And oh, after months of not having used it, what is the login?