DamnSmallLinuxThis forum is for the discussion of DamnSmallLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am asking out of curiosity, I haven't kept up with Linux developments in general, but I do remember reading somewhere that kernel version 2.6 was "too big" for DSL and that some of its improvements were backported into 2.4.
Newest kernel version is 6 and I doubt it would fit within the 50 MB constraints, so if DSL were to come back to life, what (versions of) software do you think it would use?
Can a modern kernel, version 5 or 6, be stripped down to be as small as that?
I don't use any distro, not even DSL. I just track Linux, 6.6 stable (6.6.11 as of recent). I build that
Code:
K=6.6.11
wget http://kernel.org/pub/linux/kernel/v6.x/linux-${K}.tar.xz
mkdir bootfiles
tar -xvf linux-${K}.tar.xz
cd linux-${K}
cp ../DOTconfig .config
N=`nproc`
N=`expr $N + 1`
yes "" | make oldconfig
make menuconfig
yes "" | make -j$N
cp arch/x86/boot/bzImage ../bootfiles/vmlinuz
with all firmware/modules for my laptop built in, set to boot to vesa framebuffer (very portable - my usb/system for instance boots to desktop just as well on a AMD/Radeon laptop as it does on a i5/nvidia). I also build initramfs into that kernel, overall end result is a 16MB (xz compressed) vmlinuz filesize. Within the initramfs I build busybox, alsa/sndio (sound), ssh/ssl, framebuffer vnc, and a few other odds-and-bods (framebuffer battery and clocks ...etc).
With that I boot with vga=ask, for instance selecting a 1366x768x16 vesa resolution (my laptops res) and that drops into a framebuffer cli. dd if=/dev/random >/dev/fb0 for instance will fill the screen with random colored pixels.
Typically I wifi net connect, use ssh to set up tunnels for vnc, or even overlayfs mount a full desktop sfs file that is headless and set to serve out to vnc, that I'll use fbvnc (vnc viewer) to connect to ... for a full gui desktop, and where that's all running in the framebuffer (if I ran dd if=/dev/random >/dev/fb0 that screen would be covered with random colored pixels).
I have vnc servers running on a fast hard-wired i5, that I use to build the kernel (typically in around 5 minutes) and also can serve as a browser with fast rendering and fast download speeds (I see 1750 fps when glxgears and internet speed tests indicate 140Mbs download speed - not bad for a wifi net connected old laptop 'desktop' system ), another on my phone so I can vnc into that for a otter browser and internet connection for my laptop whilst out and about. ...etc. vnc is very common, most devices can usually run it.
A nice feature is that if I'm vnc'd into a graphical desktop on ctrl-alt-F2, that's running chrome playing a youtube, then that will bleed through to other tty's, so without freezing screen updates before switching to ctrl-alt-F4 or whatever, then on ctrl-alt-F4 the video will still be seen/heard.
As its purely for personal use/single user, I have /bin dedicated to just busybox, and have sym linked /sbin /usr/bin ...etc all into just /usr/bin, as have I merged all LIBS.
So my full desktop experience boots from a 16MB single file (vmlinuz) boots quickly, more often I just sym link in a sfs that is set to be headless and serve via vnc, set that up as a overlayfs, into which I use fbvnc viewer. That linking/setup is also very quick.
I thought those were used back then as well.
"linux24" (2.4.31) is 981.6k and "minirt24.gz" is 292.1k in DSL 4.4.9.
Can a modern kernel, version 5 or 6, be stripped down to be as small as that?
292K in days of 512K ram, versus 16MB in 8GB ram days, and in that context systems are a lot smaller than they used to be And proportionately take up a lot less space on your HDD/SSD.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505
Rep:
Damn Small Linux 2024 is being released to keep those old 32bit computers running, now that a lot of distros are dropping it, & being made to fit onto a CD.
Damn Small Linux 2024 is being released to keep those old 32bit computers running, now that a lot of distros are dropping it, & being made to fit onto a CD.
But its new incarnation is hardly small. Is larger than Fatdog with less in it.
There's a 666MB of high (xz) compressed filesystem, that extracted totals around 3GB. Fatdog's is around 460MB by comparison and includes Libre Office ...etc.
Would have been nicer to see it focused more on the actual small side, as the arena its actually targeted is already saturated.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505
Rep:
I think you are missing the point - it is a 32bit distro for CD - a new release of DSL from the original developer - & Fatdog is only available as 64bit - but there are other 32bit systems, (Tiny Core, SliTaz, AntiX, etc), but they are in a minority these days.
The original DSL was designed to fit the 50MB mini CDs of the time, this is designed to fit a regular CD, which is what a lot of old machines have.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.