Sponsored Content
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing Installing CentOS 5.5 on Virtual Box Post 302484791 by motoko on Monday 3rd of January 2011 09:06:05 AM
Old 01-03-2011
Quote:
Originally Posted by radoulov
With Virtual Box I've always added a host only virtual network card in order to reach the guest from the host:

Code:
File -> Preferences -> Network -> Add Host Only Network.

Then configure your guest to use it (through the settings menu).

I'm sure I'm missing something, but this one always worked.
I will try and post, thx.

---------- Post updated at 09:06 AM ---------- Previous update was at 08:39 AM ----------

I have done as you told me and now the vm centos machine, takes some minutes 'Determinig IP information for eth0' and ends up with an error...
 

9 More Discussions You Might Find Interesting

1. Ubuntu

CentOS, Fedora & RedHat in 1 box

Hi Linux gurus, My boss had asked me to setup a box consisting of this 3 OS (CentOS, Fedora, RedHat) for autopatching. So, whenever there is new patches for CentOS from the internet, this box will grab it, implement it, if tested ok and approved, the patches will then be push to Production... (23 Replies)
Discussion started by: raybakh
23 Replies

2. Solaris

virtual box images

Does anyone know if you can use a virtual box image on different O/S's and be able to move it from one server to another of different O/S if needed? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

3. Windows & DOS: Issues & Discussions

Virtual Box

I am trying to create a new virtual machine (Red Hat) but I am getting the following error I am completely new to VB and I am probably missing something. Any help will be greatly appreciated. (4 Replies)
Discussion started by: Xterra
4 Replies

4. Red Hat

deleted a virtual machine with critical data under CentOS

Hi all, I'm in a pretty messed-up situation, hope you can give me a hand. I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3. I shut down the PC intermediately... (2 Replies)
Discussion started by: starriol
2 Replies

5. UNIX for Dummies Questions & Answers

Sun Virtual box

hi Am Using Windows vista machine where i installed Sun Virtual Box on Which i installled Solaris 10.. am not able to ping my windows machine from Sun OS neither viceversa.. Can someone help me out to get this sorted please .... (2 Replies)
Discussion started by: Sojourner
2 Replies

6. Red Hat

Resizing root virtual disk on the CentOS

Hello, Can someone suggest me what I missing, I re-sized a root virtual disk to 30GB on the CentOS VM. After re-sizing the disk, I booted the OS and ran fdisk -list command I was able view the size of the disk as 30GB. Paritions in the vm before I resize are: /boot - Primary parition /... (1 Reply)
Discussion started by: bobby320
1 Replies

7. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

8. IP Networking

ssh on virtual box (4.0.4)

Hello, I have two virtual machines ubuntu on virtual box vm1 and vm2 , i'd like to use ssh to connect from vm1 to vm2, please what's the configuration should do? Thank you (1 Reply)
Discussion started by: chercheur857
1 Replies

9. Red Hat

Hack a centos Linux box

HI, I have a Centos linux box and there is interface connect to internet. I stop the iptables in this box . After a few day , I find the linux box have been hacked and install some perl script into the box . Could anyone tell me how the hacker can login into the centos box without knowing... (1 Reply)
Discussion started by: chuikingman
1 Replies
VIRT-IMAGE(1)						   Virtual Machine Install Tools					     VIRT-IMAGE(1)

NAME
virt-image - create virtual machines from an image descriptor SYNOPSIS
virt-image [OPTION]... IMAGE.XML DESCRIPTION
virt-image is a command line tool for creating virtual machines from an XML image descriptor "IMAGE.XML" (virt-image(5)). Most attributes of the virtual machine are taken from the XML descriptor (e.g., where the files to back the virtual machine's disks are and how to map them into the guest), though certain information must be added on the command line, such as the name of the guest. The XML descriptor defines most attributes of the guest, making it possible to bundle and distribute it together with the files backing the guest's disks. OPTIONS
Most options can be omitted, in which case virt-image will use defaults from the XML descriptor. When defaults are taken from the XML descriptor, they are indicated below as a path. --name is the only required command line option. -h, --help Show the help message and exit --connect=CONNECT Connect to a non-default hypervisor. See virt-install(1) for details General Options General configuration parameters that apply to all types of guest installs. -n NAME, --name=NAME Name of the guest instance -r MEMORY, --ram=MEMORY Memory to allocate for guest instance in megabytes. Defaults to "/image/devices/memory" in the XML descriptor. -u UUID, --uuid=UUID UUID for the guest; if none is given a random UUID will be generated. If you specify UUID, you should use a 32-digit hexadecimal number. --vcpus=VCPUS Number of vcpus to configure for your guest. Defaults to "/image/devices/vcpu" in the XML descriptor. --check-cpu Check that vcpus do not exceed physical CPUs and warn if they do. --os-type=OS_TYPE Optimize the guest configuration for a type of operating system (ex. 'linux', 'windows'). This will attempt to pick the most suitable ACPI & APIC settings, optimally supported mouse drivers, virtio, and generally accommodate other operating system quirks. See virt-install(1) for valid values. --os-variant=OS_VARIANT Further optimize the guest configuration for a specific operating system variant (ex. 'fedora8', 'winxp'). This parameter is optional, and does not require an "--os-type" to be specified. See virt-install(1) for valid values. Full Virtualization specific options Parameters specific only to fully virtualized guest installs. --noapic Disables APIC for fully virtualized guest (overrides value in XML descriptor) --noacpi Disables ACPI for fully virtualized guest (overrides value in XML descriptor) Networking Configuration -m MAC, --mac=MAC This is deprecated in favor of "--network ...,mac=MAC,..." -b BRIDGE, --bridge=BRIDGE This is deprecated in favor of "--network bridge=BRIDGE" -w NETWORK, --network=NETWORK Connect the guest to the host network. See virt-install(1) for details Graphics Configuration If no graphics option is specified, "virt-install" will default to --vnc if the DISPLAY environment variable is set, otherwise --nographics is used. --vnc Setup a virtual console in the guest and export it as a VNC server in the host. See virt-install(1) for details --vncport=VNCPORT Request a permanent, statically assigned port number for the guest VNC console. See virt-install(1) for details --vnclisten=VNCLISTEN Address to listen on for VNC connections. See virt-install(1) for details. -k KEYMAP, --keymap=KEYMAP Request that the virtual VNC console be configured to run with a non-English keyboard layout. --sdl Setup a virtual console in the guest and display an SDL window in the host to render the output. See virt-install(1) for details --nographics Do not attach a graphical device to the guest. See virt-install(1) for details Miscellaneous Options -p, --print Print the libvirt XML, but do not start the guest. --boot=BOOT The zero-based index of the boot record to use. The XML descriptor can contain multiple "/image/domain/boot" elements for use on different hypervisors. By default, the one that is most appropriate for the current hypervisor is selected. --replace Shutdown and remove any existing guest with the passed "--name" before installing from the image. --skip-checksum Do not check disk images against checksums (if they are listed in the image xml). -d, --debug Print debugging information --force Prevent interactive prompts. If the intended prompt was a yes/no prompt, always say yes. For any other prompts, the application will exit. EXAMPLES
Create and start a guest called "example" with a VNC console from "image.xml": # virt-image --name example --vnc -i image.xml Print the libvirt XML for a guest called "example" without graphics, but do not create or start a virtual machine: # virt-image --print --name example --nographics --image image.xml AUTHOR
Written by David Lutterkort. See the AUTHORS file in the source distribution for the complete list of credits. BUGS
Please see http://virt-manager.org/page/BugReporting COPYRIGHT
Copyright (C) 2006-2007 Red Hat, Inc, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law. SEE ALSO
virt-image(5), virt-install(1), the project website "http://virt-manager.org" 2009-12-10 VIRT-IMAGE(1)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy