On Wed, Apr 01, 2015 at 08:19:57PM +0800, jefby wrote:
Hello,
Now i want to make an bootable iso image for aarch64,but when i installed
the livecd-tools ,it can't use like x86_64,it prints like below:
"Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 28, in <module>
import imgcreate
File "/usr/lib/python2.7/site-packages/imgcreate/__init__.py", line 19,
in <module>
from imgcreate.live import *
File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 1040, in
<module>
raise CreatorError("Architecture not supported!")
imgcreate.errors.CreatorError: Architecture not supported! "
and i have a question : How to make the fedora21 DVD for aarch64 ??
If you just want an F21 bootable *virtual* image for testing then you
can build one directly with virt-builder from any other Fedora >= 20
host [including from x86-64 hosts, but some less important
virt-builder options won't work]:
$ virt-builder --arch aarch64 fedora-21 --size 20G
[ 2.0] Downloading:
http://libguestfs.org/download/builder/fedora-21-aarch64.xz
[ 3.0] Planning how to build this image
[ 3.0] Uncompressing
[ 13.0] Resizing (using virt-resize) to expand the disk to 20.0G
[ 51.0] Opening the new disk
[ 73.0] Setting a random seed
[ 73.0] Setting passwords
virt-builder: Setting random password of root to B0gV73BwMCxLfnyu
[ 74.0] Finishing off
Output file: fedora-21.img
Output size: 20.0G
Output format: raw
Total usable space: 19.0G
Free space: 18.2G (95%)
Such an image can be imported into libvirt on your aarch64 host using
a `virt-install --import' command which is listed in the virt-builder
man page[1]. You can also boot it on x86-64 hosts under software
emulation using [2].
It may also be possible to boot this image on baremetal by writing it
to a USB stick: add the virt-builder `--output /dev/sdX' option.
However this depends on whether your aarch64 firmware can boot from
USB, which may or may not be possible. I think the firmware on the
Mustangs can boot from USB DVDs but not USB keys, but I've not tried
either so I don't know for sure.
Virt-builder cannot create CDs/DVDs/ISOs.
Rich.
[1]
http://libguestfs.org/virt-builder.1.html
[2]
https://rwmj.wordpress.com/2015/02/27/how-to-boot-a-fedora-21-aarch64-uef...
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org