In a series of unfortunate events I ended up screwing up all out of band access I had to my Pi by trying to configure a static IP address for wireless usage. I operate in headless mode without a monitor so if the wireless or network is down the only means I can connect to it is via a GPIO cable. Well as luck would have it the GPIO cable also no longer works and I had to wait for another to arrive in the mail.
Then it came to me to just mount the SD card within another OS. I attempted to mount on a Vmware Fusion VM, but got a strange usb error that I did not want to waste time banging my head on.
The next alternative was mounting on my Mac. In order for this to work I had to get Mac fuse installed.
Install both and you’ll need to make one more change which is to allow ext2 fuse to write to the sdcard.
and replace the line under the function “Mount”:
Here we telling the fs to mount in read write mode. Save the file and plug your sdcard back in and you should have full access to /dev/disk1s2 which is the root partiton.
comments powered by Disqus