VM installation CentOS always grub.conf configuration issues

Source: Internet
Author: User

VM Environment CentOS 6.5

At first, Vm12 found that the installation software will appear

The client operating system has disabled the CPU. Please close or reset the virtual machine

Thought is the new machine CPU or motherboard has the problem, for the VM, change the system will still appear this problem, mainly at the beginning is good, but after a while the problems, very troublesome

It took 1 days to do some testing, on this issue

Search Kernel panic not syncing attempted to kill Init

It's grub.conf's problem.

Reboot first


When the system starts, press ' E ' key to enter the grub editing interface, edit the Grub menu, select "Kernel/vmlinuz-xxxxro root=/dev/vogroup00/logvol00 rhgb Quiet" column, press ' E ' key into the editor, add enforcing=0 at the end, i.e.:
Kernel/vmlinuz-xxxxro root=/dev/vogroup00/logvol00 rhgb quiet enforcing=0 (where enforcing=0 is needed plus go, others not moving) enter
Press ' B ' key to continue booting, OK to go forward smoothly. (Note the xxx here is related to your specific system version)

The operation interface has English hint E is edit b is boot boot enter save, so you can enter the system, but this is temporary write, cannot permanently

Vi/boot/grub/grub.conf

# grub.conf generated by Anaconda
#
# Note that you don't have the to rerun grub after making changes to the This file
# notice:you has a/boot partition. This means
# all kernel and INITRD paths is relative to/boot/, eg.
# root (hd0,0)
# kernel/vmlinuz-version RO Root=/dev/sda3
# initrd/initrd-[generic-]version.img
#boot =/DEV/SDA
Default=0
Timeout=5
Splashimage= (hd0,0)/grub/splash.xpm.gz
Hiddenmenu
Title CentOS (2.6.32-431.el6.x86_64)
Root (hd0,0)
kernel/vmlinuz-2.6.32-431.el6.x86_64 ro root=uuid=bd0cd475-af97-46d0-8a06-52057d910c7c Rd_NO_LUKS rd_NO_LVM LANG=en _us. UTF-8 rd_no_md sysfont=latarcyrheb-sun16 crashkernel=auto keyboardtype=pc keytable=us rd_NO_DM rhgb quiet inforcing=0
Initrd/initramfs-2.6.32-431.el6.x86_64.img

VI inside the read configuration each has a tab so, when writing, use the arrow keys to the end of the line plus inforcing=0

Kernel Panic not syncing VFS unable to mount Root

The problem is that the disk hangs in error, find the disk that the corresponding disk modifies root to be able to

But the problem is caused by VM problems or machine problems, it is not yet known, see whether the follow-up can find specific reasons, there is a test can actually use

Vm-vsphere This estimate effect will be better, because there is a green version, but it is recommended to use the company to buy a genuine, because there is technical support, this is not suitable for cloud services, in fact, Linux under the virtual Machine Company, the windows of vsphere is very simple

Vm-vsphere in the current test

VM installation CentOS always grub.conf configuration issues

Related Article

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.