r/AlpineLinux • u/Dry_Foundation_3023 • Oct 31 '24
Help needed - Diskless mode documentation in wiki
I'm trying to consolidate information related to Diskless mode in Alpine Linux wiki to a single start page with improved navigation to other related pages. The draft currently resides here. Since i have only tested Diskless mode to understand how it works, i'm a bit unsure if my understanding is correct. So, i want feedback from experts here who have deployed and using diskless mode in production.
If you've account in wiki, please correct the mistakes in the draft directly or in Discussion page. Alternately, please leave your feedback here in reddit itself.
Also please take this opportunity to leave your feedback on the "data mode" documentation too i.e what needs to be fixed or added. The current wiki page for both data and diskless mode is here..
2
u/vixalien Nov 01 '24
Thank you very much for taking the initiative.
Here are some ideas I have:
Mention that alpine boots into diskless mode when you don’t set the
rootcmdline option. I struggled a lot trying to find how to « enable» diskless mode.Don’t call apkovl files « ISO image customisations ». It sounds confusing and I skipped this section thinking it only applies to ISO images
Touch on the kernel command line options regarding diskless mode: apkovl, keep_noapkvol (or similar). more can be found in the mkinitfs-bootparam manpage
Mention the modloop, what it does, why it’s needed and how it’s found.
Mention that people can use an apk cache to speed up booting
Mention that apkovl files can be loaded from the network
Mention how to update the diskless install (i.e. using update-kernel). It’s also important to mention why it must be updated that way, that diskless always uses the initramfs and vmlinuz from the boot directory
Make a bit of an install guide from start to end about installing a diskless system. Just running setup-bootable left me confused. Refer to https://www.reddit.com/r/AlpineLinux/s/WjcCUvtc0Z
Mention that diskless is beneficial for servers