Skip to content

Instantly share code, notes, and snippets.

@MehdiTAZI
Created December 8, 2017 11:14
Show Gist options
  • Select an option

  • Save MehdiTAZI/d12bdac03fa689fe7cc931b130078642 to your computer and use it in GitHub Desktop.

Select an option

Save MehdiTAZI/d12bdac03fa689fe7cc931b130078642 to your computer and use it in GitHub Desktop.
create partition from freespace for raspberryPi raspbian based on Noobs
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