How to cancel the RHAS3 startup 256M detection

xiaoxiao2021-03-06  105

Run Redhat AS 3 by default, you need minimum memory to 256MB,

In fact, even if you have 256MB memory, redhat is only 248MB, when starting, the system will give memory insufficient warning, and will continue to start up after 10 seconds.

(Today, "Time is Know", every time you start the system white and waste 10 seconds is very sad!)

Is there a solution! The answer is yes.

Modify the / var / lib / supportInfo file, which default settings as follows:

Variant: AS

Minram: 256 MB (as long as this value is changed, don't say 256MB,

Changed to 124MB below to start Redhat with 128MB memory, no memory warning and delay

/ var / lib / supportInfo This file is located in the redhat-release-3s-1 package,

With this in this RPM package, there are / etc / redhat-release, / etc / issu, /etc/issue.net

/ etc / redhat-release is used to determine the welcome text at startup, namely the text behind Welcome To:

Welcome to .....

Press 'I' to Enter Interactive Startup.

/ etc / issu, /etc/issue.net is used to display the system login title (where Issue.net is used to log in remote)

You can use a modified symbol character to implement a specific function, and simply introduce it below:

/ S: The name of the operating system

/ r: kernel version number

/ M: CPU type

/ L: Current TTY name

/ T: Current time

/ D: Current date

/ U: Current online user

/ N: Host name

/ o: Domain name

Here is the content of my / etc / Issue, for reference only:

System kernel: / s / r on AN / M

Current TTY: / L

Current Time: / T / D

Information: there is / u logined / N / O

Warning: For system security, it is best to delete / etc / Issue and /etc/issue.net,

It is easy to get information about your system with anti-black invasion.

Or simply uninstall the RedHat-Release-3AS-1 package, if the system is uninstalled, there will be a warning when the system starts: / etc / redhat-release file does not exist. Just create one manually.

The root cause of the system to Check is to call RedHat-Support-Check

You can see in the /etc/rc.d/rc.sysinit file!

This is the new characteristics of EL3!

details as follows:

IF [-X / sbin / redhat-support-check -a -f / var / lib / supportinfo];.

/ sbin / redhat-support-check || {

Echo $ "Normal Startup Will Continue IN 10 Seconds."

Sleep 10

}

Fi

You will make the sleep to make a little bit!

转载请注明原文地址:https://www.9cbs.com/read-104530.html

New Post(0)