Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have ESXi 5.0 installed and when I am installing Ubuntu Server 12.04 LTS (32 bit) it is giving an error saying grub installation failed

Here is a screenshot of the error:


ESXI grub install


  1. I have other Ubuntu servers running fine on this esxi server, so I don't think problem is with ESXi.
  2. I have 32 GB of ram spare on this ESXi and have given 2 GB of RAM to this 12.0 LTS VM.
  3. I have allocated 2 processor cores.
  4. I have tried supplying different ISO Image to this VM as I thought the 1st image that I downloaded has errors. But that's definitely not the case as all 3 different ISO images that I downloaded of Ubuntu server 12.04 LTS (32-bit) can't be corrupt!
  5. Just to make sure that the Image does not have problem I used that Image to install it for testing on stand alone system. it works fine there!
  6. This is a production ESXi server which I can't play with, however I can play with the Ubuntu Server 12.04 LTS (32-Bit) VM that we have created on that ESXi.

Here is more information for another attempt:

  • For this install, I've given 1 core of the XENON processor, 1 GB of RAM and 20 GB of HHD.

  • I have used LVM with the automatic partition manager (where I do not have to create partitions manually).

  • I do not have any working Ubuntu 12.04 LTS image installed anywhere. :(

  • I tried installing Ubuntu 12.10 on the same VM which worked well, however that is of no use to me as I need Ubuntu 12.04 LTS only for testing purpose.

Please let me know if you need any further details. 

I need help on this as soon as possible, as the go live date of this server is really close.

share|improve this question
    
@belacqua I apologize for the inconvenience. I'll be careful while typing next time. Thank you!! –  Rishee Oct 31 '12 at 3:51
    
no problem. Can you try the install without LVM? –  belacqua Oct 31 '12 at 22:33
add comment

3 Answers 3

I got exactly the same GRUB boot loader error message when trying to install Ubuntu 12.04 LTS Server under VMware Player 4.0.3.

I then went back to basic installation and at a certain moment you are asked which kernel you are going to use. I chose the second option, i.e. linux-virtual and then it proceeded to reinstall basic services as well as grub and Ubuntu login screen came up.

I keep using 4.0.3 since it seems to be the last version containing vmnetcfg.exe in its cab folder which can be extracted with /e switch, as VMware stopped including this in the newer versions. VMware Player 5 certainly does not have it.

Of course you can opt to use VMware Workstation 8.0 or 9.0 if the money were not the issue.

share|improve this answer
add comment

RAM and processor should be irrelevant, as this is a hard disk (grub) message. Can you not re-use an image from a previously working install? If you have given 20G of disk space for the instance, I would think that is sufficient.

If all else fails, try cloning an existing, running image and then customize it. Be careful to change IP addresses before you attempt to bring it up in this case.

Since you have been using LVM, I would try without it at least as a test.

share|improve this answer
add comment

Did you set up your partitions manually? I had a similar issue running on VirtualBox, and I had to go through the manual partition setup, which allowed me to set the primary partition's bootable flag to Y (why that isn't the default, I'm not sure). Then I selected to reinstall the Linux file system and was later prompted to select a Linux kernel to boot to, followed by a prompt to install GRUB, which succeeded. The auto-setup appears to skip one or more of the above steps. FWIW, the Linux kernel I selected was the linux-virtual kernel -- not being too knowledgeable on the difference between that and the generic-pae version, I can at least say it booted up and appears to be functioning well.

share|improve this answer
    
@belacqua Thanks for reply and here is the information you need. I have given 1 core of XENON processor, 1 GB of RAM and 20 GB of HHD. I have used LVM with partition manager, where I do not have to create partitions manually. I do not have any working Ubuntu 12.04 LTS image installed anywhere. :( Please let me know if you need any further details. I tried installing Ubuntu 12.10 on the same VM which worked well however that is of no use to me as I need Ubuntu 12.04 LTS only for testing purpose. –  Rishee Oct 31 '12 at 3:48
    
@Rishee Just checking -- it looks like the information for this installation (1GB RAM, 1 core) is different from the info in the original question? Is this another attempt with a different config? –  belacqua Oct 31 '12 at 22:37
1  
Again I think it's related to your partitioning. I have 12.04LTS running on an 8GB disk with room to spare, so unless you're installing a bunch of packages alongside your installation, disk space shouldn't be an issue. Found this video, not sure if it's totally relevant since it's on VMWare Workstation 8 but it might at least point you. youtube.com/watch?v=NOP46NQ1b60 –  trpt4him Nov 2 '12 at 19:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.