- Find the device
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 3,7G 0 disk
├─mmcblk0p1 179:1 0 11M 0 part /media/christoph/74C5-8858
└─mmcblk0p2 179:2 0 3,7G 0 part
So our SD-card is /dev/mmcblk0.
- Unmount its partitions
sudo umount /dev/mmcblk0p1
sudo umount /dev/mmcblk0p2
- Optional: Clear the SD-card by recreating the partition table. Fdisk will also tell you the sector size.
sudo fdisk /dev/mmcblk0
--> o
--> w
- Copy the image onto the device using dd. When your sector size is 512bytes, you can leave out the "bs=1M" in the following command.
sudo dd if=./wandboard-all-ubuntu-16.04-sdcard-20160525.img of=/dev/mmcblk0 bs=512 status=progress && sync
- Checking file system
sudo fsck /dev/mmcblk0p2
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.