Re: [gentoo-user] Re: Gentoo Virtualization
On Wednesday 09 September 2009 14:35:41 Peter Humphrey wrote: On Tuesday 08 September 2009 18:56:50 walt wrote: Are you seeing something very different at your end? Yes. I've created just one VM (this is on my KDE-4 test system). On the Details tab I get a list of configuration variables with their values. Under CD/DVD ROM I have Mount CD/DVD drive selected, and the Host CD/DVD drive drop-down box contains just the one entry: /dev/fd0. That's why I said I can't install a guest OS - the VM can't read the installation CD. Have I to make an ISO from the CD and mount that? Seems like a bit of a roundabout route if so. In addition to the screenshot, using Linux it's very easy to create an ISO-file from an existing CD/DVD. I always do it with: # cp /dev/cdrom path-to/bladiebla.iso (change paths / names as appropriate) No need to install additional software to do this and I have succesfully used this to create ISO images from MS Windows install media as well for use with both VirtualBox and VMWare. -- Joost
Re: [gentoo-user] Re: Gentoo Virtualization
On Thursday 10 September 2009 09:45:46 J. Roeleveld wrote: In addition to the screenshot, using Linux it's very easy to create an ISO-file from an existing CD/DVD. I always do it with: # cp /dev/cdrom path-to/bladiebla.iso (change paths / names as appropriate) No need to install additional software to do this and I have succesfully used this to create ISO images from MS Windows install media as well for use with both VirtualBox and VMWare. This is indeed strange - to make an ISO of a CD-ROM and install from that. I'll try it and see what happens. Thanks to you and Walt. -- Rgds Peter
Re: [gentoo-user] Re: Gentoo Virtualization
On Thursday 10 September 2009 02:31:20 walt wrote: I'm attaching a screen capture of the dialog window I see when mounting an ISO file on the vm's virtual CD player. If you are seeing something very different, then that's where we need to start debugging. Ah! Are you telling me I have to install the additions before /dev/hdc becomes visible? (That would also be one of my physical drives.) I had assumed they were for addition to an installed guest OS. -- Rgds Peter
Re: [gentoo-user] Re: Gentoo Virtualization
On Thursday 10 September 2009 12:04:52 Peter Humphrey wrote: On Thursday 10 September 2009 09:45:46 J. Roeleveld wrote: In addition to the screenshot, using Linux it's very easy to create an ISO-file from an existing CD/DVD. I always do it with: # cp /dev/cdrom path-to/bladiebla.iso (change paths / names as appropriate) No need to install additional software to do this and I have succesfully used this to create ISO images from MS Windows install media as well for use with both VirtualBox and VMWare. This is indeed strange - to make an ISO of a CD-ROM and install from that. I'll try it and see what happens. Thanks to you and Walt. This is an easy way to install software that, when unpacked, is larger then a DVD, but don't want to copy it to the local drive every time. I have a few ISO-images of around 14Gig with software on it. Just connect that to the virtual machine and install from there. :) -- Joost
[gentoo-user] Re: Gentoo Virtualization
On 09/10/2009 03:02 AM, Peter Humphrey wrote: On Thursday 10 September 2009 02:31:20 walt wrote: I'm attaching a screen capture of the dialog window I see when mounting an ISO file on the vm's virtual CD player. If you are seeing something very different, then that's where we need to start debugging. Ah! Are you telling me I have to install the additions before /dev/hdc becomes visible? (That would also be one of my physical drives.) I had assumed they were for addition to an installed guest OS. No, that's the iso I just happened to have attached to that vm -- it has no effect on the host. But my CD player does show up in the dialog box, so I have no idea why yours doesn't.
Re: [gentoo-user] Re: Gentoo Virtualization
On Tuesday 08 September 2009 18:56:50 walt wrote: Are you seeing something very different at your end? Yes. I've created just one VM (this is on my KDE-4 test system). On the Details tab I get a list of configuration variables with their values. Under CD/DVD ROM I have Mount CD/DVD drive selected, and the Host CD/DVD drive drop-down box contains just the one entry: /dev/fd0. That's why I said I can't install a guest OS - the VM can't read the installation CD. Have I to make an ISO from the CD and mount that? Seems like a bit of a roundabout route if so. -- Rgds Peter
Re: [gentoo-user] Re: Gentoo Virtualization
On Monday 07 September 2009 22:29:31 walt wrote: On 09/07/2009 02:02 AM, Peter Humphrey wrote: I tried it, but on my box it can't detect either of the DVD drives, so I can't install a client. Hm, never tried that. The reason is that I've always just used an iso file 'mounted' on the virtual machine's CD/DVD player to install a guest. Most open-source OS's supply the install disk in the form of an iso file, and to install Windows I create an iso file from the original CD/DVD first. The trouble is that there isn't a CD or DVD player on the vm at all; only /dev/fd0, which isn't a lot of use to me. -- Rgds Peter
[gentoo-user] Re: Gentoo Virtualization
On 09/08/2009 08:16 AM, Peter Humphrey wrote: On Monday 07 September 2009 22:29:31 walt wrote: On 09/07/2009 02:02 AM, Peter Humphrey wrote: I tried it, but on my box it can't detect either of the DVD drives, so I can't install a client. Hm, never tried that. The reason is that I've always just used an iso file 'mounted' on the virtual machine's CD/DVD player to install a guest. Most open-source OS's supply the install disk in the form of an iso file, and to install Windows I create an iso file from the original CD/DVD first. The trouble is that there isn't a CD or DVD player on the vm at all; only /dev/fd0, which isn't a lot of use to me. You've confused me there. We're talking about VirtualBox, right? Every time I create a new virtual machine it automatically has a virtual CD/DVD player on which I can mount ISO files. Just tell vbox which ISO image you want mounted on the virtual CD player and start the vm. Are you seeing something very different at your end?
Re: [gentoo-user] Re: Gentoo Virtualization
On Saturday 05 September 2009 23:06:37 walt wrote: I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. I suggest you fetch the latest stable binary package from: http://www.virtualbox.org/wiki/Linux_Downloads (choose the All distributions package) and run it, which will also build and install the vbox kernel modules automatically. It's very easy, quick, and simple. It even comes with an uninstall script if you don't like it. I tried it, but on my box it can't detect either of the DVD drives, so I can't install a client. I may try installing it on my local server and see if that's any better. -- Rgds Peter
[gentoo-user] Re: Gentoo Virtualization
On 09/07/2009 02:02 AM, Peter Humphrey wrote: On Saturday 05 September 2009 23:06:37 walt wrote: I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. I suggest you fetch the latest stable binary package from: http://www.virtualbox.org/wiki/Linux_Downloads (choose the All distributions package) and run it, which will also build and install the vbox kernel modules automatically. It's very easy, quick, and simple. It even comes with an uninstall script if you don't like it. I tried it, but on my box it can't detect either of the DVD drives, so I can't install a client. Hm, never tried that. The reason is that I've always just used an iso file 'mounted' on the virtual machine's CD/DVD player to install a guest. Most open-source OS's supply the install disk in the form of an iso file, and to install Windows I create an iso file from the original CD/DVD first.
[gentoo-user] Re: Gentoo Virtualization
walt wrote: [] I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. Some questions, please: 1. How would you contrast these two packages for security use? (I'm planning on setting up a server on my desktop, and would think running it in a VM would be appropriate) 2. Should someone get a shell in either of these VM clients, would they even be able to determine that they're not on hardware (using full virtualization)? 3. Do the VMs see themselves as being on a LAN (e.g. 192.168.x.x), or do they actually share the hardware with the host? 4. Do you communicate with them via, e.g. SSH and/or X? Thank You (been hoping to find someone who knew both VB and KVM :-) )
Re: [gentoo-user] Re: Gentoo Virtualization
1) Security is for exploiting 2) If they are well versed on the drivers that virtualization technologies use, then yes they can tell they are on a virtual machine and not on dedicated server. 3) You can bridge network connection physically on the network minus the nic of course 4) Virtualization servers VMware, VirtualBox offer clients to connect to the servers, ssh, sftp is also possible as is done with regular servers. Regards, Ninus
[gentoo-user] Re: Gentoo Virtualization
On 09/06/2009 09:38 AM, 7v5w7go9ub0o wrote: walt wrote: [] I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. Some questions, please: 1. How would you contrast these two packages for security use? (I'm planning on setting up a server on my desktop, and would think running it in a VM would be appropriate) 2. Should someone get a shell in either of these VM clients, would they even be able to determine that they're not on hardware (using full virtualization)? 3. Do the VMs see themselves as being on a LAN (e.g. 192.168.x.x), or do they actually share the hardware with the host? 4. Do you communicate with them via, e.g. SSH and/or X? I'm not a computer professional, so I'm not the best one to give advice about security. I can tell you that both vbox and kvm are built on top of a qemu base so they share a lot of code. The principal advantage for vbox is its nice gui interface to the massive list of qemu command-line options, and its highly optimized virtual graphics driver, which is what make vbox faster than kvm. If you don't need the fancy fast graphics driver (for your server) then it's just about a tossup between the two, both being based on qemu.(Oh, but vbox is very fast even without hardware virtualization support, and kvm isn't.) Networking is anywhere between trivial and a nightmare, depending on what you need it to do. Both by default just work when a guest is talking to the internet via your host machine, but then it's difficult communicating with the guest locally. There are ways to do bridging, firewalling, making a virtual lan between guests, and lots of fancy stuff, but then you really need to know how to use all those fancy options (which I don't). I use both of them to run Windows guests using the default network settings (no custom configuration whatever) and I use samba on the host to share files with the guests, which is very easy. I suspect that running a virtual server might require some network tweaking to make a decent job of it, but I'm only guessing. I hope some experts can add to or correct the above.
Re: [gentoo-user] Re: Gentoo Virtualization
On Sun, Sep 6, 2009 at 1:14 PM, waltw41...@gmail.com wrote: On 09/06/2009 09:38 AM, 7v5w7go9ub0o wrote: walt wrote: [] I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. Some questions, please: 1. How would you contrast these two packages for security use? (I'm planning on setting up a server on my desktop, and would think running it in a VM would be appropriate) 2. Should someone get a shell in either of these VM clients, would they even be able to determine that they're not on hardware (using full virtualization)? 3. Do the VMs see themselves as being on a LAN (e.g. 192.168.x.x), or do they actually share the hardware with the host? 4. Do you communicate with them via, e.g. SSH and/or X? I'm not a computer professional, so I'm not the best one to give advice about security. I can tell you that both vbox and kvm are built on top of a qemu base so they share a lot of code. The principal advantage for vbox is its nice gui interface to the massive list of qemu command-line options, and its highly optimized virtual graphics driver, which is what make vbox faster than kvm. If you don't need the fancy fast graphics driver (for your server) then it's just about a tossup between the two, both being based on qemu.(Oh, but vbox is very fast even without hardware virtualization support, and kvm isn't.) Networking is anywhere between trivial and a nightmare, depending on what you need it to do. Both by default just work when a guest is talking to the internet via your host machine, but then it's difficult communicating with the guest locally. There are ways to do bridging, firewalling, making a virtual lan between guests, and lots of fancy stuff, but then you really need to know how to use all those fancy options (which I don't). I use both of them to run Windows guests using the default network settings (no custom configuration whatever) and I use samba on the host to share files with the guests, which is very easy. I suspect that running a virtual server might require some network tweaking to make a decent job of it, but I'm only guessing. I hope some experts can add to or correct the above. Well, not an expert by any measure here, but I have been using Vbox for about a year (with a variety of both hosts and guests), and I will mention that networking with it is an absolute breeze 9 out of 10 times. Bridged connections, internal networks (client to client visible only, great for hosting mysql on one guest and apache on another), host-only (internal with a virtual connection into it on the host, only worked with this on Windows hosts), NATed connections through the host (not optimal for servers, but the default and great for initial builds and 'simple' work with a guest). I also run 3-4 guests at a time with no problem on my meager little Core 2 duo, 3.0ghz, 4gb ram. -- Poison [BLX] Joshua M. Murphy
[gentoo-user] Re: Gentoo Virtualization
On 09/05/2009 01:59 PM, Nick Khamis wrote: Hey Neil, I tried to compile virtualbox using intructions here http://en.gentoo-wiki.com/wiki/VirtualBox;. And it was unsuccesful, I have attached the build.log As I said in a different thread, that version of virtualbox-modules will build successfully against kernels *older* than 2.6.29. I don't use vmware but I do use virtualbox every day and I love it. It's extremely fast even compared to kvm, which I also use on my newest machine with hardware virtualization support. I suggest you fetch the latest stable binary package from: http://www.virtualbox.org/wiki/Linux_Downloads (choose the All distributions package) and run it, which will also build and install the vbox kernel modules automatically. It's very easy, quick, and simple. It even comes with an uninstall script if you don't like it.