Thanks very much.I will try this method.
I have followed the mock instruction by Paul Whalen , and now I get a
DVD iso files, but there are some warning or errors in the process
like below:
preparing to build output tree and boot images
rebuilding initramfs images
rebuilding boot/initramfs-3.19.3-200.fc21.aarch64.img
No '/dev/log' or 'logger' included for syslog logging
Failed to read /proc/cmdline, ignoring: No such file or directory
cat: write error: Broken pipe
rebuilding boot/upgrade-3.19.3-200.fc21.aarch64.img
No '/dev/log' or 'logger' included for syslog logging
Failed to read /proc/cmdline, ignoring: No such file or directory
cat: write error: Broken pipe
populating output tree and building boot images
running aarch64.tmpl
INFO:program:Running...
maybe it's the mock configuration caused??
jefby
2015-04-04 21:59 GMT+08:00 Richard W.M. Jones <rjones(a)redhat.com>:
On Sat, Apr 04, 2015 at 02:53:42PM +0100, Richard W.M. Jones wrote:
> $ virt-builder --arch aarch64 fedora-21 --size 20G
[...]
> 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.
That should be:
Add the virt-builder --output /dev/sdX option and *drop* the --size 20G
option, since virt-builder detects the size from the output device.
The final command line for USB sticks would be:
$ virt-builder --arch aarch64 fedora-21 --output /dev/sdX
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html