DietLinux icon

DietLinux For Linux

  n/a
GPL    

DietLinux is a distribution based on dietlibc.. #Operating system  #Linux distribution  #UNIX distro  #DietLinux  #Linux  #Distribution  

Description

Free Download

DietLinux is a distribution based on dietlibc. It contains a 2.6.x linux kernel, and will never support older kernels that do not support for devfs and tmpfs.

The boot process is optimized for small size, the upcoming 0.2-release should be able to boot from cdrom, floppy or usb-stick on all systems with at least 8mb of RAM.

With the upcoming 0.2-release the boot-process is the same for all media. I got rid of ramdisk images for the root filesystem completely, and shrinked the initrd-images to about 60k (uncompressed). A kernel can be used with the boot system if it has support for initrd, tmpfs and devfs.

You need to configure the bootloader to give the kernel some bootparameters:

init=/linuxrc

We use linuxrc to set up some stuff. It will execle() init later

root=/dev/ram0

The initrd is the final root. Though our linuxrc will change it.

devfs=mount

Only needed if you didn't tell the kernel at compile time to automatically mount devfs

bootdevice=[]

To come, hints for linuxrc from which device we booted

linuxrc, stage 1

The first part is handled in linuxrc. I'ts described here short for better understanding what's going on.

* linuxrc gets started by the kernel. Besides linuxrc we have two directories in our ramdisk -- /dev with mounted devfs and /rootfs * linuxrc mounts a tmpfs at /rootfs * linuxrc creates basic directories in the rootfs (namely dev and initrd) * linuxrc chdirs to /rootfs, calls pivot_root and chdirs / chroots in the new root. After this we have the old contents of the initrd under /initrd * linuxrc remounts initrd/dev under /dev, and mounts /proc. With the dev remount we've put the open /dev/console file into the right filesystem. * linuxrc umounts /initrd with MNT_DETACH set. Most likely initrd will not unmounted immediately but when calling execle() to exec init

For more details please consult the apkg sources.

linuxrc, stage 2

We're now getting to the second stage, still powered by initrd. That's the first stage you can influence without modifying the linuxrc-sources.

* linuxrc creates all directories in the rootfs * linuxrc mounts procfs and sysfs * linuxrc inits the built-in packagesystem. This includes trying to find a (a dietlinux media must have a file called `dietlinux-media' in its root) es well es the name of the initial package to load (from dietlinux-media) * linuxrc loads the initial package (the apkg package system) and execl()s apkg with param -t (starts bootstrap). Most likely /initrd gets freed here, so we have about 60k additional space from now on.

apkg stage

Now it's apkgs turn to bootstrap a package set to the rootfs.

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
dietlinux-snapshot.iso
  2 screenshots:
DietLinux - screenshot #1DietLinux - screenshot #2
  main category:
Linux Distributions
  developer:
  visit homepage

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

% discount
Zoom Client
  • Zoom Client
  • Context Menu Manager
  • Windows Sandbox Launcher
  • IrfanView
  • Microsoft Teams
  • Bitdefender Antivirus Free
  • 4k Video Downloader
  • ShareX
  • calibre
  • 7-Zip
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy