Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: tleydxdy on 26 March 2021, 03:29:38

Title: [SOLVED] Booting the base iso on 512MB of ram
Post by: tleydxdy on 26 March 2021, 03:29:38
I was trying to install artix on a 512MB vps, and botting the base iso show an error that reads:

Initramfs unpacking failed: write error

I think it is trying to load the iso into ram, which it won't fit.
Title: Re: Booting the base iso on 512MB of ram
Post by: nous on 26 March 2021, 07:55:13
You can create a custom, stripped-down ISO yourself - it's pretty easy (https://wiki.artixlinux.org/Main/InstallationUsingBuildiso). There are a few packages you can safely remove (depending on your VPS hardware specs) from the package list (https://gitea.artixlinux.org/artix/iso-profiles/src/branch/master/base/Packages-Root): btrfs-progs, b43-fwcutter, crda, ipw2100-fw, ipw2200-fw, jfs-utils, man-pages, ntfs-3g, reiserfs-progs, xfsprogs, zsh, bluez, artix-grub-theme.

Once you bake a small enough ISO to make it boot and install, you can add whatever package you need back into the system. Base ISOs consume ridiculously small amounts of RAM - the OpenRC one I just tested uses only 61MB, logged in.
Title: Re: Booting the base iso on 512MB of ram
Post by: tleydxdy on 26 March 2021, 12:53:28
is it not possible to not load the iso to ram? just read it from the cdrom?
Title: Re: Booting the base iso on 512MB of ram
Post by: nous on 27 March 2021, 19:27:19
I quickly baked a base ISO for low mem systems. It's missing some stuff, most notably the monstrous linux-firmware package, but it should boot fine almost everywhere.
Get it from the testing session of our download page (https://artixlinux.org/download.php#testing) or choose your nearest mirror: US (https://iso.artixlinux.org/testing-isos.php) or EU (https://eu-mirror.artixlinux.org/testing-isos.php).
Title: Re: Booting the base iso on 512MB of ram
Post by: tleydxdy on 30 March 2021, 10:41:47
ayy, it works!. fwiw, I tried the arch iso which is even bigger, and it boots fine. So probably better to make the full base iso not load itself into ram?
Title: Re: Booting the base iso on 512MB of ram
Post by: nous on 31 March 2021, 11:36:04
ayy, it works!. fwiw, I tried the arch iso which is even bigger, and it boots fine. So probably better to make the full base iso not load itself into ram?
Glad it worked. We use a different toolchain for our ISO images, this might require some deep digging (or be really trivial).