The first method (resolution problem) my monitor is wide screen. after installing RedHatEnterpriseLinux5, the screen becomes black as soon as it enters the system. After I use Ctrl + Alt + F1 to enter Terminal 1, the system will be started and stuck in: Enablingetc/fstabswapOK. some people will encounter similar situations. after the resolution parameter is changed, the problem will be solved.
Method 1 (resolution problem)
My monitor is a wide screen. after installing RedHat EnterpriseLinux5, the screen becomes black as soon as it enters the system. I use After entering Terminal 1, go to the system boot and go:
Enablingetc/fstab swap OK
It won't move.
Baidu, some people have encountered a similar situation. after the resolution parameter is changed, the problem is solved.
The process is as follows:
If you are still stuck in
Enablingetc/fstab swap OK
Restart the instance. do not wait until it is restarted. go to the grub list as a single user.
Modify the following file:
/Etc/X11/xorg. conf
Modify a line similar to the following:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
If this row does not exist, add it between SubSection and EndSubSection.
Note:
Modes is not models,
Is "1024x768" instead of "1024*768 ".
The resolution here is based on your own settings, but it is best to include some low-standard resolutions. do not write only high, such as "1440x900". Otherwise, you may still be unable to display the resolution.
Method 2
1. when the system is started, go to the startup menu and edit it. you will find the grub append> roroot = LABEL =/1 noapic rhgb quiet parameter in the grub boot program, this is the rhgb quiet that enables the system to load to enabling/etc/fstab swap OK and then stop it. after you delete this parameter, you can enter linux.
2. use vi to edit/etc/grub. conf and delete the rhgb quiet of grub append> ro root = LABEL =/1 noapicrhgb quiet.
Or
1 .?? C ?? Discretion? R: Press any?
2 .? Face ??? 2.6.18.xxxx.fc6
3. press e
4 .? Line 2: kernel/boot/vmlinuz-xxxxxxxx
5. put the last rhgb quite? Delete
6. Enter
7. press B
Now you can go to linux !!!