10-02-2008
Re: Xen VM rescue mode
You can go into single user mode by passing 1 or single on the guest kernel command line.
Try adding the following config option to your guest config file
extra="single"
OR
extra="1"
I would recommend the xen-users list for the type of questions
(
Xen: Xen-users Info Page)
Also you could try searching at xen.markmail.org.
Cheers,
Todd
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello!
I need to write partitioning script wich would work in rescue mode. It will prepare partitions and unpack linux on it. However I need to calculate whole size of the disk and create:
/dev/sda1 --> One big partition (minus (2*size of memory) for swap)
/dev/sda2 --> Swap partition... (1 Reply)
Discussion started by: pug123
1 Replies
2. UNIX and Linux Applications
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (1 Reply)
Discussion started by: email-lalit
1 Replies
3. Red Hat
Hi,
I'm trying to resize an ext3 FS (filesystem) under an LVM.
I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands.
Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs... (1 Reply)
Discussion started by: verdepollo
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
Can please let me know what is the difference between the single line mode and multi line mode in regular expresions?
Thanks,
Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies
5. Solaris
:confused:
when i tried to look the status of DNS-client, it is in maintenance mode.....
Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE...
:wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies
6. Red Hat
I accidently deleted fstab file from one of the compute nodes of the cluster (RHEL 5.3). Due to this no filesystem/directory is mounted on the system during bootup. I started system in rescue mode but it says You don't have any linux partitions. Press return to get a shell. The system will reboot... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
7. UNIX for Dummies Questions & Answers
How to get cpanel backup data in rescue mode?
Server OS 6.3 minimal with cPanel
/dev/sdb1 is main partition
root@rescue ~ # fdisk -l
Anyone can help
Thank you (0 Replies)
Discussion started by: jaydul
0 Replies
8. HP-UX
is there a way for my C++ application to find out which mode the hpux OS is running in?
standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu 14.04
My server has problems again. I need to manage system files in rescue mode, backup some files, edit /etc/crontab and rc.local files etc.
root@rescue:~# cat /proc/mdstat
Personalities :
md2 : active raid1 sda2 sdb2
4193216 blocks
md3 :... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT DEBIAN
dtc_write_xenhvm_conf
dtc_write_xenhvm_conf(8) System Manager's Manual dtc_write_xenhvm_conf(8)
NAME
dtc_write_xenhvm_conf - rewrites the xen startup script with selected params
SYNOPSIS
dtc_write_xenhvm_conf VPS_NUMBER MEMORY_SIZE ALL_IP_ADDRESSES VNC_CONSOLE_PASSWORD HOW_TO_BOOT
DESCRIPTION
dtc_write_xenhvm_conf This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server.
This script generate a Xen startup file with the parameters given to the script.
PARAMETERS
Note that ALL parameters are mendatory.
VPS_NUMBER has to be a number between 01 and 29
MEMORY_SIZE is the amount of memory in mega bytes that you want to have setup in the Xen startup file for this VPS
ALL_IP_ADDRESSES is a list of IPs that you want to be set in the VM's startup file and in the VM's configuration. Note that the IPs have to
be separated by spaces, and thus you might want to use single quotes like this: '1.2.3.4 1.2.3.5'. Note that only the first IP will be set
in the VM's configuration, but the list will be set in the Xen startup file so you can use the anti-spoofing facilities of Xen if you need
it (with untrusted users / unknown customers for example).
VNC_CONSOLE_PASSWORD This is the VNC console password that you want to have set-up in the Xen domU configuration file, so that you can con-
nect using VNC to the the setup. Note that special value no_vnc can be used to declare that you do not want the VNC console to be used at
all.
HOW_TO_BOOT This controls what the VPS will use to boot. A special value of hdd can be used to tell dtc_write_xenhvm_conf that you want to
boot on the hard drive of the domU. Any other parameters will be used as a .iso file located in /var/lib/dtc-xen/ttyssh_home/xenXX where
xenXX equals to the VPS number set in the VPS_NUMBER parameter (see above).
Note that whatever is set in this parameter, dtc_write_xenhvm_conf will add as many cdrom devices as it finds .iso files in the
/var/lib/dtc-xen/ttyssh_home/xenXX folder.
EXAMPLE
The following command:
dtc_write_xenhvm_conf 14 512 '1.2.3.4 1.2.3.5' mYvNcPaSs boot.iso
will produce this config file in /etc/xen/xen14:
kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 512
name = "xen14${VPSNAME}"
vcpus=1
pae=0
acpi=0
apic=0
vif = [ 'type=ioemu, mac=00:00:00:00:00:00, ip=1.2.3.4 1.2.3.5' ]
disk=[ 'phy:/dev/mapper/lvm1-xen14,ioemu:hda,w', 'file:/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso,hdb:cdrom,r', 'file:/var/lib/dtc-
xen/ttyssh_home/xen14/cd2.iso,hdc:cdrom,r' ]
cdrom="/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso"
boot="d"
vfb = [ "type=vnc,vncdisplay=21,vncpasswd=mYvNcPaSs" ]
nographic=0
vnc=1
stdvga=1
serial='pty'
Note that the above mac address will be calculated and depend on your node name: it will NOT be like the above example.
UPDATES
See http://www.gplhost.com/software-dtc-xen.html for updates.
dtc_write_xenhvm_conf(8)