#Busybox
#TIL that #BusyBox had been written initially "to install #Debian from #floppy disks".
Citing from the article that @steven mentioned and @sjvn wrote:
»Perens said […]: "I created Busybox (The Swiss army knife of embedded Linux) to install Debian from floppy disks. At the time, it took one 1.44MB floppy to load the kernel, and then you had to put in another floppy for the root filesystem. Busybox was built to fit all of the necessary command-line tools on that second floppy. […]"«
Today we published an advisory for Busybox cpio. When extracting cpio archives with BusyBox cpio, the cpio archiving tools may write files outside the destination directory and there is no option to prevent this.
Full advisory: https://www.pentagrid.ch/en/blog/busybox-cpio-directory-traversal-vulnerability
mind you this could even save more space...
Tho I've to see how much #toybox is a drop-in replacement for #BusyBox and how much I need to restructure the files...
But OFC you'll find all the files at the repo:
https://github.com/OS-1337/OS1337
@aburka@hachyderm.io It's not really the distro itself being lightweight but the desktop environment.
If you want absolute lightweight, consider #AlpineLinux + #LXQT. LXQT is even more lightweight than #XFCE. Alpine doesn't take much resources because it's mainly built on top of #Busybox, but keep in mind that it uses musl for its C library so depending on what you're running, it has a very small incompatibility.
If Alpine doesn't work for you, then #Debian + LXQT is pretty lightweight.
@lunaa @yura @torvalds I know...
There's a reason Distros like #AlpineLinux, #ChimeraLinux and almost all #embedded systems using #Busybox or #Toybox want to get rid of #glibc if not replace it with something like #uClinux, #musl,or another #libc...
Because glibc bricking stuff with minor updates kills any #CCSS and any non-#FLOSS that can't be recompiled.
And what RMS et. al. may see as intentional, I think is the biggest issie that prevents #Linux from dominating #Desktop|s!
@vwbusguy @benjamineskola @josephholsten @fuchsiii personally, I've also had some use time with #ash on #Busybox but that's just because I have on occasions dealt with #embedded devices and have a copy of #Floppinux.
And yes, I'm still intrigued on the idea of a #1440kB distro that one can blindly autoboot into and that automatically opens up #SSH to allow for remote login if not automatically opens it's own SSH tunnel.
Kinda like #XeLL...
The real challenge is how to replace /usr while the system is using it.
On Debian there is the package #busybox-static which provides a self-contained shell with basic commands (we need mv, mkdir & mount).
- copy /usr to the new partition (I use a rsync spell)
- let the system switch to a rescue shell, something like: telinit 1
- prepare your fstab
- start a *static* busybox shell: busybox sh
- mv /usr /usr.old
- create a new /usr directory and mount the new fs
- reboot
- rm -rf /usr.old
#SailfishOS Community News, 18th May, Busybox ash
The latest Community News by #Jolla about following topics:
- The change from #GNUBash to #BusyBox shell in Sailfish OS and the differences between them.
- App roundup: Fibonacci, #ChatGPT (Update), Patience Deck, Hafenschau.
- Repository roundup
https://forum.sailfishos.org/t/sailfish-community-news-18th-may-busybox-ash/15611
@lunareclipse if you just want it to be a stupid server that doesn't even need to call, sms, wwan but only do like Ethernet over a USB dongle [potentially even get powered vis PoE] then maybe #Armbian or some #Busybox / #Toybox distro may also work.
Count The Number of Characters per Filename
https://www.adamsdesk.com/posts/count-characters-per-filename/
#commandline #linux #PowerShell #bash #BusyBox #FishShell #windows
sometimes #BusyBox is amazing when i really dont want to figure out how to do this with powershell

Nice to-the-point post from @geerlingguy helped me set up a #raspberrypi as an NFS server. A single-purpose NFS server can make a nice way to delivery files when you cross-compile on a different machine.
One thing I learned while setting up a client though, it seems like NFS shares in fstab aren't always mounted at boot. I had to add a little rc script on a #busybox system to mount the share right after the network comes up.
https://www.earth.li/~noodles/blog/2023/01/debian-read-only-root-part1.html #debian #busybox pretty nice hack by noodles :)
Something is off in #busybox version 1.36: wget doesn't succeed with "Connection reset by peer", whereas the same thing works properly with version 1.35.
#BusyBox 1.36 Released With SeedRNG, Many Other Additions
https://www.phoronix.com/news/BusyBox-1.36-Released
Original tweet : https://twitter.com/phoronix/status/1610316828961640453
Ok, that failed completely! #restore with #Timeshift was fine, when rebooting a strange encryption message came and then I learned about the #Busybox!! Not bootable anymore. Maybe another try tomorrow…
Telnet Gets Stubborn Sony Camera Under Control - According to [Venn Stone], technical producer over at LinuxGameCast, the Sony a500... - https://hackaday.com/2022/11/25/telnet-gets-stubborn-sony-camera-under-control/ #digitalcamerashacks #softwarehacks #firmwarehack #busybox #telnetd #telnet #sony
Telnet Gets Stubborn Sony Camera Under Control
https://hackaday.com/2022/11/25/telnet-gets-stubborn-sony-camera-under-control/
#digitalcamerashacks #SoftwareHacks #firmwarehack #busybox #telnetd #telnet #sony
Updated #FreshTomato #firmware on my #Netgear #R7000 #router and #ASUS RT-N66U that I use as a switch + WiFi AP.
For some reason it was a pain to get the WAN working again. Rebooting the cable modem and R7000 eventually cleared it up?
Noticed that #busybox #ntpd on the firmware doesn't respond to ntpq queries and is rather config-limited, so I installed the #entware version on the R7000's USB stick.
Also uninstalled #avahi because it's now built into the firmware - neat! Now do #wsdd2 please!
@Fu @agx His phone OS is, but there is also #postmarketOS which I wouldn't call GNU (being based on #alpinelinux and #Musl and #Busybox) but also isn't Android.
Alpine Linux is reducing dependencies on Busybox: https://gitlab.alpinelinux.org/alpine/tsc/-/issues/52 #linux #alpine #busybox
A Linux Distribution for DOOM - If you’ve gone further into the Linux world than the standard desktop distribution... - https://hackaday.com/2022/06/09/a-linux-distribution-for-doom/ #distribution #linuxhacks #bootable #busybox #fbdoom #games #linux #doom #iso
#Busybox: a small package with a large code base

I don't understand, it's 5 years ago but #busybox never fix this simple bug.
https://dev.archive.openwrt.org/attachment/ticket/7993/701-make_unicode_printable.patch.html
Running Modern Linux from a Single Floppy Disk - There was a time when booting Linux from a floppy disk was the norm, but of course... - https://hackaday.com/2021/05/24/running-modern-linux-from-a-single-floppy-disk/ #softwaredevelopment #3.5floppydisk #embeddedlinux #linuxhacks #floppydisk #busybox #linux
How To Restore Or Recover Deleted Commands In Linux #Apt #Dpkg #Linuxcommands #Coreutils #Busybox #Linux
https://ostechnix.com/how-to-restore-or-recover-deleted-commands-in-linux/
Logical News wurde soeben publiziert! https://paper.li/Logical-News Vielen Dank an @iXmagazin #busybox #embeddedsystems
Tiny Core 12.0: Viel Linux auf 15 MByte
Okazis problemo dum la eklanĉo de #LinuxMint kun mesaĝo rilate al #Busybox kaj #initramfs. Kaze ke vi trafas la saman problemon, nur sufiĉas ke vi petu kontrolon kaj riparadon de la disko per:
fsck /dev/sda1 -y
(se via sistemo troviĝas ĉe /dev/sda1)

How To Fix Busybox Initramfs Error On Ubuntu #Busybox #Initramfs #Filesystem #Fsck #Ubuntu #Linux #Troubleshooting #Linuxcommands #Linuxtips
https://ostechnix.com/how-to-fix-busybox-initramfs-error-on-ubuntu/
Having been looking around the lbu command on #Alpine (which is not #GNU/linux but #Busybox+musl/linux). Very fun and state of art, suitable for being a machine for networking purposes.
#Wireguard on it works like a charm. Server side is #Freebsd, solid firm. Now all my device traffic goes through its tunnel, relief 😅. i can have some study on #socialissues now.
Al descender del Avión Negro, nada mejor que un Paraguas Negro.
Y al encontrar el error #initramfs de pantalla negra con #BusyBox en #Ubuntu, ¡nada mejor que una solución #Militante y cabecita negra, de manos del Conductor del #Justicialismo!
#DíadelMilitante
https://tinyurl.com/y34k5ysr

In this tutorial, we are going to install Linux kernel modules in the busybox filesystem /lib directory.
https://www.nayab.xyz/rpi3b-elinux/embedded-linux-rpi3-065-linux-modules-install.html
#raspberrypi #busybox #kernel
In this tutorial, we create squashfs root filesystem, copy kernel, filesystem and dtb to the SD card. We modify U-boot env variables so that the Linux kernel and the filesystem boots from the SD card.
https://www.nayab.xyz/rpi3b-elinux/embedded-linux-rpi3-100-elinux-on-sdcard.html
#raspberrypi #busybox #squashfs
Compile busybox without static building enabled and copy all the necessary shared libraries to run a binary from the toolchain directory to busybox filesystem.
https://www.nayab.xyz/rpi3b-elinux/embedded-linux-rpi3-090-busybox-sharedlib.html
#raspberrypi #busybox #embeddedlinux
Generating minimal root filesystem with busybox for Raspberry Pi 3 Modle B. Busybox install basic Linux utilities, an init program and a shell required to make Linux system usable.
https://www.nayab.xyz/rpi3b-elinux/embedded-linux-rpi3-060-busybox.html
#busybox #raspberrypi #raspberrypi3
Dissecting the TL-WR841N For Fun and Profit https://hackaday.com/2019/09/12/dissecting-the-tl-wr841n-for-fun-and-profit/ #WirelessHacks #classichacks #serialport #TL-WR841N #busybox #openwrt #tp-link #router #uart
Adélie Linux.
In BETA phase now, already intriguing.
Based on "GNUless" Alpine Linux, but aiming for common desktop use. Userland instead of GNU Core: BusyBox.
For C standard library, it uses musl, instead of GNU glibc.
"We do believe that Linux should be usable by anyone, regardless of income level or past computer experience. We don't believe that Linux has to be hard to use."
Eye on this one.
Adélie Linux.
In ALPHA, already intriguing.
Based on "GNUless" Alpine Linux, but aiming for common desktop use.
Userland instead of GNU Core: BusyBox.
For C standard library, it uses musl, instead of GNU glibc.
Devs state: "We do believe that Linux should be usable by anyone, regardless of income level or past computer experience. We don't believe that Linux has to be hard to use."
Urged to keep an eye on this one!
Alpine Linux 3.7.0 (a security oriented distro) was released a bit ago.
-Support for EFI finally here.
Alpine uses Busybox as a userland instead of gnu core, musl libc instead of glibc etc. Yet they are optional.
Without taking any stance on it; no systemd on Alpine Linux either.
Could it be said that Alpine Linux is not GNU/Linux (oh boy here we go again) but rather just a "Linux" ?
How does it thrive as a daily driver?
https://www.alpinelinux.org/posts/Alpine-3.7.0-released.html #security #distro #Linux #Busybox #musl #EFI