Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

Debian • Re: Alternative liteweight OS with kernel 6.6

$
0
0
Ah, sorry, forgot to mention I'm using CM3+ with 8GB emmc.
I've just attempted a minimal image but I think the output was the lite image instead... I added ./stage2/SKIP and./stage2/SKIP_IMAGES. I possibly screwed up somewhere!

Code:

# Example for building a lite systemecho "IMG_NAME='raspios'" > configtouch ./stage3/SKIP ./stage4/SKIP ./stage5/SKIPtouch ./stage4/SKIP_IMAGES ./stage5/SKIP_IMAGESsudo ./build.sh  # or ./build-docker.sh
8GB is more than enough for CLI-only installation. I have focused a bit on 6G rootfs so it fits on 8G SD-cards (in the past) or current small eMMC. The rest I use for bootFAT/EFI partition (32MiB to 512MiB) and swap-partition (what is left).
The trick is to use a normal Lite image booted from SD-card and rsync that to a Btrfs 'compress-force=zstd' mounted eMMC partition and then change/fix cmdline.txt and fstab.
If no SD-card possible, then use intermediate image and push the image via USB (I have no experience with RPi CM3+, don't know the HW).
I mean, if it was enough I would be going through all the trouble to find something smaller xDD

I have no idea how to force the minimal version instead of the light one. I also have no idea how to even proceed with what you suggested to try hahahaha.

Statistics: Posted by OiD — Thu Feb 06, 2025 10:42 am



Viewing all articles
Browse latest Browse all 7512

Trending Articles