RedHat enters text mode at system startup

Source: Internet
Author: User
Tags apm

Install RedHat 10 on the Virtual Machine. During installation, the mouse selects the wheel mouse (USB). However, after the installation is complete, the mouse enters the graphic interface and cannot be used at all. You do not know how to use the shortcut key to start the shell in the graphic interface, therefore, this requirement is generated. Google found two solutions. These two solutions come from http://bbs.linux-cn.com/archiver/tid-7712.html, which are completely feasible after tests.
Method 1:
On the Linux installation CD, set it to boot from the CD. After restarting, go to the installation page and enter Linux rescue mode as prompted. in Linux rescue mode, use chroot/mnt/sysimage to log on as the root user, modify the/etc/inittab file, and change the default runlevel from 5 to 3.
Method 2:
I use grub. If lilo is used, please refer to the original post. When you start with grub, after you see the operating system list, Type E to enter the editing mode, move the cursor to the line starting with kernel, and then type E again, in this case, a command prompt for grub Edit> appears. Type Single at the end of the line, press enter to return to edit mode, and then type B to start. After the inittab is started, it is very easy to change the inittab to the default text mode when it is started.

The following is Google's available kernel parameters from: http://www.chinalinuxpub.com/read.php? WID = 1077
For grub users, when the grub prompt appears, click "a" to enter the entry for passing kernel parameters.
Generally
Kernel/vmlinuz-2.4.21-xx Ro root = lable =/

Add a space after this line, and write the corresponding kernel parameters to take effect.

For example
Kernel/vmlinuz-2.4.21-xx Ro root = lable =/single
Indicates that the single user mode is enabled.
This method allows you to access the system without the root password and change the root password.
Applicable to users who forget the root password

The following lists some common transfer parameters. Note that some of these parameters are started on a CD when the system is installed and used before the boot symbol.

APIC
This command bypasses Common Errors in the BIOS of the Intel javasgx chip set. It should only be executed using the installer kernel.
APM = allow_ints
This command changes the processing method of the suspended service (which may be necessary for some portable computers ).
APM = off
This command disables APM (Advanced Power Management ). It is very useful, because some BIOS Power Management (APM) problems, it is easy to crash.
APM = power_off
This command will disable (power-off) the system by default in Red Hat Linux. It is useful for SMP systems that are not disabled by default.
APM = realmode_power_off
Some BIOS crashes when attempting to shut down (power-off) machines. This command changes the operation method from Windows NT to Windows 95.
Dd
This parameter causes the installer to prompt you to use the driver disk. (Only applicable to system installation)
Display = IP: 0
This command allows remote display and forwarding. Here, the IP address should be replaced with the IP address you want to act as the display system.
On the system you want to display, you must execute the xhost + remotehostname command. The remotehostname here is the name of the host where you run the display command. The xhost + remotehostname command limits access to the remote display terminal, and does not allow access from people or systems not explicitly granted remote access.
Driverdisk
The command runs the same function as the DD command. It also prompts you to use the driver disk in Red Hat Linux installation. (Only applicable to system installation)
IDE = nodma
This command disables DMA on all ide devices and may be useful in case of IDE-related problems.
Isa
This command prompts you to enter the ISA Device Configuration.
Lowres
This command forces the graphical (GUI) installer to run at a lower resolution (640x480 ).
Mem = xxxm
This command allows you to exceed the number of memory detected by the kernel on the machine. You may need to use this command on some older systems that only detect 16 MB of video memory and some newer video cards that share the video memory with the main memory. When executing this command, xxx should replace the memory size in MB.
Nmi_watchdog = 1
This command enables the built-in kernel deadlock detector. It can be used to debug Hard Kernel locks. By executing regular NMI (unblocking interrupt) interruptions, the kernel can monitor whether the CPU is locked and print debugging messages as needed.
Noapic
This command tells the kernel not to use the APIC chip. It is helpful for some motherboard With bad APIC (such as abit bp6) or bad BIOS.
Noathlon
This command tells the kernel to disable athlon optimization. If athlon optimization is found to be ineffective on some chip sets, it will play a role.
Noht
This command disables hyper-threading (if available in the SMP system ).
Nomce
This command disables self-diagnosis checks executed on the CPU. By default, the kernel enables self-diagnosis of CPU (machine check exception ). On some older Compaq machines, such checks run too frequently and may need to be disabled.
Nopass
This command prohibits you from passing the keyboard and mouse information to the second stage of the installer. During network installation, it can be used to test the mouse and keyboard configuration screen in the second phase of installation.
Nopcmcia
This command ignores any PCMCIA controller on the system.
Noprobe
This command disables hardware detection. On the contrary, it prompts users to provide hardware information. (Only applicable to system installation)
Noshell
This command prohibits the installation of shell on the second virtual console. (Only applicable to system installation)
Nousb
This command prohibits the installation of USB support. If the installer is easily suspended early in the process, this command can be used. (Only applicable to system installation)
Nousbstorage
This command prohibits the loading of the USB storage module in the installer. It may be helpful for sorting devices on the SCSI system.
Resolution =
Tells the installer which video mode to run. It accepts all standard resolutions, such as 640x480, 800x600, 1024x768, and so on.
Serial
This command enables support for the serial console.
Skipddc
This command skips DDC Display detection, which may cause problems on some systems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.