Install an OS on an SD card

Last updated: 2020-09-14

1. Find the path to your SD card

Insert your SD card in your computer and run:

$ sudo fdisk -l
    Disk /dev/sdb: 14,9 GiB, 15931539456 bytes, 31116288 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x0fcc6046

Look up for your SD card and note its path. Here the path to our SD card is /dev/sdb.

2. Write OS to the SD card

$ sudo dd bs=4M if=path/to/os.img of=/dev/sdb conv=fsync

Write OS to SD card using for example Win32DiskImager

See also

[email protected]