One might think it's easy task to download the latest Raspbian (with GUI included), write it on an SD card and fire up Raspi. Well, I only had a 4 GB SD card. Bummer! A 8 GB SD card is required nowadays. The image fits no more on an a 4 GB card.
So I was forced to:
- Write the image of Raspbian Lite on an SD card and install Raspbian Lite (with no GUI)
- Download and install the rest (GUI and some assisting software)
Follow these steps to make Raspbian with GUI fit on a 4 GB SD card:
- Download the latest Raspbian Lite here: https://www.raspberrypi.org/downloads/raspbian/
- Write Raspbian Lite on a 4 GB SD card and boot your Raspi (any Raspi will do)
- Login and type-in the following command: sudo raspi-config
- Once inside raspi-config localize your Raspbian, use Turbo mode to over-clock your raspi, reduce screen memory to 16 MB and let Raspbian populate the whole SD card etc.
- Update and upgrade Raspbian:
- sudo apt update
- sudo apt upgrade
- Install xserver: sudo apt-get install --no-install-recommends xserver-xorg
- Install xinit to make xorg display server to launch: sudo apt-get install --no-install-recommends xinit
- Install lightdm: apt install lightdm (apt purge lxde removes lxde which is not needed)
- Install bare bone version of Pixel Desktop, terminal app and Recycle Bin: sudo apt-get install --no-install-recommends raspberrypi-ui-mods lxterminal gvfs
- Install GUI version of raspi-config: apt-get install rc-gui (may need reboot after install)
- Now, thumbs up and reboot!
What about the hard disk and memory consumption? Try the following commands:
- To find out the amount of free RAM memory: free -m
- To find out how much free space is left on hard disk: df -h
How is it? Does it work? All's well! The OS is steady, a bit sluggish though. On the other hand there is a lot of room for software left on SD card since I never installed for example LibreOfffice or Wolfram. My Raspbian is a slimmed down version - only the necessities are there! Pixel Desktop which I'm used to is there as well. In fact, I'm really pleased with my Raspbian.
Did I figure out all of this by myself? Nope. I followed other users instructions found on the Internet. Here you are, some additional reading: https://www.raspberrypi.org/forums/viewtopic.php?t=133691
The good ole Pixel Desktop!
1st generation Raspberry Pi
with only 256 MB of RAM
Pixel Desktop up and running!
Still some memory and HD left!