-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2016-09-07 at 11:48 +0200, Ludwig Nussel wrote:
Carlos E. R. schrieb:
[...] Perhaps the installer could warn of low memory when it starts, differentiating the type of media used (full vs net). The Net media needs more than I gave it, but the DVD works fine on 768MB.
Yes, we can do that since at least 1998¹. Linuxrc has some parameters to tune behavior depending on available RAM:²
MemLimit Amount of free memory in kB below which linuxrc will ask the user to set up a swap partition. MemLoadImage Amount of free memory in kB below which linuxrc will not copy the root image into RAM. MemYaST Amount of free memory in kB below which linuxrc will start YaST in text mode. MinMemory Amount of memory in kB below which linuxrc will refuse to start. Defaults to 0.
The values are defined in this file AFAICT: https://github.com/openSUSE/installation-images/blob/master/data/initrd/them...
The settings can also be passed to linuxrc on the command line when booting. So should be fairly easy to run a set of installations with different amounts of memory from DVD and NET images to check what the limits are nowadays. Carlos, since you have the problem at hand, would you like to help with that?
I started doing this. I started with 512MB and net install (yes, brutally small, should not work). It boots, tries graphical mode, crashes, goes to text mode install, crashes during download. I added a swap partition and rebooted, but noticed that the system does not use that space automatically, at least this early. It has gone automatically to text mode install, but it has killed the text terminals and bash: killing top killing klog killing syslogd killing bash killing bash killing bash So the question is, when does the installer enable swap automatically (I don't remember if it does), or do I have to enable it manually as soon as I can? I have just done that, manually enabled swap as soon as I could; YaST2 starts fine and the installation runs much faster than on previous tests. It is using about 250MB of swap. - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlfZZbEACgkQtTMYHG2NR9XctQCfdQTzUFxD6QBVnYrC2KjXLUc9 IpAAnA0UIW3yD7GYXvvcliJIgZcRlQ0a =tQVN -----END PGP SIGNATURE-----