Introduction to Plamo Linux
Welcome, intrepid Linux adventurer! If you’re looking for a lightweight, flexible and fun-to-tinker distribution, Plamo Linux is your hidden gem. Originating in Japan, Plamo offers a classic Slackware-style approach with its own package manager (spkg) and a truly DIY spirit. In this tutorial, we’ll guide you step by step through downloading, installing, configuring and customizing Plamo Linux. Buckle up for a mix of seriousness and humor—after all, installing Linux should be an adventure, not a chore!
Why Choose Plamo Linux?
- Lightweight: Minimal defaults, so you install only what you need. No unnecessary bloat.
- Learning Experience: Manual tweaks and a simple package format make you learn the internals.
- Stability: A seasoned community maintains rock-solid packages.
- Customizability: From your kernel to your window manager, everything is in your hands.
Prerequisites
- A spare machine or virtual machine (e.g., VirtualBox, VMware).
- At least 2 GB RAM (4 GB recommended) and 10 GB disk space.
- Internet connection for downloading ISOs and packages.
- Basic familiarity with BIOS/UEFI and partitioning.
Step 1: Downloading Plamo Linux
Head over to the official site and grab the latest ISO: https://plamolinux.org/. You’ll find two main flavors:
- Core ISO: Minimal install (around 200 MB). Good for advanced users.
- Full ISO: Includes base system popular packages (~1 GB).
Choose the one that tickles your fancy (or your disk space). Download the ISO to your workstation.
Step 2: Verifying the ISO
Never skip this! Even the Internet gremlins make mischief. Check the SHA256:
sha256sum plamo-.iso
Compare with the .sha256 file on the mirrors. If they match, you’re gold. Otherwise, try again or blame the gremlins.
Step 3: Creating a Bootable USB
On Linux:
sudo dd if=plamo-.iso of=/dev/sdX bs=4M status=progress sync
On Windows, use Rufus or Etcher. Please triple-check /dev/sdX or you might wipe your pet project drive!
Step 4: Booting the Installer
Reboot your machine with the USB plugged in. In BIOS or UEFI, select the USB device. You’ll see a simple text-based menu:
- Install Plamo
- Memory Test (optional, but good for checking RAM gremlins)
- Boot from Hard Disk
Select “Install Plamo” and press Enter. The installer environment loads in a familiar Slackware-like console.
Step 5: Partitioning Your Disk
You have two approaches:
- Automatic (cfdisk): For most users.
- Manual (fdisk, parted): For power users who like living on the edge.
Recommended Partition Scheme
| Partition | Size | Type | Mount Point |
|---|---|---|---|
| /boot | 512 MB | ext4 | /boot |
| / | 10–20 GB | ext4 | / |
| swap | 2–4 GB | swap | — |
| /home | rest | ext4 | /home |
Once partitioned, write changes and exit.
Step 6: Formatting Partitions
Run:
mkfs.ext4 /dev/sdX1(/boot)mkfs.ext4 /dev/sdX2(/)mkswap /dev/sdX3andswapon /dev/sdX3mkfs.ext4 /dev/sdX4(/home)
Step 7: Mounting and Base Installation
Mount your root partition:
mount /dev/sdX2 /mnt
Create directories and mount others:
mkdir /mnt/boot /mnt/home
mount /dev/sdX1 /mnt/boot
mount /dev/sdX4 /mnt/home
Now run the installer script:
sh install.sh /mnt
The script will extract core packages. Grab a coffee or tell a pirate joke it may take a few minutes.
Step 8: Configuring the System
Chroot into Your New Plamo
chroot /mnt /bin/bash
Basic Settings
- Timezone:
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime - Locales: Edit
/etc/locale.gen, uncommenten_US.UTF-8, thenlocale-gen. - Hostname: Add name in
/etc/HOSTNAMEand map it in/etc/hosts. - Root Password:
passwd
Step 9: Bootloader Installation
Plamo uses LILO by default:
- Edit
/etc/lilo.conf, setboot=/dev/sdX, root=’/dev/sdX2’. - Run
lilo. No news is good news if LILO complains, fix the typo!
Step 10: Reboot and First Login
Exit chroot (exit), unmount (umount -R /mnt), then reboot (reboot). Remove the USB and watch as your brand-new Plamo Linux boots. Log in as root.
Step 11: Networking and Package Management
Enable Networking
For DHCP:
dhcpcd eth0
For static IPs, edit /etc/rc.d/rc.inet1.conf.
Using spkg
Plamo’s simple script-based package manager is called spkg. Common commands:
spkg install packagename.tgzspkg upgrade packagename.tgzspkg delete packagenamespkg search keyword
Mirrors can be found at http://ftp.plamolinux.org/pub/plamo/.
Step 12: Installing a Desktop Environment
Plamo ships with minimal Xorg. To get a GUI:
- Install Xorg:
spkg install xorg-server.tgz xorg-client.tgz - Pick a window manager (e.g., FLUXBOX, Openbox):
spkg install fluxbox.tgz - Create
~/.xinitrcwithexec fluxbox. - Start GUI:
startx.
Step 13: Post-Install Tweaks Customizations
- Enable Services: Edit
/etc/rc.d/rc.Mto start network, sshd, etc. - Add Users:
useradd -m -G wheel username, thenpasswd username. - Sudo: Install
sudo.tgz, configure/etc/sudoersviavisudo. - Firewall: Set up iptables or ufw.
- Visuals: Play with conky, desktop wallpapers, theming, prompt customizations.
Troubleshooting Tips
- If network fails, check
/etc/rc.d/rc.inet1.confand/etc/resolv.conf. - If LILO doesn’t boot, confirm
boot=device and runliloagain. - Facing missing libraries? Rebuild packages or run
ldconfig. - Check logs under
/var/logfor Xorg, system, and kernel messages.
Advanced Usage
- Custom Kernel: Grab
kernel-sources.tgz, tweak/usr/src/linux, thenmake menuconfig,make make modules_install cp arch/.../bzImage /boot. - Automated Builds: Write simple scripts to build your own .tgz packages via spkg’s guidelines.
- Containerization: Explore chroot or docker on Plamo for isolated environments.
Conclusion
Congratulations! You’ve wrestled with partitions, befriended spkg, and tamed the mighty Plamo Linux. This distribution rewards curiosity: the more you dig, the more you learn. Remember to keep your system up to date, contribute back to the community, and above all, have fun. After all, if you’re not laughing at a typo-induced kernel panic, are you really living on the edge?
Happy hacking, and may your prompts always return zero!
Leave a Reply