Presentation is loading. Please wait.

Presentation is loading. Please wait.

Partitioning the SD card ● First of all remember that check the drive which you are formatting otherwise you will loose all your data, “SDA” is reserved.

Similar presentations


Presentation on theme: "Partitioning the SD card ● First of all remember that check the drive which you are formatting otherwise you will loose all your data, “SDA” is reserved."— Presentation transcript:

1 Partitioning the SD card ● First of all remember that check the drive which you are formatting otherwise you will loose all your data, “SDA” is reserved for your hard disk. ● The memory card you connect will become either “SDB” or “SDC” etc., check first using command – # lsblk (lists all the block devices) ● Check your drive then continue further.

2 Partitioning SD Card ● Use fdisk command to enter your drive – # fdisk /dev/sdb (After this a sub menu is displayed) ● Enter m for help : ● : d (to delete the existing partition) ● : n (to create new partition) – : p (for primary partition) – : partition number : 1 – : First Sector : Default – : Last Sector : +128M (else it will take entire disk)

3 ● : n (for Second partition) – : p (choose primary partition) – : partition number : 2 – : First Sector : Default – : Last Sector : Default (it will take entire disk after first partition)

4 Changing Partition ID and Toggle Flag ● Changing Partition's system ID – : t ( Change Partiton's system ID) ● Partition Number : 1 ● L(to display list of codes) : l(A list is displayed with partitions) ● : c (for FAT32 LBA) – : a (toggle Boot Flag) ● Partition Number : 1 – : w (write changes to disk)

5 Formatting Partitions ● We must format primary partition 1 with vfat so we use command – # mkfs.vfat -F32 /dev/sdb1 ● For Second Partition you can use any file system but best to choose ext file system – # mkfs.ext4 /dev/sdb2


Download ppt "Partitioning the SD card ● First of all remember that check the drive which you are formatting otherwise you will loose all your data, “SDA” is reserved."

Similar presentations


Ads by Google