[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedFebruary 21, 2023

Started Service enabling compressing RAM with zRam – CentOS/RHEL 7 Installation hung

Started Service enabling compressing RAM with zRam – CentOS/RHEL 7 Installation hung

When installing CentOS/RHEL 7 on a hardware box with huge amount of ram installed, the installation gets hung at:

[ OK ] Started Anaconda NetworkManager configuration.

Starting Anaconda NetworkManager configuration…

Starting Terminate Plymouth Boot Screen…

Starting Login Service…

Starting Wait for Plymouth Boot Screen to Quit…

Starting Dump dmesg to /var/log/dmesg…

Starting firewalld – dynamic firewall daemon…

Starting Service enabling compressing RAM with zRam…

[ OK ] Started System Logging Service.

[ OK ] Started Dump dmesg to /var/log/dmesg.

[ OK ] Started D-Bus System Message Bus.

Starting D-Bus System Message Bus…

[ OK ] Started Login Service.

[ OK ] Started Service enabling compressing RAM with zRam.

 

The Solution

The line of “Started Service enabling compressing RAM with zRam.” indicates kernel component zRam creates a compressed block device inside the system RAM and uses it for swap space instead of the hard drive. This allows the installer to essentially increase the amount of memory available, which makes the installation faster on systems with low memory.

By default, swap on zRam is enabled on systems with 2 GiB or less RAM, and disabled on systems with more than 2 GiB of memory. The cause that installation getting hang is because zRam is compressing memory. it is still not clear why it is not disabled at seeing memory much more than 2GiB. This option can be changed/disabled on a system with more than 2 GiB RAM manually, use inst.zram=1 to enable it, and on systems with 2 GiB or less memory, use inst.zram=0 to disable this feature.

It is possible to access the boot command line by selecting an installation option in the boot menu and then pressing either the E key (UEFI-based systems) or the Tab key (BIOS-based systems). A prompt is displayed, which enables you to edit the boot options by adding inst.zram=0 and press enter to start the installation.

Keep reading
How to use zcat command in Linux.
September 13, 2023

How to use zcat command in Linux.

How To Use Zcat Command. The “zcat” command in Linux is a tool for displaying the contents of compressed files in the “gzip” format. It is similar to the “cat” command, which is used for indicating the contents of regular text files, but it is specifically designed for working with compressed files.

Read article
How to use cal command in Linux.
September 13, 2023

How to use cal command in Linux.

What is cal command? Sometimes, you might want to have a peek at the year’s calendar or even narrow it down to a month’s calendar. The Linux cal command is an excellent built-in tool that displays a calendar of a given year or month depending on the options passed. How Does cal Command Work?…

Read article
How to use sort command in Linux.
September 13, 2023

How to use sort command in Linux.

What is sort command? The `sort` command in Linux is part of the GNU Coreutils package. This command is used to sort lines of text in a specified file or from the standard input in an ascending/descending order. The sorted output can be written to a file or displayed on the standard output. The…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00