Booting from SD-card

To make a SD-card bootable, follow these steps:

Format the SD-card

Using a suitable file system (such as FAT32 or EXT4) format the SD-card.

  1. Insert the SD-card into your computer. Use a USB-to-SD adapter if required.

  2. Open the File Explorer and right-click on the SD-card.

  3. Select Format from the drop-down menu.

  4. Select the desired file system (e.g., FAT32) and click Start.

  5. Click OK to confirm the formatting.

  1. Insert the SD-card into your computer. Use USB-to-SD adapter if required.

  2. Open the Disks application if you are using a GUI.

../../../_images/Disks-overview.webp

  1. Select the SD-card from the left panel.

../../../_images/Didsk-sdcard-show.webp

  1. if partition is already present in SD Card then, Click on the Delete selected partition icon and select Delete Partition.

../../../_images/Delete-selected-partition.webp

  1. After Deleting All partition we can see something like below.

../../../_images/deleted-all-patrtition-in-sdcard.webp

  1. Click on Next button.

../../../_images/Disk-next.webp

  1. Select the desired file system (e.g., FAT32) and click Create.

../../../_images/create-format-of-ext4.webp

  1. After the successful completion of the process, the SD card is formatted with the selected partition.

../../../_images/format-complate.webp

  1. Insert the SD-card into your computer. Use USB-to-SD adapter if required.

  2. Open the Disks application if you are using a GUI.

  3. Select the SD-card from the left panel.

  4. Click on the Additional partition options icon and select Format Partition.

  5. Select the desired file system (e.g., FAT32) and click Next.

  6. Click Format to confirm the formatting.

  1. Insert the SD-card into your computer. Use USB-to-SD adapter if required.

  2. Open the terminal and run the following command to list the available disks:

sudo parted /dev/sdX

Note

You can use the lsblk command to list the available disks.
In the above command, sd**X** is the name of the Storage drive.
`X` is the number of the Storage drive, it starts from a.
../../../_images/parted-overview.webp

  1. the following command to print the partition table:

(parted) print

../../../_images/parted-partitions-list.webp
  1. Delete the existing partitions using the following command:

(parted) rm 1
(parted) rm 2
...
  1. After deleting all the partitions, the partition table should look like this:

../../../_images/parted-deleted-partitions.webp

  1. Finally, quit the parted tool using the following command:

(parted) quit
  1. Insert the SD-card into your computer.

  2. Open the terminal and run the following command to list the available disks:

sudo fdisk /dev/sdX

Note

You can use the lsblk command to list the available disks.
In the above command, sd**X** is the name of the Storage drive.
`X` is the number of the Storage drive, it starts from a.
  1. Press d to delete the existing partition. Do this for all the partitions.

  2. After deleting all the partitions, the partition table should be empty.

  3. Finally, press w to write the changes to the disk.

Download the bootable image

Obtain the bootable image or operating system files for your desired platform.

Note

For Vaaman, you can download the bootable image from the Downloads page.
The bootable image is available in the SD-card section.

Write the image to the SD-card

Warning

Make sure you have selected the correct SD-card before writing the image.
Writing the image to the wrong SD-card will erase all the data on the SD-card.

You can use any disk imaging tool such as Etcher or Win32 Disk Imager to write the image to the SD-card.

For demonstration purposes, we will use the Balena Etcher tool to write the image to the SD-card.

  1. Open the Balena Etcher tool.

../../../_images/balena-start.webp

  1. Click on Select Image and select the image file.

../../../_images/balena-select-image.webp

  1. Click on Select Target and select the SD-card.

../../../_images/balena-select-storage.webp

  1. Click on Flash to start writing the image to the SD-card.

../../../_images/balena-start-flash.webp

  1. Once the writing process is complete, click on Done.

../../../_images/balena-flash-complete.webp
  1. Open the terminal and run the following command to write the image to the SD-card:

sudo dd if=/path/to/image of=/dev/sdX bs=4M status=progress; sync

Note

Replace /path/to/image with the path to the image file.
You can use the lsblk command to list the available disks.
In the above command, sd**X** is the name of the Storage drive.
`X` is the number of the Storage drive, it starts from a.
  1. Wait for the writing process to complete.

  2. Once the writing process is complete, Safely eject the SD-card from your computer.

Boot from the SD-card

After writing the image to the SD-card, follow these steps to boot from the SD-card:

  1. Safely eject the SD-card from your computer.

  2. Insert the SD-card into your Vaaman SBC.

../../../_images/vaaman-sdcard-insert.webp

  1. Power-on the device to initiate the boot process from the SD-card.

Connect the PD cable to the Vaaman SBC and the PD adapter to the power socket. Once the power is connected, the board will automatically turn on.

Danger

12V Power Input only! Do not use 5V power input.

../../../_images/Power_option.webp