expand your beaglebone black micro sd card space
DESCRIPTION
Hi all, Here you can find simple steps to expand the micro SD card space and use the full potential space in the SD card.TRANSCRIPT
#9/3,Shree Lakshmi complex,2nd
Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085.www.tenettech.com
2013
Author: Praveen Kumar R
Email ID:[email protected]
Expanding the File System Partition on a SD card in BeagleBone Black
#9/3,Shree Lakshmi complex,2nd
Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085.www.tenettech.com
Introduction:
In this tutorial we will explain how to expand the space in external micro SD card
used by the file system in your BeagleBone Black.
Why we are expanding the File System Partitions?
Generally storage devices needs some strucutre that allows the operating system to
locate and create new files.This is done by using Partitions and File systems. A partition is a
section of a storage device, which is formatted with a File System, onto which the operating
system creates a directory structure.By expanding the File Systems in the micro SD card we
can utilize the rest of the place for storage purpose.
Steps for Expanding the File Systems in External SD card
Step 1: Insert the SD card in to your Beaglebone Black and boot it.After login,open your terminal.First become a super user from the command prompt of your beagleboneblack OS. $ sudo su If you don‟t want to go super user mode just add „sudo‟ infront of all the commands which we are going to use. Step 2: Ensure the available volumes on the SD card.Depending on your linux version it will show like this.I am running Debian with GUI(Debian installation steps click here)
$ ll /dev/mmcblk*
#9/3,Shree Lakshmi complex,2nd
Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085.www.tenettech.com
Step 3: To manage a Disk partitions we have to use fdisk command . $ fdisk /dev/mmcblk0 Then enter „p’ it should show a print statement.It prints the size of your SD card.Depending on the size of your SD card ,values may change.
Step 4: Enter “d” command to delete a partition and mention the partition number as „2‟ .Entering 'p' again will show that you have deleted /dev/mmcblk0p2
Step 5: Now create a new partition by entering „n‟ then „p‟ and then „2‟ *nnew partition *pprimary (partition type) *2partition number
#9/3,Shree Lakshmi complex,2nd
Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085.www.tenettech.com
Step 6:
You can enter 'p' again to see that the /dev/mmcblk0p2 has been re-appeared.
Step 7: If everything goes fine enter „w‟ to commit your changes or if you are finding any error ,Ctrl+z to stop the process.
#9/3,Shree Lakshmi complex,2nd
Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085.www.tenettech.com
Step 8: Reboot your system. $ reboot
Step 9: After rebooting you need to expand the file system.Enter the command „df‟ (remember: should be a super user). df displays the total space and free space avaiable on your system. Step 10: Then enter the following command to expand the file system.(It take some time to complete)
$ resize2fs /dev/mmcblk0p2 After completing the process again type „df‟ to check the space available.Now you can
access full space of your SD card.
Placing an order
Beagleboneblack
Micro HDMI to HDMI female adapter
For Training
For queries: [email protected]
Contact: 080-26722726