Skip to content

Instantly share code, notes, and snippets.

@folklore
folklore / gist:abd4df9563ad0a26ddb7dcce7bc42155
Created February 25, 2017 17:29
Manually resizing the SD card using a GUI with GParted
Manually resizing the SD card using a GUI with GParted
If you are using a PC with a linux distribution to resize the partitions, you can run GParted to resize the partitions using a GUI. This method is tested on Ubuntu 10.10 using the Gnome desktop. Versions of GParted differ slightly in their GUIs. For Windows users, it is also possible to follow the same procedure (less the installation) using the live version of GParted (GParted Live CD/USB/PXE/HD).
GParted can be installed using:
sudo apt-get install gparted
Note: I had to physically remove and re-insert the SD card from the card reader after writing the image before the partitions were recognised properly and the following could be done.
Start GParted (on my system it is [System]->[Administration]->[GParted Partition editor]).
Select the drive corresponding to your SD card (was /dev/sdh/ on my system). You now see the partitions mentioned above (with some tiny unallocated areas in between and a large one after).
@folklore
folklore / 00.howto_install_phantomjs.md
Created February 23, 2017 07:48 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev