Some AWS Quick Notes

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html

Open Virtual Appliance (OVA) image format, which is compatible with VMware vSphere versions 4 and 5.
Virtual Hard Disk (VHD) image format, which is compatible with Citrix Xen and Microsoft Hyper-V virtualization products.
Stream-optimized ESX Virtual Machine Disk (VMDK) image format, which is compatible with VMware ESX and VMware vSphere versions 4 and 5 virtualization products.

VM Import/Export supports MBR-partitioned volumes that are formatted using the NTFS filesystem. GUID Partition Table (GPT) partitioned volumes are not supported.

For non-system drives, there are two main options to convert: using Windows or a 3rd-party partitioning

-----Windows-----
diskpart
select disk 1
clean
convert mbr

-----GPT fdisk-----
gdisk64 \\.\physicaldrive1
y
r
g
p
w
y
diskpart
DISKPART> list disk
DISKPART> select disk (id)
DISKPART> online disk (if the disk is not online)
DISKPART> attributes disk clear readonly
DISKPART> clean
DISKPART> convert mbr (or gpt)
DISKPART> create partition primary
DISKPART> select part 1
DISKPART> active (if this is the boot partition)
DISKPART> format fs=ntfs label=(name) quick
DISKPART> assign letter (letter)
DISKPART> list volume

Leave a Reply

Your email address will not be published. Required fields are marked *