From 8f265ab4347d2662ba5f370f06e1067dbd75ef7d Mon Sep 17 00:00:00 2001 From: Tyler McGurrin Date: Wed, 5 Nov 2025 01:26:33 -0500 Subject: [PATCH] Well... i did it..? --- README.md | 7 +++++-- mini/packages.i686 | 16 ++++++++++++---- mini/pacman.conf | 2 +- mini/profiledef.sh | 6 +++--- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f4eeb17..c1dbdeb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Arch32iso Files to make a lightweight Arch Linux 32 ISO for i686 systems with under 256MB of ram with some QOL tools. -I've tested it down to 192MB of ram but it *should* be able to run down to 164MB? the FS is like 135MB. so no, it cant even run in 128MB... (i tried... it just dies) +I've tested it down to 192MB of ram but it *should* be able to run down to 164MB? the FS is like 135MB. so no, it cant even run in 128MB... (i tried... it just dies) + +So, using the I486 packages lets you get down to a wimpy 128MB (instead of *needing* 192MB) but its runing on a fairly old kernel version and has... nothing? +i mean i striped *everything* from the iso like theres no filesystem tools (except ext2) stripped everything. oh and ping? nope! just pray your internet works i guess? or don't. i even stripped out the base package! (its replaced by ~half of its deps) tar? nope. xz? nope. bzip? you wish. theres nothing here... except the *bare minimum* to install, and i truly mean the bare minimum its also *insanely* compressed like i turned on ultra mode with zstd for lvl 22 compressed. ## How to run it? just run `makeiso.sh` and boom! it does everything for you! -Intened to run under Arch Linux or Arch Linux 32 +Intended to run under Arch Linux or Arch Linux 32 diff --git a/mini/packages.i686 b/mini/packages.i686 index 656b177..3084657 100644 --- a/mini/packages.i686 +++ b/mini/packages.i686 @@ -1,12 +1,20 @@ -base linux +systemd +systemd-sysvcompat +bash +filesystem +pacman +glibc +grep +iproute2 +archlinux32-keyring +pciutils mkinitcpio mkinitcpio-archiso syslinux -vim +vi +e2fsprogs arch-install-scripts pcmciautils -net-tools dhcpcd -parted terminus-font diff --git a/mini/pacman.conf b/mini/pacman.conf index ce16081..db68100 100644 --- a/mini/pacman.conf +++ b/mini/pacman.conf @@ -19,7 +19,7 @@ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled -Architecture = i686 +Architecture = i486 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = diff --git a/mini/profiledef.sh b/mini/profiledef.sh index 9e4e719..e794f1a 100644 --- a/mini/profiledef.sh +++ b/mini/profiledef.sh @@ -8,12 +8,12 @@ iso_application="Arch Linux baseline" iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" install_dir="arch" buildmodes=('iso') -bootmodes=('bios.syslinux.mbr') +bootmodes=('bios.syslinux') arch="i686" pacman_conf="pacman.conf" airootfs_image_type="squashfs" -airootfs_image_tool_options=('-progress') -bootstrap_tarball_compression=(zstd -c -T0 --long -19) +airootfs_image_tool_options=('-progress' '-comp' 'xz') +bootstrap_tarball_compression=(zstd -c -T0 --long --ultra -22) file_permissions=( ["/etc/shadow"]="0:0:400" )