Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/resize linux rootfs"

(Created page with "The default size of lubuntu firmware's roofts is about 2.0G, it's too small, you can do as follows to expends it 1: For Nand image If you flash the image on nand flash, you c...")
 
Line 1: Line 1:
The default size of lubuntu firmware's roofts is about 2.0G, it's too small, you can do as follows to expends it
 
  
 +
'''The default size of lubuntu firmware's roofts is about 2.0G, it's too small, you can do as follows to expends it.
 +
'''But there are two kinds of firmware, one is for nand,and another one is for sdcard. So you should use different method to do it'''
 +
 +
 
1: For Nand image
 
1: For Nand image
 
If you flash the image on nand flash, you can execute the below command on the terminal  in the board's lubuntu system
 
If you flash the image on nand flash, you can execute the below command on the terminal  in the board's lubuntu system
Line 13: Line 16:
 
If you use the sdcard's image, you should put the sdcard into  a card reader ,and put the card reader into PC and resize the partations
 
If you use the sdcard's image, you should put the sdcard into  a card reader ,and put the card reader into PC and resize the partations
  
1: For PC with Linux
+
 
 +
 
 +
a) For PC with Linux
  
 
Use gparted   
 
Use gparted   
Line 25: Line 30:
 
[[File:wiki_resize_sd_3.jpg]]
 
[[File:wiki_resize_sd_3.jpg]]
  
2: For PC with windows
+
b) For PC with windows
 +
 
 +
//No useful methods has found.

Revision as of 04:39, 20 December 2014

The default size of lubuntu firmware's roofts is about 2.0G, it's too small, you can do as follows to expends it. But there are two kinds of firmware, one is for nand,and another one is for sdcard. So you should use different method to do it


1: For Nand image If you flash the image on nand flash, you can execute the below command on the terminal in the board's lubuntu system

 "resize2fs /dev/block/mtd/by-name/linux-root " 

to expand the rootfs


2: For sdcard image

If you use the sdcard's image, you should put the sdcard into a card reader ,and put the card reader into PC and resize the partations


a) For PC with Linux

Use gparted

  1. sudo gparted /dev/sdb

Wiki resize sd 1.jpg

Wiki resize sd 2.jpg

Wiki resize sd 3.jpg

b) For PC with windows

//No useful methods has found.