After installing xen, the boot will be black, what happened?

  

single, enter single-user mode, then change the startup mode to id:3:initdefault: in /etc/inittab (the default value is 5). That is, let the system start in text mode. . Restart, when choosing the system to GRUB, we choose Fedora Core 6 (2.6.18-1.2798.fc6xen), press E, then you will see root (hd0,6) kernel /boot/xen.gz- 2.6.18-1.2798.fc6 module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet module /boot/initrd-2.6.18-1.2798.fc6xen.img Press the up and down keys of the keyboard to select Module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet Press E again, this time there will be editing status, you just need to be behind this line, which is quiet plus linux single :module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet linux sigle OK, press Enter B again, then we can enter single user mode, come in, we Edit the /etc/inittab file with the vi editor. For example: #vi /etc/inittab # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg, < [email protected]> # Modified for RHS Linux by Marc Ewing and Donnie Barnes # # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, If you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault: # System initialization. si::sysinit:/Etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc. d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6 :6:wait:/etc/rc.d/rc 6 # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -t3 -r now # When our UPS tells us power has failed, assume we have a few Minutes # of power left. Schedule a shutdown for 2 minutes from now. # This does, of course, assume you have powerd installed and your # UPS connected and working correctly. pf::powerfail:/sbin/shutdown -f -h + 2 "ower Failure; System Shutting Down" # If power was restored before the shutdown kicked in, cancel it. pr:12345:powerokwait:/sbin/shutdown -c "ower Restored; Shutdown Cancelled" # Run gettys in standard runlevels 1:2345:respawn:/sbin/Mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345: Respawn:/sbin/mingetty tty6 # Run xdm in runlevel 5 x:5nce:/etc/X11/prefdm -nodaemon Find id:5:initdefault: This line, change 5 to 3, OK, save and exit. #reboot (restart After restarting, we will try FC6 again, HOHO, finally, it will go smoothly without a black screen, but don't be happy, the road is still very long! After logging in to the super administrator account, the first thing to do is to add the YUN source, so that we can YUN to the latest kernel and graphics driver! This is the hardest step, because it is a word and a word input, you can do it according to the following method I can use the Yum source on Freshrpms.net [root@localhost~]# rpm -ivh http://ftp. Freshrpms.net/pub/fre ... 1.1-1.fc.noarch.rpm Then we import the signature of Freshrpms.net [root@localhost~]# rpm --import http://freshrpms.net/RPM-GPG- KEY-freshrpms Yum source on Atrpms.net First, we need to change the fedora-extras.repo file in the /etc/yum.repos.d directory and add the following paragraph; [atrpms] name=Fedora Core 5 - i386 - ATrpms Baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable/Then import the package signature of Atrpms.net [root@localhost~]# rpm --import http://ATrpms.net/RPM- Yum source on GPG-KEY.atrpms rpm.livna.org [root@localhost~]# rpm -ivh http://rpm.livna.org//livna-release-6.rpm #yum -y install kernel Let's start Upgrade to the latest kernel, then the system is automatically installed. After installation, continue #yum -y install kmod-nvidia Here is the driver of the graphics card, or the same, but he automatically Finish. After both are installed, we restart the system, select the latest kernel version in GRUB, start it, login account #startx ^_^ Is there an amazing discovery, YE, X-WINDOWS

Copyright © Windows knowledge All Rights Reserved