Re: FreeBSD as VMWare guest / disk resizing
You'll of course need to boot from another medium to do this. That's my main question - can a larger disk be detected *without* a reboot. On FreeBSD instances running within VMWare I have been able to add new disks without a reboot but, as I described below, have not found a way to get the operating system to detect a larger *existing* disk without a reboot. VMWare allows you to resize a disk on the fly. Obviously I'm only interested in the grow the disk scenario :-) I'm beginning to think a reboot is necessary, which is surprising! On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: Hello everyone - I'm looking for a way to get FreeBSD 8 / 9 to detect that an already existing disk has grown. I have FreeBSD running as a guest within vSphere ESX 5. Here is the output of camcontrol showing how the disks are detected within the OS: [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command Queueing Enabled In the VM settings I can increase the disk size but I can't seem to find the right command within FreeBSD to force it to detect the new, larger size without a reboot. 'camcontrol rescan all' works great to detect a new drive but doesn't detect a larger disk. Within a Linux distribution like Debian, the following command will detect the larger drive: echo 1 /sys/class/scsi_device/0:0:0:0/device/rescan I apologize if this has been answered in the archives or online but I just haven't been able to get a definitive answer if this is possible, and how. Thanks so much in advance, Luke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD as VMWare guest / disk resizing
On Tue, 18 Dec 2012, Luke Bakken wrote: You'll of course need to boot from another medium to do this. That's my main question - can a larger disk be detected *without* a reboot. On FreeBSD instances running within VMWare I have been able to add new disks without a reboot but, as I described below, have not found a way to get the operating system to detect a larger *existing* disk without a reboot. VMWare allows you to resize a disk on the fly. Obviously I'm only interested in the grow the disk scenario :-) Force a GEOM retaste? # true /dev/ada0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD as VMWare guest / disk resizing
On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote: You'll of course need to boot from another medium to do this. That's my main question - can a larger disk be detected *without* a reboot. On FreeBSD instances running within VMWare I have been able to add new disks without a reboot but, as I described below, have not found a way to get the operating system to detect a larger *existing* disk without a reboot. VMWare allows you to resize a disk on the fly. Obviously I'm only interested in the grow the disk scenario :-) I'm beginning to think a reboot is necessary, which is surprising! Live resize (without reboot even) is something being worked on for the future 10.x series. -- Devin On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: Hello everyone - I'm looking for a way to get FreeBSD 8 / 9 to detect that an already existing disk has grown. I have FreeBSD running as a guest within vSphere ESX 5. Here is the output of camcontrol showing how the disks are detected within the OS: [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command Queueing Enabled In the VM settings I can increase the disk size but I can't seem to find the right command within FreeBSD to force it to detect the new, larger size without a reboot. 'camcontrol rescan all' works great to detect a new drive but doesn't detect a larger disk. Within a Linux distribution like Debian, the following command will detect the larger drive: echo 1 /sys/class/scsi_device/0:0:0:0/device/rescan I apologize if this has been answered in the archives or online but I just haven't been able to get a definitive answer if this is possible, and how. Thanks so much in advance, Luke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD as VMWare guest / disk resizing
On 18 December 2012 15:27, Devin Teske devin.te...@fisglobal.com wrote: On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote: Live resize (without reboot even) is something being worked on for the future 10.x series. Looking forward to this, we can't offer cloud instances with FreeBSD until this happens. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD as VMWare guest / disk resizing
It can be done but it's not easy and not pretty. You'll have to rewrite the partition scheme to grow *only* the last partition and then use growfs on the last partition to zero the new inodes within its newly defined range. You'll of course need to boot from another medium to do this. I usually use DruidBSD for this: DruidBSD-1.0b1.iso (a tiny 23.5MB ISO that you can write to thumb disk with dd or burn to cd; either works fine) Boot from it and use the tools like disklabel -e /dev/yourdisk But… be extremely careful and do your mathematics! I know this isn't a complete step-by-step guide, but I wanted to get the answer out there that this is possible and it's a known quantity, but it can be dangerous if you get the math wrong when editing the disklabel positions, for example. If you can get that part right, the rest is easy (growfs). -- Devin On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: Hello everyone - I'm looking for a way to get FreeBSD 8 / 9 to detect that an already existing disk has grown. I have FreeBSD running as a guest within vSphere ESX 5. Here is the output of camcontrol showing how the disks are detected within the OS: [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command Queueing Enabled In the VM settings I can increase the disk size but I can't seem to find the right command within FreeBSD to force it to detect the new, larger size without a reboot. 'camcontrol rescan all' works great to detect a new drive but doesn't detect a larger disk. Within a Linux distribution like Debian, the following command will detect the larger drive: echo 1 /sys/class/scsi_device/0:0:0:0/device/rescan I apologize if this has been answered in the archives or online but I just haven't been able to get a definitive answer if this is possible, and how. Thanks so much in advance, Luke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
--On Wednesday, March 17, 2010 21:34:43 +0100 Erik Norgaard norga...@locolomo.org wrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? - I can't see the network devices from vmware - I can't start xwindows, no monitor is found Any clues? Yes. Use VirtualBox. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
On Wed, Mar 17, 2010 at 3:34 PM, Erik Norgaard norga...@locolomo.orgwrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? I don't use vmware, but you glabel the block devices and they would then be consistent in both. - I can't see the network devices from vmware - I can't start xwindows, no monitor is found I imagine the same hardware isn't presented to FreeBSD in the VM. You might need to do something like have two separate xorg.conf. Same with NIC, except you might be able to just have two entries in rc.conf. What does ifconfig says on physical hw and in VM? Any clues? Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
On 17/03/2010 10:34 μ.μ., Erik Norgaard wrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? Best would probably be to label the devices and use the labels instead of device names. It will work without changes in both bare metal and vmware. (Or maybe use the ufsid labels.) Check this out: http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html - I can't see the network devices from vmware The emulated network device is probably different than the one you are using. I believe most recent vmware versions emulate an Intel NIC, i.e. em0. Use ifconfig to check and add a line in rc.conf for this - I can't start xwindows, no monitor is found This is definitely fixable, make sure you install xf86-video-vmware port and create an xorg.conf by hand if needed (probably not) using the Handbook instructions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
On 03/17/10 16:34, Erik Norgaard wrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? I think your best solution for this is to use glabel(8) to setup permanent labels on the drives. You can then mount the label in fstab by replacing the device name with the appropriate /dev/label/labelname entry. This will prevent the changes in disk device numbering or naming from causing you any more grief. - I can't see the network devices from vmware Do you mean you can't see a NIC from within FreeBSD on top of VMware? You will have to choose Other (64-bit) for the OS type and/or choose the e1000/Intel1000 device within VMware for the virtual network card. FreeBSD has great support for this card, virtual attempt physical. - I can't start xwindows, no monitor is found Try /usr/ports/x11-drivers/xf86-video-vmware Any clues? Thanks, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
On 17/03/10 21:40, Steve Polyack wrote: On 03/17/10 16:34, Erik Norgaard wrote: - I can't see the network devices from vmware Do you mean you can't see a NIC from within FreeBSD on top of VMware? You will have to choose Other (64-bit) for the OS type and/or choose the e1000/Intel1000 device within VMware for the virtual network card. FreeBSD has great support for this card, virtual attempt physical. I created Other/FreeBSD 64bit OS type. When setting vmware up without NAT I can configure the em0 interface and get direct access, but with NAT I can't see the virtual interfaces vmware create. Thanks for the your advices. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and vmware
Erik Norgaard wrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This is possible, I've run such a setup for a long time. But you don't say which versions of the products you are using. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? As others said, use glabel or UFS labels (tunefs -L). - I can't see the network devices from vmware You can configure both cards (the real and the emulated one) in /etc/rc.conf and the one that's active will be used on boot. - I can't start xwindows, no monitor is found You can either use VESA or the VMWare specific driver for the virtual machine. Look into /usr/ports/x11-drivers. You will need to keep two configurations (xorg.conf) - one for the real and one for the emulated video card, and manually switch them. You don't specifically need it but you can also look at /usr/ports/emulators/open-vm-tools. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on VMware ESXi
At 05:44 AM 5/6/2009, Daniels Vanags wrote: We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon processor. Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. When trying to boot, getting error: BTX halted. Please explain, how to start FreeBSD on different hardware. Thanks, Daniel Vanags Information Technology Department IT infrastructure system engineer I'm not sure what exactly you've done from your posting above. I have FreeBSD running in VM's under ESXi. I have moved the FreeBSD VM's from physical server to server without much trouble. The devices presented to the FreeBSD VM are dependent the VM configuration, so I would check there first. You may have selected a different SCSI host adapter in the VM settings for instance. I believe the problem you are experiencing is more to do with your ESXi/VM configuration than FreeBSD. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on VMware ESXi
On Wed, 2009-05-06 at 13:44 +0300, Daniels Vanags wrote: We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon processor. Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. When trying to boot, getting error: BTX halted. Please explain, how to start FreeBSD on different hardware. Well, assuming that HFUX's RAID, VMWare and Linux doesn't totally shit the bed from the hypervisor CPU type change, the VMs are controllable from the spiffy AJAX/.Net20 VMWare management console. There's plenty of debugging available from there. Presumably all of the virtual hardware presented to the VM will be the same, except the CPU details. ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD in VMWare box
On Sat, Nov 22, 2008 at 7:57 AM, Pieter Donche [EMAIL PROTECTED] wrote: If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for 'install boot manager' is this: Standard MBR ? The boot manager can be whichever you want. If you are installing on a VM, chances are you're not dual-booting it, so yes, Standard Boot Manager would be a 'good' choice. The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
Hi, If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for 'install boot manager' is this: Standard MBR ? Yes, or choos not to install a boot manager. Both worked with freebsd 6.x and ESX 2.5x Should one configure Ethernet then. If yes, what static IP parameters must one enter?? The next that's available in your lan. Hth. Regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
On Sat, 22 Nov 2008, Glen Barber wrote: The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. My PC is connected to Internet using an ADSL modem to connect to an ISP. It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified and two DNS server IP addresses which my ISP asked to use. Is this 'NAT' or 'Bridged'. Can I enter values and then what values, for host, domain, IPV4 gateway, Name server, IPV4 address, netmask in the screen presented during FreeBSD install or should i use Cancel in that screen and make changes in system files (and what changes in what system files)? -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche [EMAIL PROTECTED] wrote: On Sat, 22 Nov 2008, Glen Barber wrote: The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. My PC is connected to Internet using an ADSL modem to connect to an ISP. It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified and two DNS server IP addresses which my ISP asked to use. Is this 'NAT' or 'Bridged'. You'd have to tell me; it's your VM. Check the network settings in the management interface. Can I enter values and then what values, for host, domain, IPV4 gateway, Name server, IPV4 address, netmask in the screen presented during FreeBSD install or should i use Cancel in that screen and make changes in system files (and what changes in what system files)? Either will work. -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
On Sat, 22 Nov 2008, Glen Barber wrote: On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche [EMAIL PROTECTED] wrote: On Sat, 22 Nov 2008, Glen Barber wrote: The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. My PC is connected to Internet using an ADSL modem to connect to an ISP. It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified and two DNS server IP addresses which my ISP asked to use. Is this 'NAT' or 'Bridged'. You'd have to tell me; it's your VM. Check the network settings in the management interface. (I previously installed an openSUSE 10.3 VM, and needed not enter any TCP/IP parameter, and could use netwerking afterwards) The default settings of my VMware are (from Edit / Virtual Network Editor) Summary Virt. Network - Summary - Subnet - DHCP VMnet0 (Bridged) - Bridged to an automatically choosen adapter - - VMnet1 (Host-only) - A private nw shared with the host - 192.168.72.0 - Enabled VMnet8 (NAT) - Used to share the host's IP address - 192.168.173.0 - Enabled Automatic Bridging CHECKED: AUtomatically choose an available physical netwerk adapter to bridge to VMnet0 Host Virtual Netwerk Mapping VMnet0 Brigded to an automatically chosen adapter (here I can also select my physical network card) VMnet1 VMware Network Adapter VMnet1 (only choice) VMnet2 (and 3 to 7 and 9): Not bridged (here I can also select my physical network card) VMnet8 VMware Network Adapter VMnet8 (only choice) Host Virtual Adapters Network Adpater Virt.Nw Status VMware Network Adapter VMnet1 VMnet1 Enabled VMware Network Adapter VMnet8 VMnet8 Enabled DHCP Virtual Network Subnet Netmask Description VMnet1 192.168.72.0255.255.255.0 vmnet1 VMnet8 192.168.137.0 255.255.255.0 vmnet8 NAT VMnet host: VMnet8 Gateway IP address : 192.168.137.2 [ grey ] Netmask: 255.255.255.0 [ grey ] Nat Service Service Status: Started Service request: [ empty ] Can I enter values and then what values, for host, domain, IPV4 gateway, Name server, IPV4 address, netmask in the screen presented during FreeBSD install or should i use Cancel in that screen and make changes in system files (and what changes in what system files)? Either will work. -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
At 06:57 AM 11/22/2008, Pieter Donche wrote: If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for 'install boot manager' is this: Standard MBR ? The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? You need to be more specific. Are you using ESX server or workstation? As for the boot manager you can use it, or not. Both work. You can have the FreeBSD just use DHCP to get network settings. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and VMWare
I have never gotten vmware to run as a program under FreeBSD, i.e. using FreeBSD as the host for other vmware machines. I have tried several times. Technically, VMWare doesn't support it. We have used FreeBSD at our company as a host for some Windows XP based machines running on VMWare 3 from ports. But I am not sure if that is exactly what you mean. It is running just fine. Best and kind regards, Rico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and VMWare
In response to YTResearch [EMAIL PROTECTED]: I noticed that someone asked questions concerning VMware on FreeBSD which was my first realization that the two even go together. I have the opportunity to advocate FreeBSD as a possible replacement to run that software as a parting shot in the next week prior to finally retiring from that organization. They are a very large windows operation but are putting in some Linux/VMware to reduce the windows server hardware platforms (I already know that this is of dubious value when they could natively migrate and just eliminate the servers, efficiency is not an option in the corporate world paradigms). Before I actually recommend they do this on ~80 servers, I would like to verify that it really can be done to move to a FreeBSD 6.1 RELEASE/ VMware environment to support W2K3 and E2K3 on a virtual machine? Has anyone done this? FreeBSD 6 runs fine _inside_ vmware -- as a virtual machine. I used it daily with almost no trouble (and the small amount of trouble is likely to be unrelated to vmware). I have never gotten vmware to run as a program under FreeBSD, i.e. using FreeBSD as the host for other vmware machines. I have tried several times. Technically, VMWare doesn't support it. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd and vmware?
On 9/21/05, Yuan Jue [EMAIL PROTECTED] wrote: On Tuesday 20 September 2005 15:23, mgedv online wrote: is 5.4, 6.0 or 7x supported to run under vmware on a logical partition? has anyone successfully setup such a configuration? A. if you want to install FreeBSD using vmware in Windows, the answer is YES B. if you want to install vmware in FreeBSD in order to run other OS, my suggestion is looking back in the mailing list. http://www.vmware.com/support/guestnotes/doc/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 + VMware
Try to parse /boot/beastie.4th Message: 30 Date: Tue, 20 Sep 2005 16:37:07 -0400 From: Aaron Peterson [EMAIL PROTECTED] Subject: FreeBSD 5.4 + VMware To: FreeBSD Questions freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 I've had problems loading/booting FreeBSD 5.4 in a virtual machine. If I start in the default mode, it crashes VMware. If I start with ACPI disabled it crashes VMware. If I start in Safe Mode it works great. So... I want to learn about what is different about booting in Safe Mode from the default boot options. That way I can further troubleshoot and find the culpret hopefully. Thanks for any information regarding this issue. Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 + VMware
Aaron Peterson wrote: I've had problems loading/booting FreeBSD 5.4 in a virtual machine. If I start in the default mode, it crashes VMware. If I start with ACPI disabled it crashes VMware. If I start in Safe Mode it works great. So... I want to learn about what is different about booting in Safe Mode from the default boot options. That way I can further troubleshoot and find the culpret hopefully. Thanks for any information regarding this issue. Hi Aaron, what host OS are you using? I dont recall having any problem with 5.4 on VmWare 4.5 Wkstation under WinXP. Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 + VMware
On Sep 20, 2005, at 1:37 PM, Aaron Peterson wrote: I've had problems loading/booting FreeBSD 5.4 in a virtual machine. If I start in the default mode, it crashes VMware. If I start with ACPI disabled it crashes VMware. If I start in Safe Mode it works great. So... I want to learn about what is different about booting in Safe Mode from the default boot options. That way I can further troubleshoot and find the culpret hopefully. Thanks for any information regarding this issue. On 9/20/05, Tom Pepper [EMAIL PROTECTED] wrote: Aaron: You're on the right track. Both FreeBSD and VMWare are marginally aware of each other, though it is possible if you do enough digging to get 5.x virtual machines limping along inside both GSX and ESX. However, expect to see strange behavior in a number of applications, and problems with CPU usage in applications that should be idle, since freebsd's nanosleep() call eats CPU when running under these platforms. You can boot FreeBSD in standard mode by instructing the VMware host to not use ACPI in each config file (in ESX it's usually called vmware.vmx per-config) and adding the following two lines before restarting the instance: acpi.present = false monitor_control.disable_apic = TRUE it's easiest then, once you have an installation working, to use a product like virtualcenter to template and clone the working instance out to other hosts. I am trying to run FreeBSD 5.4 on ESX, since I seem to have left that information out in earlier posts. I really appreciate the information, I wasn't aware of any configuration directives like these for vmware. I am left with a couple other questions that you or someone might be able to help me with. Why does nanosleep() eat CPU when running under these platforms? I was able to get FreeBSD running on a virtual host before hearing your suggestion by adding hint.apic.0.disabled=0 to /boot/loader.conf. I'm sure this does basically the same thing as your suggestion, except in the FreeBSD kernel instead of in the virtual host configuration. I wonder what the pros and cons are of doing one or the other? In your opinion, is it worth running FreeBSD 5.4 on ESX in light of the quirks you've noticed? Thanks, Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd and vmware?
On Tuesday 20 September 2005 15:23, mgedv online wrote: is 5.4, 6.0 or 7x supported to run under vmware on a logical partition? has anyone successfully setup such a configuration? A. if you want to install FreeBSD using vmware in Windows, the answer is YES B. if you want to install vmware in FreeBSD in order to run other OS, my suggestion is looking back in the mailing list. -- Best Regards. Yuan Jue ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD inside VMWare and x.org
On 02/24/05 23:37:53, Bill Moran wrote: I'd like to use FreeBSD inside VMWare on my desktop. I've used VMWare for testing things out in FreeBSD quite a few times with considerable success, but I've never before installed x.org, and that's where I'm getting hung up. I'm trying to use FreeBSD 5.3, with the latest xorg from ports (just updated today). I can't seem to get X to start with any decent screen realestate. If I use the vmware driver, I'm stuck with 640x480. I experimented some and tried the vesa driver, which worked nicely except the screen is huge (I'm guessing 3000x3000 or so) and since most of it is off the monitor, it's unusable. I've tried installaing the vmware-tools4 package, and I've tried it without the package. It doesn't seem to make much difference either way. Any suggestions or pointers on how to get a usable system inside VMWare? Change you /etc/X11/xorg.conf to match the relevant parts of this Section Screen Identifier Screen 1 Device saphfire Monitor [EMAIL PROTECTED] DefaultDepth 24 Subsection Display Depth 24 Modes 1280x1024 1024x768 800x600 640x480 ViewPort0 0 EndSubsection EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD inside VMWare and x.org
On Thu, 24 Feb 2005 23:37:53 -0500, Bill Moran [EMAIL PROTECTED] wrote: I can't seem to get X to start with any decent screen realestate. If I use the vmware driver, I'm stuck with 640x480. I experimented some and tried the vesa driver, which worked nicely except the screen is huge (I'm guessing 3000x3000 or so) and since most of it is off the monitor, it's unusable. it sounds like these issues are related to your X.org config file. you may want to check out the Subsection Display settings in /etc/X11/XF86Config (or maybe Xorg.config for xorg don't remember at the moment). I've never tried running X in a vmware machine, but if you are able to get the binary up and running I assume you should be able to change these config options. if this does not work i'd suggest posting the interesting portions of /var/log/XFree86.0.log to the list. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD inside VMWare and x.org
Jason Henson [EMAIL PROTECTED] wrote: On 02/24/05 23:37:53, Bill Moran wrote: I'd like to use FreeBSD inside VMWare on my desktop. I've used VMWare for testing things out in FreeBSD quite a few times with considerable success, but I've never before installed x.org, and that's where I'm getting hung up. I'm trying to use FreeBSD 5.3, with the latest xorg from ports (just updated today). I can't seem to get X to start with any decent screen realestate. If I use the vmware driver, I'm stuck with 640x480. I experimented some and tried the vesa driver, which worked nicely except the screen is huge (I'm guessing 3000x3000 or so) and since most of it is off the monitor, it's unusable. I've tried installaing the vmware-tools4 package, and I've tried it without the package. It doesn't seem to make much difference either way. Any suggestions or pointers on how to get a usable system inside VMWare? Change you /etc/X11/xorg.conf to match the relevant parts of this Section Screen Identifier Screen 1 Device saphfire Monitor [EMAIL PROTECTED] DefaultDepth 24 Subsection Display Depth 24 Modes 1280x1024 1024x768 800x600 640x480 ViewPort0 0 EndSubsection EndSection AHA! That did it very nicely. I forgot to put in Modes. Thank you very much ... made my day! For the archives ... I'm using the vesa driver ... The vmware driver doesn't seem capable of this. Runs at 1280x1024 very nicely both in a window, and in fullscreen. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as vmware guest OS and net
Sorry if I didn't make my question clear. I know my NIC card driver, the problem is when I start up BSD as a guest OS in vmware, it responds that it can't find a route to the network and I was inquiring if there was a different driver needed under vmware bridged-to-network. Thanks for the response. Jim -- In Response to your message - Date: Thu, 18 Mar 2004 15:28:34 -0500 (EST) To: [EMAIL PROTECTED] (J. W. Ballantine) From: Jerry McAllister [EMAIL PROTECTED] Subject: Re: FreeBSD as vmware guest OS and net I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed as a dual-boot. I also have vmware 4 installed under w2k with bsd as the guest OS. My problem is I can't get bsd to talk to the network card. What settings do I need and/or network driver do I need to set??? Generally you can figure out the NIC driver by looking through the boot messages. use dmesg(8) to look at the file of messages.When you find some text looking like it is talking about a NIC, then take the two leter code it is referring to and use it as your driver - in the kernel. On the machine I am currently on it looks like: em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port 0xdf40-0xdf7f mem 0xfeae-0xfeaf irq 9 at device 12.0 on pci1 em0: Speed:N/A Duplex:N/A So the driver is 'em' in this case. jerry Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as vmware guest OS and net
On Thu, Mar 18, 2004 at 09:36:18AM -0500, J. W. Ballantine wrote: I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed as a dual-boot. I also have vmware 4 installed under w2k with bsd as the guest OS. My problem is I can't get bsd to talk to the network card. What settings do I need and/or network driver do I need to set??? I think, there are no special settings. I have network card in 'Bridged' mode and default installation of FreeBSD. Network card has been detected as: lnc0: PCNet/PCI Ethernet adapter port 0x10c0-0x10df irq 11 at device 16.0 on pci0 lnc0: PCnet-PCI II address 00:0c:29:e7:5c:66 Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Jaroslav Suchanek GRISOFT, s.r.o. http://www.grisoft.com [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as vmware guest OS and net
I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed as a dual-boot. I also have vmware 4 installed under w2k with bsd as the guest OS. My problem is I can't get bsd to talk to the network card. What settings do I need and/or network driver do I need to set??? Generally you can figure out the NIC driver by looking through the boot messages. use dmesg(8) to look at the file of messages.When you find some text looking like it is talking about a NIC, then take the two leter code it is referring to and use it as your driver - in the kernel. On the machine I am currently on it looks like: em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port 0xdf40-0xdf7f mem 0xfeae-0xfeaf irq 9 at device 12.0 on pci1 em0: Speed:N/A Duplex:N/A So the driver is 'em' in this case. jerry Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMware?
On Tue, 1 Apr 2003 08:08:38 +0100 (BST), james [EMAIL PROTECTED] said: Hi [snip] As to Jud's problem, well, all you should have to do is get your windows host on the network any way you need, then use NAT on VMware. You'll then have a virtual network card on the guest OS - use DHCP to configure it, and well it just works. Ah - since I've always accessed the Net via dialup, DHCP and network cards (virtual or otherwise) are entirely new to me. Yet another opportunity to learn, which is a large part of what I enjoy (and what sometimes frustrates me as well) about FreeBSD. There's no need at all to configure PPP on the guest OS - it just uses the host't TCP/IP stack, regardless of if it's PPP, ethernet, or avian carrier protocol. Here, Pidgie, Pidgie, Pidgie ;-) Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMware?
Hi Thanks to all those who suggested that kernel parameter, I'll get a new kernel built - new to freebsd so hopefully compiling a kernel on a different system isn't too hard, Guess I just need to copy /modules and /kernel over. As to Jud's problem, well, all you should have to do is get your windows host on the network any way you need, then use NAT on VMware. You'll then have a virtual network card on the guest OS - use DHCP to configure it, and well it just works. There's no need at all to configure PPP on the guest OS - it just uses the host't TCP/IP stack, regardless of if it's PPP, ethernet, or avian carrier protocol. Cheers James On Mon, 31 Mar 2003, Jud wrote: On Mon, 31 Mar 2003 11:13:31 +0100 (BST), james [EMAIL PROTECTED] wrote: Hi Folks Does anyone have experience running FreeBSD under VMware? My host OS is WinXP SP1, running VMware 3.2. 4.7-RELEASE only thus far (see below). I'm trying to buildworld (5.0-CURRENT as of today) but the virtual machine just gets slower and slower. When I'm monitoring the stats using top, I notice that the CPU is spending ~50% of it's time in interrupt. If I Ctrl-C the procedure, the load goes down, but interrupt % stays around 20-25% and the system is still slow, even though it's not doing anything! FreeBSD 4.8-RC2 doesn't seem to have the same problem, I have successfully built world and it stayed responsive. Haven't installed -CURRENT or updated -STABLE yet, due to my problem, which I'm sure is the result of incredible thickness and density on my part: How does one get networking to work? Win2K host, dialup connection; VMware set to use NAT. When I type ppp -auto isp (isp has been substituted for papchap in /etc/ppp/ppp.conf) as a non-root user, I get the normal message that FreeBSD is using tun0 and am returned to the shell prompt. However, any attempt to communicate with the outside world, e.g, using cvsup, is fruitless. So having failed to give it (sorry, James), I'm asking for it - help, anyone? Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMware?
On Mon, 31 Mar 2003 11:13:31 +0100 (BST), james [EMAIL PROTECTED] wrote: Hi Folks Does anyone have experience running FreeBSD under VMware? My host OS is WinXP SP1, running VMware 3.2. 4.7-RELEASE only thus far (see below). I'm trying to buildworld (5.0-CURRENT as of today) but the virtual machine just gets slower and slower. When I'm monitoring the stats using top, I notice that the CPU is spending ~50% of it's time in interrupt. If I Ctrl-C the procedure, the load goes down, but interrupt % stays around 20-25% and the system is still slow, even though it's not doing anything! FreeBSD 4.8-RC2 doesn't seem to have the same problem, I have successfully built world and it stayed responsive. Haven't installed -CURRENT or updated -STABLE yet, due to my problem, which I'm sure is the result of incredible thickness and density on my part: How does one get networking to work? Win2K host, dialup connection; VMware set to use NAT. When I type ppp -auto isp (isp has been substituted for papchap in /etc/ppp/ppp.conf) as a non-root user, I get the normal message that FreeBSD is using tun0 and am returned to the shell prompt. However, any attempt to communicate with the outside world, e.g, using cvsup, is fruitless. So having failed to give it (sorry, James), I'm asking for it - help, anyone? Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMware?
On Mon, 31 Mar 2003, james wrote: Does anyone have experience running FreeBSD under VMware? My host OS is WinXP SP1, running VMware 3.2. I'm trying to buildworld (5.0-CURRENT as of today) but the virtual machine just gets slower and slower. When I'm monitoring the stats using top, I notice that the CPU is spending ~50% of it's time in interrupt. If I Ctrl-C the procedure, the load goes down, but interrupt % stays around 20-25% and the system is still slow, even though it's not doing anything! /sys/i386/conf/NOTES says: # CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on i386 IA32 # machines. VmWare seems to emulate this instruction poorly, causing # the guest OS to run very slowly. So, you'll need to rebuild a new kernel on another system with: options CPU_DISABLE_CMPXCHG and copy it into the virtual machine in order to boot normally. -- :{ [EMAIL PROTECTED] Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]