Lazyux - building a 64-bit static Puppy

A home for all kinds of Puppy related projects
Message
Author
User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

Lazyux - building a 64-bit static Puppy

#1 Post by Iguleder »

:arrow: This topic is outdated. The latest version of Lazyux is always located here.

Overview

Lazyux is an experimental distro similar to pUPnGO: it's a tiny, Puppy-like distro.

It's in early development, but it already boots and reaches a working desktop. Networking works, but only if you're familiar with command-line networking tools such as dhcpcd :lol:

Goals

- Find new, efficient ways to implement a "Puppy".
- Provide a testing ground for research and cool, new features for woof-CE (for example, better compression), which benefit all Puppy variants.
- Reduce Puppy's footprint and make it easier to develop truly minimalistic puplets, by developing lightweight, drop-in replacements for commonly-used packages (i.e a lightweight, yet compatible /bin/sh replacement).
- Make Puppy more sustainable, by providing an automatic building infrastructure of small, static binaries, for use with multiple Puppy versions.
- Have some R&D fun :lol:

Eventually, the ultimate goal is to allow the building of a 64-bit, fully static Puppy with the same selection of packages, using woof-CE. Is this possible? I don't know, let's try out. Is this cool? definitely!

Features

- Built automatically, from source.
- Uses the most recent versions of packages, where possible.
- 64-bit; supports both BIOS and UEFI and does not depend on 3D acceleration.
- Free: follows the latest LTS branch of Linux-libre, 3.10.x.
- Lightweight: uses musl instead of glibc, lazy-utils instead of BusyBox and eudev, loksh instead of Bash, tinyxserver instead of X.Org and so on.
- Provides a classic JWM and ROX-Filer desktop.
- Comes pre-loaded with a variety of applications: a browser, an e-mail client, an audio player and much more. These applications already work in Puppy.
- Has a strong, geeky, Damn Small Linux-like, retro feel.

Missing Features

- Package management (in progress).
- Configuration wizards (e.g for setting up a network connection).
- Multi-user support.
- WiFi and DHCP support is included, but some useful network tools (e.g netstat) are missing.
- A 32-bit flavor (needs a kernel configuration - everything else is already in place).
- A graphical browser that doesn't crash every 5 seconds (just try Dillo, it's funny).

Requirements

Lazyux requires a x86_64 processor, 32 MB of RAM and a GPU with an in-tree driver that support KMS (not-too-old Intel GPUs, some Radeon cards, nVidia cards supported by Nouveau).

Building Lazyux takes about 50 minutes on my Acer C720P and should work on pretty much any modern x86_64 distro. However, it requires several packages and tested only against Debian. It is known to work against the latest stable version (7) and the experimental branch.

Download

This is a development snapshot - use at your own risk!

ISO: lazyux-26042014.iso (53 MB)
MD5: e99be16147d0e8f6d7981fd5b2f8bb05

Running

In order to run Lazyux, you'll have to either burn the ISO image or dd it to a flash drive (be careful!). Then, boot your computer from the bootable media.

The user is root, the password is also "root".

Changelog

31/3/14 - first upload
26/4/14 - fixed crashes in Beaver, new JWM configuration, more features in mtPaint, package updates, added support for parallel building, added squashfs-tools, diffutils, patch, bc and dialog, updated to the latest lazy-utils (with sed and file), added a "Suspend" menu entry, added GtkDialog1, added Flattr icons and removed unneeded files from the ISO

Building

First, install packages required for the building process:

Code: Select all

apt-get install build-essential autoconf automake autotools-dev autoconf-archive unzip flex bison git nasm xorriso squashfs-tools pkg config librsvg2-bin file subversion bc xfonts-utils dosfstools mtools
Then, build the latest version of Lazyux:

Code: Select all

git clone https://github.com/iguleder/lazyux.git
cd lazyux
make
The generated, bootable ISO image will be placed in the working directory.

All the built packages are archived in the built_packages directory and can be used with a 64-bit Puppy (FatDog or Slacko64). All applications are static binaries, so most of them are a single, static executable that "just work" (i.e mtPaint).
Attachments
apps.png
(31.09 KiB) Downloaded 413 times
desktop.png
(7.87 KiB) Downloaded 416 times
menu.png
(4.04 KiB) Downloaded 941 times
Last edited by Iguleder on Thu 29 May 2014, 21:42, edited 5 times in total.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#2 Post by 01micko »

Posted from Lazyux :)

Dillo is kind of OK if you start it from terminal emulator with URL as arg.

Damn, can't add attachment. Can't get screen cap out of the box! Oh well, nice job anyways.

Oh, blackscreen on my radeon video, ok on intel.

EDIT: took a crappy phone cam snap
Attachments
lazyux.jpg
(62.46 KiB) Downloaded 2151 times
Puppy Linux Blog - contact me for access

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#3 Post by Iguleder »

Here's a taste of the next snapshot :wink:

Taken on my good ol' Eee PC 1001PX. No matter what I do, RAM usage doesn't go beyond 51 MB :lol:
Attachments
screeny.png
(35.88 KiB) Downloaded 566 times
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#4 Post by dejan555 »

Here's how that convo looked from my side :)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

IlluminatiPL
Posts: 27
Joined: Sun 16 Feb 2014, 14:23

#5 Post by IlluminatiPL »

That's newest glibc...? (maybe in musl is will be compatibile but I will be running at Chromium Waterfall at glibc 2.15)
When It's a awesome if I Replace Slacko64 [glibc 2.15]
Beside,When it's that's works for LiveUSB?

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#6 Post by Iguleder »

It uses musl instead of glibc. Forget about replacing Puppy or Slackware with this distro.

And yes, it supports live USB, using dd.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#7 Post by Ted Dog »

website is blank... :cry:

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#8 Post by Iguleder »

Great news - I got gtkdialog1 to work nicely and I wrote a wireless network configuration tool (a GUI wrapper for iw, wpa_passphrase, wpa_supplicant and dhcpcd).

Now, I'm working on a PPM-like package manager. I ported OpenBSD's awk so it runs on Lazyux, so I can reuse code from roar-ng II to make the package manager capable of downloading packages of pretty much any distro. If that ain't enough - everything is static, so theoretically, Lazyux should support packages from any distro without any conflicts.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#9 Post by Aung »

Iguleder
I tried your Lazyux but it dont fully boot on a laptop. Gets to the part where one needs to type root but the keyboard dont work (not until I press the enter key but then its too late, the damage is done. I was hoping to have a quick loading Puppy to use for internet banking ect, Fatdog takes 2.5 minutes to boot on this laptop, 24 spin CD read. Cheers

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#10 Post by Iguleder »

Are you sure you entered "root" and pressed ENTER?
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#11 Post by Aung »

Iguleder
When it gets to the login the keyboard dont work. Even tried it with a USB keyboard and mouse.
But after hitting enter the curser goes down to the next line then the keyboard works, but then its too late because the typing is not on the login line. Why do you have a login, other Puppies dont have that when booting.
Cheers

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#12 Post by Aung »

Iguleder
Have you given up on your project. There is a big gap in Puppydom for a SECURE 64 bit Puppy that boots quickly. Configure Lazyux so it can boot from a laptop. Aung

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#13 Post by dejan555 »

Aung, keyboard works but password which is typed into login is not shown.
That's why he asked if you entered password correctly.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#14 Post by Iguleder »

I've started working on convergence (yo Shuttleworth!) between Lazyux and Puppy. I'm running woof-CE, to produce a vanilla Slacko 5.7.

I've built a 32-bit Lazyux (well, sans the kernel) and I'm going to replace Slacko's applications with static ones from Lazyux - Bash, init, JWM, ROX-Filer, mtPaint, X-Chat and much more.

Then, I'll proceed to phase #2: stripping out useless packages (mirdir - what the heck is that, anyway?) and features (support for virtual terminals), to further reduce RAM usage. I might do a third round of cleanup in woof-CE, as I did in its early days - the LibreSSL guys got me quite enthusiastic about this.

It's just an experiment, so don't be too disappointed if I give up on it :lol:
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#15 Post by Aung »

Thanks dejan555
That worked, got past the login, only just!!

failed to open /dev/fb0
fatal server error
no screen found

Then the root prompt, typed xwin. nothing!!
At this point I have to ask does lazyux boot up to a desktop. Maybe it is not the quick boot banking Puppy I am looking for.
Also their is a half minute pause at run depmod, whats hapening at that point. Cheers

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#16 Post by Iguleder »

If depmod takes half a minute, it must be a very old computer. Lazyux requires a KMS-supported GPU, which means a not-too-old Intel GPU, a recent Radeon or a nVidia GPU supported by Nouveau.

And it cannot be a secure banking Puppy, because it isn't Puppy and because it doesn't support SSL/TLS at the moment.

EDIT: uploaded a new snapshot.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

futwerk
Posts: 397
Joined: Sat 07 May 2011, 22:04

#17 Post by futwerk »

a few backgrounds.
Attachments
lazyux3.jpg
http://www.murga-linux.com/puppy/index.php
(25.85 KiB) Downloaded 550 times
lazyux2.jpg
http://www.murga-linux.com/puppy/index.php
(34.19 KiB) Downloaded 555 times
lazyux1.jpg
http://www.murga-linux.com/puppy/index.php
(32.3 KiB) Downloaded 548 times
lazyux.jpg
http://www.murga-linux.com/puppy/index.php
(17.22 KiB) Downloaded 497 times

buti
Posts: 13
Joined: Mon 24 Sep 2012, 09:54

#18 Post by buti »

I was curious to try it out (at work), so fired up the iso on vitrualbox and wmware...

In both cases it boots ok, but when starting X it exits with a 'dev/fb0 not found' error. May it be because of tinyXserver?

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#19 Post by Iguleder »

Your GPU is unsupported. Which model is it?
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

buti
Posts: 13
Joined: Mon 24 Sep 2012, 09:54

#20 Post by buti »

Well, it's an AMD4300 (or something like that), but I assumed that the gpu was emulated by Vbox or VMWare. Maybe those are unsupported.

I will try at home on a intel GPU and see.

Thanks anyway

Post Reply