How to change Ubuntu into Lubuntu?

I want to install Lubuntu on my old desktop with 128MB of RAM. As the memory is not enough to run the graphical installer, I had to follow the minimal install from a minimal.iso file as described here. However, halfway through the installation when the installer asked me which software I wanted to choose (the list that includes mail server, openssh server...) I chose ubuntu-netbook. That was stupid, because my RAM is really too bad for anything standard.

Now let's say I have Ubuntu (actually the netbook thing, but that doesn't make any difference in this question I think). I have also installed lubuntu-desktop so I have Lubuntu as well. How can I remove the things that came with Ubuntu, to keep only a fresh Lubuntu installation?


Solution 1:

Run the following command in terminal:

sudo apt-get install lubuntu-desktop

This may change the GUI to a lightweight Graphical interface. Although it DOES NOT make it Lubuntu.

Lubuntu has less services, less resource consuming applications, and an overall smaller size when compared to Ubuntu.

GRUB 2 will recognize the system installed; I believe the root question is:

"Can I replace my current Linux install with Lubuntu, keeping the current partitions and data intact?"

The answer is Yes.

Once you boot from the Lubuntu Live CD and choose to install, Lubuntu will recognize this install and ask you if you wish to replace with Lubuntu 'keeping data where it can' and erase everything else.

I suggest the tech savvy individuals to play with Grub in a VM before attempting anything of this nature on your real system, and also of course backing up everything. It gets confusing when dealing with multiple installs, where to install Grub and mount points. Boot manager inside Linux can help after an install as well.

If you are somewhat tech savvy I also suggest creating your own partitions manually in the future with a /home directory; use Gparted to see how Ubuntu has currently setup your HDD and use that as a template to improve upon.

In your case the memory of your system is too low for the Lubuntu GUI install as 256MB is recommended if I recall. But hopefully this will help someone else with a similar issue.

Solution 2:

Your best bet, to avoid a load of possibly faulty work, is to reinstall, and choose not to install anything extra. Then when it boots, and you log in, you can run sudo apt-get install lubuntu-desktop from the command line. When this completes, run sudo reboot to restart. Lubuntu should now be what you see on starting your system.