4MLinux is a small Linux distribution that caters to the four M’s, which in this case are Maintenance (system rescue Live CD), Multimedia, Miniserver and Mystery (i.e. games). Each of the M’s has its own special version of 4MLinux, so there is “4MLinux Server Edition,” “4MLinux Rescue Edition,” and so on. Or you can download the All-in-one version which combines all four. The 4MLinux review here will discuss the all-in-one version.
4MLinux doesn’t require very many system resources. The default desktop environment takes less than 64MB of RAM and less then 1GB of disk space when fully installed. To achieve such a small memory foot print, 4MLinux uses JVM (Joe’s Window Manager) rather than the more memory hungry desktop environments like GNOME or KDE.
Download the “4MLinux Allinone Edition” .iso file from the 4MLinux download page. Burn it onto a disc and boot your PC from the disc. 4MLinux will boot as a Live CD. To install 4MLinux to a hard disk, use the supplied Installer. Click on the menu button (the pair of footprints) and then navigate to 4MLinux -> Installer.
The installer won’t create any partitions for you; it expects you just to tell it which partition to use. On my test system, the primary hard disk had no existing partitions. Before I ran the installer, I used the included copy of GNU Parted to create an ext4 partition and a swap partition. Alternatively, you could use “fdisk” from within a terminal window. For more information on using fdisk, see the Managing Hard Disk Partitions Using fdisk tutorial.
You can actually specify any target partition (even NTFS or Linux swap), but be warned, whatever partition you pick will be re-formatted to ext4, and all the data on the partition will be lost. One thing to note is that although the Installer will actually reformat the partition, it expects the partition to already have a file system on it. If it doesn’t, then the installer will fail with an error about not being able to mount the target partition. If you come across this problem, just create a dummy file system on the target partition like this:
Where “/dev/sda1” is the target partition.
Once you have selected your target partition, you will need to confirm that you want the partition formatted. You will then need to tell the Installer if 4MLinux will be the only operating system on your PC. If you are trying to build a dual-boot system, be sure to answer no when asked, “Is 4MLinux to be the only operating system in your PC (y/n)?”
Before the installation starts, the Installer will list a summary of the changes which will occur (e.g. that the target partition will be re-formatted and so on). Confirm the changes list to start the installation. The install is all text-based and should happen fairly fast. Close the Installer window and then reboot (without the disc in the optical drive).
The first time you boot, 4MLinux will continue to install some additional files and it will then ask you to set the root password.
When the “4MLinux” prompt appears, enter “root” and then at the next prompt the password you just set. To switch to the desktop environment, type:
The pre-installed software on 4MLinux is divided into one of the different M categories (Maintenance, Multimedia, Miniserver and Mystery). Some of the software is native, like the default web browser QupZilla, but some of the software is provided via Wine. So if you want to run Firefox, then 4MLinux will download and install the Windows version.
The same is true of programs like PuTTY (the excellent SSH client), 7-Zip, Audacity and InfraRecorder. If there are any missing prerequisites, like the Microsoft .NET runtime, the installer will automatically download them.
4MLinux also offers a number of “Extensions”, which basically means downloads from the 4MLinux repository. The current set of extensions is quite limited with LibreOffice, VirtualBox, Development and the Java Runtime Environment (JRE). But since this is a mini-distro, the inclusion of these packages is actually more than one might expect and a very useful feature.
Overall 4MLinux is fast and functional. The different “M” editions will certainly find their niche, and the All-in-one edition is quite useful, especially for use as a portable distro on a USB flash drive or to revive an aging PC.
If you need any help with 4MLinux, the project’s lead developer has a 4MLinux-related blog. Also you can ask any 4MLinux related questions in the comments section below and we will see if we can help.