Next, open up Disk Utility, click on the the mounted partition from the card (NO NAME in my case), and then click the Unmount button at the top. You don’t want to get this wrong so make sure it’s right! For a sanity check you could always run mount before inserting the card and then after, to see the difference. In my case, it was /dev/disk1s1 (NO NAME matches the title that showed up in Finder when I inserted the card so this is a hint as to which one is the one I am looking for) listed at the bottom of the mount command. Take note of the SD card device that shows up. Below are the steps I had to take to get it working.įirst, insert the SD card into the reader, open a terminal window and type mount. It wasn’t as easy as I thought because, for some reason, getting VirtualBox to pass the SD card reader to a virtual machine as a virtual device is not quite easy.
Since I own a MacBook Air and it can’t read ext3 natively (not that I know of at least) I thought I would just just spin up a virtual machine in VirtualBox, mount the SD card from the Raspberry Pi, make the change and be done.
The only way I know how to do this is to mount the root partition from the context of another machine and then edit the /etc/shadow file. Somehow I forgot the password to one of my Raspberry Pi boxes and needed to reset it. Mount SD card in VirtualBox from Mac OS X Host