About-diskless-boot (Part 1) - concept and simple methods

Understanding Diskless installs

Concept of disk-less installs in Alpine Linux

  • Diskless = RAM based installs = Running your OS from RAM
  • Concept involves that post-boot there are no real persistent installs of files on disk. This means on next reboot packages(.apk) would be re-installed and re-configured.
  • Concept has provisions(lbu) to save user-modified config files that usually resides in /etc folder. These files are over-layed over file system on post-reboot. Saved configs come in effect and are used by applications when called.

Techniques employed

  • Standard/Official installs.
  • True diskless.
  • Disk-less variants.

How to work on it(exploit), or make best use of it

Does it need upgrade or simple re-install?

Simple re-install by using newer ISO or creating boot-disk from it is faster/safer,
See: create a ram based basic bootable disk. [2] [3] [4] [5],
if an upgrade is needed see do's and don't below.

What part/portion of diskless installs needs backing-up?

Alpine Linux implements, Alpine local backup lbu, to take care of config/custom changes made.

Does usr-merge effect diskless installs?

See section "How to migrate?", here - 2025-10-01-usr-merge

How can I make diskless boot more useful?

Are there any recommended do's and don't for users?

See below

Do's
  • Keep a check on /usr folder
du -csh /usr
 -> 810.2M /usr
  • Keep a check on memory usage
free -m 
 -> 450M 
  • Create/use SWAP disk if needed.

Don't
  • Do not rush to update/upgrade.
  • Always try to avoid edge in disk-less installs.
  • Avoid upgrading stable setup to edge.

Is it possible to load the OS into ram at the ISO's boot prompt?

Not yet, but see AlpineLinux.True-diskless-boot.

Some diskless boot dramas'

  1. Standard/Official diskless boot - ISO/Boot-disk + RAM [5] [6]
  2. True-diskless-boot - closer to RAM
  3. Diskless-install-on-devices-with-2gb-ram - closer to Disk
  4. Diskless-install-on-devices-with-1gb-ram - more-closer to Disk
  5. I wanna be closer to Cloud/Net (#TODO)
  6. I wanna be closer to Sun (Icarus Mode) - not planned yet

Author

V.Krishn


Resources


Edit - History - Print - Recent Changes - Search
Page last modified on November 04, 2025, at 03:40 AM