[CentOS-virt] create a guest

2013-01-16 Thread mattias
can i create a guest with libvirt and use an existing disc with freebsd?___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread Digimer
On 01/16/2013 12:45 PM, mattias wrote:
 can i create a guest with libvirt and use an existing disc with freebsd?

Yes. The 'virt-manager' application will let you use a disc in a drive
as installation media.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread mattias
i not use a desktop os
windows on my desktop centos minimal on the server
- Original Message - 
From: Digimer li...@alteeve.ca
To: Discussion about the virtualization on CentOS centos-virt@centos.org
Sent: Wednesday, January 16, 2013 6:48 PM
Subject: Re: [CentOS-virt] create a guest


 On 01/16/2013 12:45 PM, mattias wrote:
 can i create a guest with libvirt and use an existing disc with freebsd?

 Yes. The 'virt-manager' application will let you use a disc in a drive
 as installation media.

 -- 
 Digimer
 Papers and Projects: https://alteeve.ca/w/
 What if the cure for cancer is trapped in the mind of a person without
 access to education?
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] create a guest

2013-01-16 Thread mattias
can i create a guest with libvirt and use an existing disc with freebsd?___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread Digimer
Then you can use virt-install, but you will need to setup a VNC
connection to the host in order to see the new VM and finish the
install. If you're new to this, I'd strongly recommend installing the
CentOS desktop and using virt-manager until you get used to it though.

On 01/16/2013 12:49 PM, mattias wrote:
 i not use a desktop os
 windows on my desktop centos minimal on the server
 - Original Message - 
 From: Digimer li...@alteeve.ca
 To: Discussion about the virtualization on CentOS centos-virt@centos.org
 Sent: Wednesday, January 16, 2013 6:48 PM
 Subject: Re: [CentOS-virt] create a guest
 
 
 On 01/16/2013 12:45 PM, mattias wrote:
 can i create a guest with libvirt and use an existing disc with freebsd?

 Yes. The 'virt-manager' application will let you use a disc in a drive
 as installation media.

 -- 
 Digimer
 Papers and Projects: https://alteeve.ca/w/
 What if the cure for cancer is trapped in the mind of a person without
 access to education?
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] create a guest

2013-01-16 Thread mattias
can i create a guest with libvirt and use an existing disc with freebsd?___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread David Hackl
Probably the easiest way would be to use a centos vm to connect via
virt-manager or you can look into the man's of virt-install?

you could also forware x via ssh to your pc and start it on the server.

Am Mittwoch, den 16.01.2013, 13:00 -0500 schrieb Digimer:
 Then you can use virt-install, but you will need to setup a VNC
 connection to the host in order to see the new VM and finish the
 install. If you're new to this, I'd strongly recommend installing the
 CentOS desktop and using virt-manager until you get used to it though.
 
 On 01/16/2013 12:49 PM, mattias wrote:
  i not use a desktop os
  windows on my desktop centos minimal on the server
  - Original Message - 
  From: Digimer li...@alteeve.ca
  To: Discussion about the virtualization on CentOS centos-virt@centos.org
  Sent: Wednesday, January 16, 2013 6:48 PM
  Subject: Re: [CentOS-virt] create a guest
  
  
  On 01/16/2013 12:45 PM, mattias wrote:
  can i create a guest with libvirt and use an existing disc with freebsd?
 
  Yes. The 'virt-manager' application will let you use a disc in a drive
  as installation media.
 
  -- 
  Digimer
  Papers and Projects: https://alteeve.ca/w/
  What if the cure for cancer is trapped in the mind of a person without
  access to education?
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
  
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
  
 
 

-- 
I'm using PGP to sign my messages and attachments. That's why there is a
file named signature.asc is attached to all e-mails. If you don't use
PGP, you can ignore this file.

Ich verwende PGP, um meine E-Mails und Anhänge zu signieren. Aus diesem
Grund ist dieser E-Mail eine Datei mit dem Namen signature.asc
angehängt. Falls Du kein PGP nutzt, solltest du diese Datei einfach
ignorieren.




signature.asc
Description: This is a digitally signed message part
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread Timo Schoeler
On 01/16/2013 07:26 PM, mattias wrote:

 but i allredy have the freebsd disc image file on the server

You may just create a logical volume, use dd(1) to transfer its contents
onto the lv and use this.

Done that several times, works like a charm.

HTH,

Timo

PS: Please avoid top posting.

 - Original Message - 
 From: Scott Dowdle dow...@montanalinux.org
 To: Discussion about the virtualization on CentOS centos-virt@centos.org
 Sent: Wednesday, January 16, 2013 7:23 PM
 Subject: Re: [CentOS-virt] create a guest
 
 
 Mattias,

 - Original Message -
 can i create a guest with libvirt and use an existing disc with
 freebsd?

 libvirt is a library.  Programs are written to use the functions it 
 provides.

 libvirtd is a service that does things like provide a DHCP server to VMs 
 that are using NAT.

 virtsh is a command line tool to manage virtual machines.  It uses 
 libvirt.

 virt-manager is a GUI tool to manage virtual machines.  It uses libvirt.

 There are a number of other tools that are named virt-{whatever}.  One of 
 those is virt-install.

 The most direct, but perhaps more complicated way to do everything is to 
 simply run qemu-kvm from the command line and pass to it all of the 
 arguments needed to create a virtual machine from which you can boot from 
 install media.  Installing an OS from installation media is a graphical 
 thing.  There is a virtual video card that shows the output of the booting 
 media.  You will need a GUI of some sort to do a raw install.  Once you 
 have created a virtual machine, you can use the existing VMs storage (disk 
 image file, partition, etc) as a cookie cutter to make other VMs from in a 
 less GUI way.

 As others have said, you should probably install enough GUI stuff on your 
 VM host machine so you can start with virt-manager.  You don't have to run 
 a complete desktop to use virt-manager.  In fact you can ssh -X to your VM 
 host from another machine that has X running and have virt-manager appear 
 on your local display without running X11 on the VM host.

 So the answer to the question you keep repeating... is yes... you can 
 install FreeBSD from a disc... if you'll start figuring out the system, 
 how it works, and the tools that are available to do what you want.

 Having said that, I've not installed FreeBSD and I've not done an install 
 from a physical CD/DVD.  I've always done Linux or Windows from an .iso 
 file... and I primarily use virt-manager.  The non-GUI ways are mostly for 
 advanced users.

 TYL,
 -- 
 Scott Dowdle
 704 Church Street
 Belgrade, MT 59714
 (406)388-0827 [home]
 (406)994-3931 [work]
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread Scott Dowdle
Greetings,

- Original Message -
 but i allredy have the freebsd disc image file on the server

DUH... I thought you were saying you had a disc or disc image of the FreeBSD 
install media.  You already have a FreeBSD VM disk image?  In that case, what 
is it from?  Is it a KVM VM or did it come from some other virt platform like 
VMware, VirtualBox, Parallels, Xen or what?

You may run into an issue with drivers if it came from another virt platform 
that uses product specific tools (like VMware tools for example)... where to 
make it work correctly you have to remove their tools.  This is probably less 
of an issue with a FreeBSD VM though.

There is also v2v which supposedly can convert a disk image of a VM from one 
product format to another.  I haven't used it.  There should be good 
documentation for v2v if you do a search.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread mattias
stacklet.com
kvm image
- Original Message - 
From: Scott Dowdle dow...@montanalinux.org
To: Discussion about the virtualization on CentOS centos-virt@centos.org
Sent: Wednesday, January 16, 2013 9:03 PM
Subject: Re: [CentOS-virt] create a guest


 Greetings,

 - Original Message -
 but i allredy have the freebsd disc image file on the server

 DUH... I thought you were saying you had a disc or disc image of the 
 FreeBSD install media.  You already have a FreeBSD VM disk image?  In that 
 case, what is it from?  Is it a KVM VM or did it come from some other virt 
 platform like VMware, VirtualBox, Parallels, Xen or what?

 You may run into an issue with drivers if it came from another virt 
 platform that uses product specific tools (like VMware tools for 
 example)... where to make it work correctly you have to remove their 
 tools.  This is probably less of an issue with a FreeBSD VM though.

 There is also v2v which supposedly can convert a disk image of a VM from 
 one product format to another.  I haven't used it.  There should be good 
 documentation for v2v if you do a search.

 TYL,
 -- 
 Scott Dowdle
 704 Church Street
 Belgrade, MT 59714
 (406)388-0827 [home]
 (406)994-3931 [work]
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] create a guest

2013-01-16 Thread Scott Dowdle
Greetings,

- Original Message -
 stacklet.com
 kvm image

In that case, what I would do would be to create a new VM with virt-manager but 
use the disk image file provided.  That will basically create 
/etc/libvirt/qemu/whatever.xml where whatever is the name you gave the VM in 
virt-manager.  Then you can use virt-manager to start, stop, console connect 
etc... or you can use virsh from the command line.

BTW, if the VM is to have a public IP address then you want to setup a bridge 
device if you don't already have one, and associate the VM with that when you 
create it.  If it is going to use a private IP address, then you can just use 
the default NAT.

KVM is a little complicated to get going with but the effort is definitely 
worth it.

And again, there is good documentation if you do a few searches.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt