Task
Kamal
Kamal
Offline
0
I'm new to XEN and using XEN 4.1 on UBUNTU to run Win7 guest.

I've 2 Servers(both UBUNTU 12), where Server1 is configured with full Win7 guest installation on a partition(It works fine).

Now as i use DRBD to replicate this partition into Server2 system and try to boot the Win7 DOMU from harddisk, I get below mentioned error -
Windows failed to start. A recent hardware or software change might be the cause. to fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."

Status : 0xc000000e
Info: The boot selection failed because a required device is inaccessible.

Find the attachment for XEN and DRBD configuration file

As the partitions created in both servers are by gparted and the start and end address of the same are different. But the over all size of the partitions for guest are same ie, 30 GB

Can anyone help me with booting the Win7 in Server2?


Thanks in advance

DRBD config file :
global { usage-count no; }
common { syncer { rate 50M; } }
resource r0 {
protocol C;
startup {
become-primary-on both;
wfc-timeout 15;
degr-wfc-timeout 60;
}
net {
allow-two-primaries;
cram-hmac-alg sha1;
shared-secret "kalki";
}
on server1 {
device /dev/drbd0;
disk /dev/sda4;
address 192.168.0.92:7788;
meta-disk /dev/sda7[0];
}
on server2 {
device /dev/drbd0;
disk /dev/sda7;
address 192.168.0.93:7788;
meta-disk /dev/sda8[0];
}
}


Win7.cgf file :

import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "xenwin7"
#vif = [ 'type=ioemu, bridge=xenbr0' ]
vif = [ 'bridge=xenbr0' ]
acpi = 1
apic = 1
disk = [ 'phy:/dev/sda7,hda,w', 'file:/home/vmiso/windows764bitnew.iso,hdc:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="c"
sdl=0
vnc=1
vncdisplay=10
vncunused=0
vncconsole=1
vncpasswd=''

serial='pty'
usbdevice='tablet'
Responses (2)
  • Accepted Answer

    Wednesday, January 29 2014, 01:45 PM - #permalink
    0
    Kamal,

    I could repost this to the mailing lists and enter replies here, but I have a feeling that there may be more questions from folks in an effort to debug this situation.

    As such, I recommend that you post this to the xen-users mailing list yourself. I believe you are more likely to get an answer to something this specific there.

    Russ
    The reply is currently minimized Show
  • Accepted Answer

    Kamal
    Kamal
    Offline
    Thursday, January 30 2014, 04:09 AM - #permalink
    0
    Thanks Russsell, will post the same under xen-users mailer.

    Hope I get solution there.
    The reply is currently minimized Show
Your Reply