Pages

domenica, febbraio 07, 2016

Expand Partition SD on Ubuntu Mate 15.10 in Raspberry PI 2




























Open Terminal Command

Type this: 
sudo fdisk /dev/mmcblk0
insert your password 

Delete partition

Command (m for help): <----    
Partition number (1,2, default 2):
<----


Partition is deleted

Partition 2 has been deleted.

Create new partition
Command (m for help): n  <----
Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): p
<----
Partition number (2-4, default 2): 2
<----

Press Enter For total size
First sector (133120-31116287, default 133120):   ENTER  <----
Last sector, +sectors or +size{K,M,G,T,P} (133120-31116287, default 31116287):

Created a new partition 2 of type 'Linux' and of size 14,8 GiB.
: ENTER
<---


Close fdisk  type w
Command (m for help): <----
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).


Reboot System
sudo reboot  <----



Open Terminal Command

Type this: 
sudo resize2fs /dev/mmcblk0p2
insert your password 
 Finish




Nessun commento: