index : archi486 | |
Archlinux32 i486 tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-10 18:11:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-10 18:11:23 +0200 |
commit | d9403240471af4dbdde5f29e4a5fdd709f4c7216 (patch) | |
tree | fdd08e8ebcf0450dac5a94440fb26a59c379e588 | |
parent | 2592777688710480d253d198d41ec8a58e96ab06 (diff) |
-rw-r--r-- | TODOS | 10 | ||||
-rwxr-xr-x | mkarchiso486 | 2 | ||||
-rw-r--r-- | motd | 7 |
@@ -1,4 +1,3 @@ -- no parallel download - get below 64MB memory - install.txt specific to Archlinux32, i486 - mkfs -O^64bit @@ -31,6 +30,15 @@ - fsck, kmod, etc. - https://wiki.archlinux.org/title/Mkinitcpio/Minimal_initramfs (falconingy) - go back to busybox version (for instance mount) +- qxl: [TTM] Out of kernel memory, we should simply blacklist most of modern + stuff (happens on qemu/libvirtd) => use VGA +- with 64MB RAM: sudden freezes of shell and/or kernel +- have a special i486 kernel: + - without zstd modules and ramdisk (zstd is just not behaving nicely on + low-memory systems) + - have default modules compiled in statically for vintage hardware + (at least disk, hdi and network) +- mkinitcpio on 64MB never finishes (thrashing), using gzip works, xz and zstd not diff --git a/mkarchiso486 b/mkarchiso486 index c455269..517fa5a 100755 --- a/mkarchiso486 +++ b/mkarchiso486 @@ -27,6 +27,7 @@ echo "Patch host pacman.conf for installation of i486 chroot.." cp /etc/pacman.conf "$BASE/pacman-i486.conf" sed -i 's/^Architecture.*=.*/Architecture = i486/' "$BASE/pacman-i486.conf" sed -i "s|/etc/pacman.d/mirrorlist|$BASE/mirrorlist32|" "$BASE/pacman-i486.conf" +sed -i 's|.*ParallelDownloads.*|ParallelDownloads = 1|' "$BASE/pacman-i486.conf" pacstrap -C "$BASE/pacman-i486.conf" -G -M "$ROOTFS" base linux @@ -36,6 +37,7 @@ rm -rf "$ROOTFS/var/cache/pacman/pkg/"* echo "Patching pacman.conf and mirrorlist on the ISO.." sed -i 's/^Architecture.*=.*/Architecture = i486/' "$ROOTFS/etc/pacman.conf" sed -i 's/^#\(Server.*=.*https:\/\/.*mirror\.archlinux32.org.*\)/\1/' "$ROOTFS/etc/pacman.d/mirrorlist" +sed -i 's|.*ParallelDownloads.*|ParallelDownloads = 1|' "$ROOTFS/etc/pacman.conf" mount --bind "$ROOTFS" "$ROOTMNT" @@ -6,13 +6,14 @@ Create und mount a swap partition and mount a /tmp to /mnt/tmp as bind mountpoint as very first action before trying to install something with pacstrap/pacman.. -With less than 196MB RAM pacman/gpg fail to verify +With less than 196MB RAM pacman/gpg fails to verify signatures, create a local /mnt/pacman.conf where you -set 'SigLevel=Never' and specify '-C /mnt/pacstrap.conf'. +set 'SigLevel=Never' and specify '-C /mnt/pacman.conf'. With less than 96MB RAM mkinitio on tmpfs fails with out of disk space, use 'TMPDIR=/mytmp mkinitcpio -P' -inside the chroot to create it. +inside the chroot to create it. With 64MB RAM use +'gzip' and not 'xz' or 'zstd' as COMPRESSION method. Consider disabling tmpfs for /tmp on the installed system too 'systemctl mask tmp.mount'. |