Sponsored Content
Operating Systems Linux Rename VolGoup00 with active VolGroup00 Post 302558128 by dokhebi on Thursday 22nd of September 2011 09:15:28 PM
Old 09-22-2011
Data Rename VolGoup00 with active VolGroup00

I have a Xen VM guest image with a lost root password. In order to get to /etc/passwd and /etc/shadow I need to mount the filesystems within the image with everything but /boot is in a LVM partition. The VM host also have an LVM image, and both (host and guest) are called VolGroup00. I want to change the name of the guest volume group to VolGroup01 while I am editing /etc/password, then change it back to VolGroup00 before booting the guest image.

Is this possible? If so, how?

The host is CentOS 5.7, and the guest is CentOS 5.5. Xen is version 3.1.2.

Thanks in advance,

Edward Hooper
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

active machine

HI can any one please tell me how to find the active machine in active/standby architecture , (0 Replies)
Discussion started by: Raom
0 Replies

2. UNIX for Advanced & Expert Users

Active / Non Active users ?

Hey, I have few Questions : 1. How to Check/Find who all are the users accessing the server using their id ? 2. How to Check who is the active user or non active user (whose id exists but the access privileges has been removed) ? I am presently using AIX5.3 as a server. Please suggest... (3 Replies)
Discussion started by: varungupta
3 Replies

3. UNIX for Dummies Questions & Answers

active working

hi! i want to create a list of the active working of the system classified by size and run the list on the monitor in a contolled pattern.Every active work has to appear only once. Any suggestions? also how can i create a list of the active working that does not belong to the user root?thanks (5 Replies)
Discussion started by: battaglia
5 Replies

4. AIX

Question about HACMP for active-active mode

Hi all, I am new to HACMP. So sorry for the newie question. But I did search the forum and it seems that no one asks this before. So if a 2-node cluster runs in active-active mode (and the same application), what is the benefit of using HACMP ? If it runs in active-stanby, it is easy to... (9 Replies)
Discussion started by: qiulang
9 Replies

5. Solaris

Link based Active Active IPMP

Hi, I need to configure 4 ip address (same subnet and mask) in one ipmp group (two interfaces) in an active active formation (link based). Can some one provide the steps or a tutorial link. Thanks (2 Replies)
Discussion started by: Mack1982
2 Replies

6. Shell Programming and Scripting

How do I calculate total number of active and non active hosts?

#!/bin/bash for digit in $(seq 1 10) do if ping -c1 -w2 192.168.1.$digit &> /dev/null then echo "192.168.1.$digit is UP" else echo "192.168.1.$digit is DOWN" fi done (3 Replies)
Discussion started by: fusetrips
3 Replies

7. UNIX for Advanced & Expert Users

Active Directory with 6.1

Is there anyone who is utilizing Active Directory (2008R2) for AIX user account management? If yes or if AD is possible with AIX systems, can you please share what to be done to get there? Please advise. (1 Reply)
Discussion started by: Daniel Gate
1 Replies

8. Red Hat

No VolGroup00 found after restart of the system

I am facing the following issue after giving a restart (init 6) of my RHEL 5.9 system. As a result,the system is not starting after a restart. Can somebody help me to trouble shoot the issue. Red Hat nash version 5.1.19.6 starting Reading all physical volumes. This may take a while... ... (7 Replies)
Discussion started by: Anjan Ganguly
7 Replies

9. Solaris

VCS not active

Dear All, My current system run Solaris 9 SPARC 64 bit , and VXVM , VCS 4.1. I check all the node information . ls -l /etc/vx/*.exclude /etc/vx/*.exclude: No such file or directory root@devuardbs01 # vxdctl license All features are available: Mirroring Root Mirroring Concatenation... (0 Replies)
Discussion started by: linux_user
0 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 06:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy