Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing to a VM in libvirt/qemu/kvm, in console mode?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
twork
Apprentice
Apprentice


Joined: 28 Jul 2006
Posts: 155

PostPosted: Tue Apr 07, 2015 4:28 pm    Post subject: Installing to a VM in libvirt/qemu/kvm, in console mode? Reply with quote

I'm trying to set up a VM on libvirt, qemu, kvm, without any graphical interface, running the installation inside an xterm. I've done this before but now I can't find the magic.

I've been googling around for a day now; I won't even bother quoting anything I've found. Recipes are either out of date or don't describe what I want.

Latest thing I've tried, adapted from a recipe I found in an old Debian thread:
Code:
virt-install \
--location=/mnt/cdrom \
-r 1024 \
--virt-type kvm \
-n gentoo-a \
--disk path=/export/vms/libvirt/images/gentoo-a-2015-04-07.qcow2,size=26 \
--graphics=none \
--bridge=brkvm \
--os-type linux \
--extra-args='console=tty0 console=ttyS0,115200n8'
...yields the error:
Code:
ERROR    Error validating install location: Could not find an installable distribution at '/mnt/cdrom'
The location must be the root directory of an install tree.
See virt-install man page for various distro examples.

The latest Gentoo install ISO is mounted at /mnt/cdrom, so there must be something I'm missing.

I won't even bother posting other attempts, since it's clear that I need a clue. Got one?

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum