When I install new Lubuntu NAND image to my new Cubieboard2 I had only 2GB of space out of 4GB available.
I followed this forum to expand the filesystem to 4GB.
sudo nand-part
In my case I used this nand-part command:
sudo nand-part -f a20 /dev/nand 32768 'bootloader 131072' 'rootfs 7569408'
the number in bootloader is the same as previous partition size.
The number in rootfs is the sum of previous partition size of partition 2 and partition 3 that we wanted to merge.
After the reboot, the df -h before and after the resize:
Note:
You can also try gparted (sudo apt-get install gparted) to allocate free space, but I think that gparted needs unmounted partition to work with it and we have our nand mounted so I haven’t even tried it. Leave a note if there is easier way to extend nand partition.
Related Posts
DLNA media server on Cubieboard with Lubuntu
I have installed Lubuntu on my new Cubieboard 2. I have also attached HDD to SATA so I have more space to store my media. This posts describes the steps needed to install and configure[…]
Continue reading ...
Cubieboard and 2.00mm vs 2.54mm pins
Cubieboard has thickness 2.00mm 2×20-pin-header that is not so suitable for home hobbiest. Arduino and other small boards uses 2.54mm pin (0.100inch) To connect it I have bought 2.00mm to 2.54mm 40pcs Wire Cable 2P[…]
Continue reading ...
Cubieboard2 – Lubuntu – Xterm Copy/Paste
As you can find out the normal copy paste is not working in Lubuntu Xterm.This blog: http://www.davidsimmons.com/soft/xtermhacks/ looks to me too complicated. I just have to get used to my mid mouse button that will copy+paste the[…]
Continue reading ...