Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Creating a Custom CentOS VHD with VirtualBox

$
0
0

I am trying to create a custom CentOS image for Azure using VirtualBox. Basically I create a VHD install a CentOS (minimum) on that using standard partition instead of LVM. Then the image is prepared according to the documentation and waagent gets installed from the OpenLogic repository. The disk is uploaded using azure image create, which correctly uploads the disk in page blob format. I can launch VMs but they get stuck in the phase of provisioning.

This is a very common issue: "Stuck in provisioning phase" But none of the suggested solutions seem to work. I really tried a lot, unfortunately most is guess work and very unfortunately all documentation is based on Hyper-V, which I simply can't use.

My questions are the following:

1. How to debug the provisioning phase? After hitting that issue most is guesswork, since I don't get any error messages.

2. What might I be overlooking? I follow the documentation, but maybe I am overlooking something regarding VirtualBox.

3. What size should a VHD be?

4. What about grub and grub2? By now I edit grub.conf and menu.lst1 to deactivate numa and edit other kernel options.

5. waagent gives me a Errno 5 and I don't know why? I went through the source code and it seems that every deporvisioining step is executed correctly.

6. I use CentOS minimum, should I install some additional packages, for example wget?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>