Mageia Bugzilla – Attachment 12165 Details for
Bug 27872
Live Installation can't be completed on the system with low (512 Mb) RAM size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch for initrd.img/sbin/mgalive-root
mgalive-root.diff (text/plain), 556 bytes, created by
Ihar Areshchankau
on 2020-12-30 10:26:25 CET
(
hide
)
Description:
Patch for initrd.img/sbin/mgalive-root
Filename:
MIME Type:
Creator:
Ihar Areshchankau
Created:
2020-12-30 10:26:25 CET
Size:
556 bytes
patch
obsolete
>140,148c140 >< TRAM=`grep -E 'MemTotal:\s+[0-9]+\skB' /proc/meminfo | grep -oE '[0-9]+' -` >< if [ -z "`grep -o '\binstall\b' /proc/cmdline`" -o -z "$TRAM" -o $TRAM -ge 786432 ]; then >< mount -n -t tmpfs -o mode=755 none /live/overlay >< else >< # Bug 27872 solution (Out of memory on low-RAM (<768 Mb) computers >< # wheh installing from the boot menu of a Live image). >< mount -n -t tmpfs -o mode=755,size=384M none /live/overlay >< fi >< unset TRAM >--- >> mount -n -t tmpfs -o mode=755 none /live/overlay
140,148c140 < TRAM=`grep -E 'MemTotal:\s+[0-9]+\skB' /proc/meminfo | grep -oE '[0-9]+' -` < if [ -z "`grep -o '\binstall\b' /proc/cmdline`" -o -z "$TRAM" -o $TRAM -ge 786432 ]; then < mount -n -t tmpfs -o mode=755 none /live/overlay < else < # Bug 27872 solution (Out of memory on low-RAM (<768 Mb) computers < # wheh installing from the boot menu of a Live image). < mount -n -t tmpfs -o mode=755,size=384M none /live/overlay < fi < unset TRAM --- > mount -n -t tmpfs -o mode=755 none /live/overlay
View Attachment As Raw
Actions:
View
Attachments on
bug 27872
: 12165 |
12169