Created
December 8, 2017 11:14
-
-
Save MehdiTAZI/d12bdac03fa689fe7cc931b130078642 to your computer and use it in GitHub Desktop.
create partition from freespace for raspberryPi raspbian based on Noobs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create partiton --> fdisk /dev/mmcblk0 | |
| --> print partition by typing p | |
| --> print Free partition info by typing F | |
| --> create new partition by typing n | |
| --> choose the default value | |
| --> chose another time the default value | |
| --> entrer the start and end of new volume according to step 1.2 ( Free space information ) | |
| --> print again the partition information ( you should see a new partition created ) | |
| --> save the partition by pressing ( w ) | |
| reboot --> restart the machine | |
| apply the filesystem type to the partition --> mkfs -t ext3 /dev/newpartition | |
| create a path to bind with the new partition --> mkdir /mydirectory | |
| bind the a new path with the previously created partition --> mount /dev/newpartition /mydirecotry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment