You are not logged in.
I'm trying to install archlinux on KVM on archlinux with virt-install 1.4.1, cli only.
exec below command
# virt-install \
--connect qemu:///system \
--location /var/archlinux-2017.06.01-x86_64.iso \
--name test_vm \
--vcpus=1 \
--ram 4096 \
--os-type=linux \
--os-variant=virtio26 \
--nographics
--disk pool=kvm_guests,bus=virtio,size=30,cache=writethrough \
--network bridge=br0,model=virtio \
--extra-args="console=tty0 console=ttyS0,115200n8 serial" \
--keymap=ja
then virt-install says
Starting install...
ERROR Could not find an installable distribution at '/var/archlinux-2017.06.01-x86_64.iso'
The location must be the root directory of an install tree.
See virt-install man page for various distro examples.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start test_vm
otherwise, please restart your installation.
Using CentOS ISO, error not come out.
--location /var/CentOS-7-x86_64-Minimal-1611.iso \
How can I resolve this error.
Or anyone succeeded installing archlinux on KVM?
Last edited by 17mhz (2017-07-01 05:11:29)
Offline
-l LOCATION , --location=LOCATION
Distribution tree installtion source. virt-install can recognize certain distribution trees and fetches a bootable kernel/initrd pair to launch the install.
The archlinux iso is a hybrid format that can boot from optical disc or removable media, not a distribution tree.
try
--cdrom=/var/archlinux-2017.06.01-x86_64.iso \
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
I can install archlinux iso on kvm with --cdrom option.
thank you so much.
Offline