Alright. Seem to have fixed the IP/mask issue, but have been struggling with the Make a bootable card section of the tutorial. I’ve tried formatting my SD card using the SD Association’s Formatting tool, as recommended in this post. I’ve done this several times, and have tried selecting both the “yes” and “no” option under “logical address adjustment.”
After formatting the card, I use
df -h on the command line before and after inserting the SD card, in order to figure out its device name (mine is
Then, I unmount my device using
sudo diskutil unmount /dev/disk3s1
Finally, I attempt to dd my image.img using
sudo dd if=image.img of=/dev/rdisk3s1 ibs=512 obs=1m count=122880 (I was getting permission errors, so added sudo though twobitcircus doesn’t say to use sudo.)
I get this in terminal:
122880+0 records in
60+0 records out
62914560 bytes transferred in 10.934743 secs (5753639 bytes/sec)
Seems promising, but when I reinsert my SD card I get a `The disk you inserted was not readable by this computer’ error (see screenshot.)
Please help! What on earth am I doing wrong?!
I’ve also got a followup question on the next section of the tutorial which reads as follows:
NFS boot your Pi
- Put the card in a Pi, connect it to the hard-wired network, and turn it on.
- If this is a fresh card, you’ll be dropped into raspi-config.
- Enable ssh in the advanced options
- Do not “expand the filesystem.”
- Finish raspi-config and reboot.
I’m trying to get a conceptual handle on what’s actually going on here, and my question is whether the virtual machine I’ve set up, which is running via vagrant after typing
vagrant ssh on the command line, is going to be the one that the pi is hooked into when it NFS boots. What exactly is that virtual machine for, and is it required for the pi to boot at all? In other words, for this next section of the tutorial to work, does my macbook ALSO need to be hard wired via ethernet into the router, and does my vagrant virtual machine have to be up and running before the pi will boot? OR is the virtual machine just a way for me to access the pi and cross compile?