Jump to content

Convert Armbian x86 img


Recommended Posts

Hello,

 

I wanna test Armbian x86 on virtual machine.

 

Is possible to convert its img file to some format (vdi or vmdk) and boot on Virtualbox?

 

I made a attempt but it wont boot..

 

VBoxManage.exe convertfromraw --format VDI armbian.img ambian.vdi

 

Thx a lot

Link to comment
Share on other sites

20 hours ago, primoitt said:

Is possible to convert its img file to some format (vdi or vmdk) and boot on Virtualbox?

 

This is how it goes on KVM ... if it helps.

 

wget -q -O - "https://redirect.armbian.com/region/EU/uefi-x86/Jammy_current" | xz -d > image.iso
sudo qemu-img convert -f raw -O qcow2 image.iso /var/lib/libvirt/images/image.qcow2
sudo qemu-img resize /var/lib/libvirt/images/image.qcow2 +10G
virt-install --name Armbian --memory 2048 --vcpus 4 --disk /var/lib/libvirt/images/image.qcow2,bus=sata --import --os-variant ubuntu22.04 --network bridge=br1 --noautoconsole

 

Link to comment
Share on other sites

Well, we mostly use Win PCs. So using either Virtual Box or Hyper-V. And no any possible ways to use IMG in these engines. Could you distribute ISO-image for x64 build?

 

On 3/19/2023 at 6:22 PM, Igor said:
wget -q -O - "https://redirect.armbian.com/region/EU/uefi-x86/Jammy_current" | xz -d > image.iso

This command doing nothing but rename IMG downloaded to ISO! So this is not ISO at all.

Link to comment
Share on other sites

2 minutes ago, walkin-corpse said:

Could you distribute ISO-image for x64 build?


They are ISO images, just compressed with .xz

 

1 minute ago, walkin-corpse said:

This command doing nothing but rename IMG downloaded to ISO!


Yes. this should be correct ISO image, just with fixed name. If you use this link https://redirect.armbian.com/region/EU/uefi-x86/Jammy_current our redirector will give you latest image.

Link to comment
Share on other sites

14 hours ago, walkin-corpse said:

IMG-format and ISO-format aren't equal.

 

"Virtual disk images (such as VHD and VMDK) are intended to be used for cloud computing,"
https://en.wikipedia.org/wiki/IMG_(file_format)#Comparison_to_ISO_images


Our build framework can generate cloud images directly https://github.com/armbian/build/blob/main/extensions/image-output-vhd.sh in case you need to automate this and you don't want to mess with additional scripting.

 

./compile.sh ENABLE_EXTENSIONS="image-output-vhd" 

 

14 hours ago, walkin-corpse said:

armbian-install not helps, not detect SATA VHD.

 

Try using dd and copy entire image from USB to /dev/vdi or whatever disk device is.

 

Please provide armbianmonitor -u and if you want to look into & help in this context, here are sources. You are also welcome to open a ticket and we both can hope someone will fix this soon. Even its probably just one-line fix, someone needs to find that line, test it to make sure it works and open a pull request. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines