Назад | Перейти на главную страницу

Гость FreeBSD 10 на хосте qemu / kvm CentOS 7

Я пытаюсь установить FreeBSD 10 на хост CentOS без использования графики (используя только последовательную консоль). Я пробовал:

# virt-install -n freebsd-a -r 512 --vcpus=1 --os-variant=freebsd10.0 --graphics none -v --disk path=/home/freebsd/freebsd-a.qcow2,size=10 --cdrom /home/freebsd/FreeBSD-10.1-RELEASE-amd64-disc1.iso --network bridge=br0 --network bridge=br11 --autostart
WARNING  CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media

Starting install...
Creating domain...                                       |    0 B     00:00
Connected to domain freebsd-a
Escape character is ^]

Действительно, приставка не подключена. Когда я пытаюсь использовать --location, установка не запускается:

# virt-install -n freebsd-a -r 512 --vcpus=1 --os-type=freebsd --os-variant=freebsd10.0 --graphics none -v --disk path=/home/freebsd/freebsd-a.qcow2,size=10 --location /home/freebsd/FreeBSD-10.1-RELEASE-amd64-disc1.iso --network bridge=br0 --network bridge=br11 --autostart
WARNING  No 'console' seen in --extra-args, a 'console=ttyS0' kernel argument is likely required to see text install output from the guest.

Starting install...
ERROR    Could not find an installable distribution at '/home/freebsd/FreeBSD-10.1-RELEASE-amd64-disc1.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 freebsd-a
otherwise, please restart your installation.

 

# mount -o loop /home/freebsd/FreeBSD-10.1-RELEASE-amd64-disc1.iso /mnt/
# virt-install -n freebsd-a -r 512 --vcpus=1 --os-type=freebsd --os-variant=freebsd10.0 --graphics none -v --disk path=/home/freebsd/freebsd-a.qcow2,size=10 --location /mnt/ --network bridge=br0 --network bridge=br11 --autostart
ERROR    Error validating install location: Could not find an installable distribution at '/mnt/'

The location must be the root directory of an install tree.
See virt-install man page for various distro examples.

Что я делаю не так?