I'm trying to create my own image file from the boot disk, so I can import it to google cloud. However, I got an invalid conversion on it. Hope someone can give me some instruction on that. Thank you!
The version of dd you have installed may not support the conv=sparse option. You may have to upgrade your coreutils package to obtain a version of dd that supports that option.
Related
I tried to import Parrot Security OVA into VMWare 15.5 and it is giving me the following errors:
Line 150: Unsupported element 'StorageItem'.
Line 159: Unsupported element 'EthernetPortItem'.
According to previous questions about Parrot Security OVA, it seems that VMWare requires another format to import. If so, can anyone please tell me a possible way to change the Parrot OVA format/ VMWare settings appropriately to resolve these errors?
OVA file is not recommended. ISO is best everytime. Since OVA is pre-configured it's easy to use but you may lack some requirements which will make it fail to import. On the other hand in ISO you can configure all , so chances of errors are less
I want to use Manjaro in GCP compute engine with GUI but there isn't any image available in compute engine
You need to install Manjaro in your own machine first using something like VirtualBox. Then you can upload the local boot disk to GCS and use that.
See details here: https://cloud.google.com/compute/docs/images/importing-virtual-disks
Seems Manjaro is based on Arch but GCP only supports CentOS/Debian/Red Hat/Ubuntu
(https://cloud.google.com/compute/docs/images/importing-virtual-disks#supported_operating_systems)
Don't if it will work.
For GUI, you need to install X and VNC server then use vnc client to connect.
Besides what Cloud Ace already mentions, there's another resource I believe you might find of interest.
There is actually an ArchLinux dedicated repo in the official GCP GitHub page, which contains some instructions as per how to install ArchLinux into a GCE instance by either using a preconfigured image in the available public images in GCP or building yourself your own custom image. I believe the process of building an image could be attempted with Manjaro, given the fact that it is originally intended for ArchLinux. It has potential to work.
In the end, if the custom image building does not work out with Manjaro, you can always use the Arch Linux public image mentioned in the GitHub I shared (which is the minimal base Arch Linux image), and install the desktop environment you like.
Hope this helps.
I want to create a new Google Cloud instance with Hardenedbsd iso. Hardenedbsd is a FreeBSD based OS. I checked public documentation on https://cloud.google.com/compute/docs/images/import-existing-image but I couldn't see FreeBSD on supported OS section.
Is there a way to do that?
FreeBSD works pretty well in GCE, the upload procedure of a custom image or making your own is quite easy I would say even better than with AWS, therefore high are the changes the same could apply for Hardenedbsd, the only "trick" is that after you have your raw disk you need to use gnu tar to upload the image:
gtar -cSzf freebsd.tar.gz disk.raw
To create the disk.raw I use this script https://github.com/fabrik-red/images/blob/master/fabrik.sh (root on ZFS) to read more about the procedures you could check: https://fabrik.red/post/google/
For testing or getting an idea, you could try FreeBSD 12.0
https://github.com/fabrik-red/images/releases/download/12.0/disk.tar.gz
I haven't tried working with any *BSD on Google Cloud Platform so take my words with a grain of salt.
You could try booting the instance in rescue mode (if supported) and perform a dd to write the Hardenedbsd to the main disk.
You could also take a look on Packer from Hashicorp which is meant to create OS images to be deployed on the cloud.
https://www.packer.io/docs/builders/googlecompute.html
I wants to import vm from vmware to xenserver using xenserver conversion manager using xe command"
xe vm-import filename='' force=true host-password=<> host-username=<> preserve=false remote-config= ? sr-uuid=<> type=ESXServer
you can also see the command using xe help vm-import.
But I don't know what arguments pass in remote-config=
I hope the following two options directly answer your question as they are the shortest paths.
From VMWare, export your desired VM to a shared disk (or your desktop) -- making sure the output is in OVF format. From XenCenter, use the import utility: browsing to your shared disk and selecting the OVF file in question.
Depending on your version of XenServer there exists a virtual appliance to assist with pulling in VMs from VMware/VSphere. These are licensed options for the record, so opensource XenServer will not facilitate the functions of these solutions.
I will focus on XenServer 6.5, which download resources can be found at:
http://www.citrix.com/downloads/xenserver/product-software/xenserver-65.html
You will want to browse to the bottom of the page for "Optional Components" and download the XenServer Conversion Manager VPX 6.5.0 and/or Console tool for batch conversion.
After importing the appliance, the documentation on using it can be found in the Administration Guide.
From VMware, the VM should be exported to OVF form
The Google Compute Engine announcement mentions support for RHEL, SUSE, and FreeBSD. On VM creation only Debian and CentOS are available. Is FreeBSD support still being worked on or do I need to create my own disk image to start with?
FreeBSD is now supported by the service, but images are not provided by Google. Paul Rashidi has posted detailed steps for creating a FreeBSD image.
Later in the same thread, Dave Cottlehuber shares a tool he created to make installation easier.
For RHEL and SUSE, there is a signup link in the Premium Operating Systems documentation.
update: On June 9th, we published a video walking through the details of How to build a custom image for Compute Engine.
I've been working on a script to build images for FreeBSD on Google Compute Engine, see:
https://plus.google.com/112202779615695172291/posts/eYajb8JKerY
for more details.
Anther option for building images can be found here:
https://github.com/daveish/freebsd-gce-tools