RaspberryPi Boot Card Creation

This manual describes how to prepare and create a bootable SD Card from the downloadable IAC-BOX RaspberryPi Installer on Windows and Linux based operating systems.

Hint

  • All existing data on the SD Card will be deleted during this operation!

  • For better performance please use SD Card with minimum size of 128 GB

Partitioning using Disk Management for Windows

To prepare the Boot Card with Microsoft Windows operating system it is recommended to use the Disk Management, which already in Windows 10 system by default. Now start the Disk Management with right-click on the Start Menu, and then choose Disk Management so that the following window opens.

../_images/sdcard_boot_1.png

Scroll the lower section of the window and find Disk with type Removable under disk name.

Delete all partitions exist in the SD Card, with right-clicking on each of all allocated partition, then choose Delete Partition so it will become single Unallocated partition.

Right-click on the disk partition, then click on New Simple Volume and Simple Volume Wizard pop-up will open, click Next on it, and this will be displayed

../_images/sdcard_boot_2.png

Click Next, and Assign Drive Letter or Path window will be displayed

../_images/sdcard_boot_3.png

Click on the Assign the following drive letter and click Next.

Hint

  • Please note this drive letter for future use

Then Format Partition option like below will be displayed

../_images/sdcard_boot_4.png

Choose Do not format this volume and then click Next, confirmation will be displayed and then click Finish on it.

Will back to Disk Management window

../_images/sdcard_boot_5.png

Right-click on the Partition, and click on Shrink Volume… will open Shrink dialog where partition size can be specified

../_images/sdcard_boot_6.png

Enter the amount of space to shrink in MB according to the SD Card size, so the Total size after shrink in MB will be around 2000 and then click Shrink. Confirmation popup will open, and just click Yes to confirm.

And Disk Management will be displayed again with the SD Card being partitioned to two one with RAW type, and the other one will still Unallocated

../_images/sdcard_boot_7.png

Right-click on the RAW partition, then click Format will pop-up Format dialog

../_images/sdcard_boot_8.png

Enter the Label and choose File system as FAT32 then click OK

Clicking OK again on Format confirmation popup will finish the partition steps.

Partitioning using Linux CLI

If you are using a linux based operating system we recommend using the fdisk command-line utility. Because this command need root privilege, we must use sudo in the command. After inserting SD Card into your Linux machine, these steps can be continued

Issue command below to entering fdisk utility

sudo fdisk /dev/mmcblkX

Attention

  • Typing mistakes and wrong usage of device nodes, or other usage errors, for example using the wrong volume (device), can cause irreparable damage to the system!

After entering fdisk Command you can enter this sequence in order. Except for p (Print Partition) Command are optional, so it can be skipped

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
p
d
n
p
1
2048
+2G
t
c
p
w

Meant for delete all existing partitions on the SD Card d (Delete Partition) Command can be repeated as needed.

../_images/sdcard_boot_9.png

After those steps, format the partition using command, and it will be last step for paritioning SD Card in Linux

sudo mkfs.fat -F 32 /dev/mmcblkXp1 -n IACBOX

Then you can mount the disk to some mount-point

mount /dev/mmcblkXp1 mount-point

Extract downloaded IACBOX Installer

Extract files from downloaded IACBOX archive to drive (Windows), or mount-point (Linux).

Hint

  • If you use temporary extraction folder, please make sure to copy all files to SD Card, including hidden files