redhat xen will not boot winXP cdrom image


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat redhat xen will not boot winXP cdrom image
# 1  
Old 04-07-2009
redhat xen will not boot winXP cdrom image

I'm running redhat linux: 2.6.18-128.1.6.el5xen #1 SMP Tue Mar 24 12:28:27 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux as my Dom0.

I have several other DomU's running on this system, but for this test I've shut them down.

I'm attempting to boot winXP from an image.

Here is my config file:
[root@RDSRV02 xen]# cat TheNewElvis
name = "TheNewElvis"
uuid = "36e06183-59c7-d020-0e84-01e2cefa951b"
maxmem = 1024
memory = 1024
vcpus = 2
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "dc"
pae = 1
acpi = 0
apic = 0
localtime = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
usbdevice = "tablet"
sdl = 0
vnc = 1
vncunused = 0
keymap = "en-us"
vncdisplay = "12"
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "file:/data/xen/winXP_SP.iso:hdc:cdrom,r" ]
vif = [ "mac=00:16:3e:57:b1:37,bridge=xenbr0,script=vif-bridge" ]
serial = "pty"

I see when I attempt to run this:

Booting from CD-Rom...
CDROM boot failure code : 0002
Boot from CD-ROM failed: could not read the boot disk

I have tried other disk lines as well:
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "phy:/data/xen/winXP_SP.iso:hdc:cdrom,r" ]
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "tap:aio:/data/xen/winXP_SP.iso:hdc:cdrom,r" ]

also tried using losetup to do this:
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "phy:/dev/loop2:hdc:cdrom,r" ]

The failure code changes with some of these 0003 and 0004 have been seen, but I have not got my WINXP pro system to boot yet.

The command:
egrep -e 'vmx|svm' /proc/cpuinfo
returns:
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm

the command:
rpm -qa |grep xen
returns:
xen-3.0.3-80.el5_3.2
kernel-xen-2.6.18-128.1.1.el5
xen-libs-3.0.3-80.el5_3.2
kernel-xen-2.6.18-128.el5
kernel-xen-2.6.18-128.1.6.el5
kernel-xen-devel-2.6.18-128.1.1.el5
xen-libs-3.0.3-80.el5_3.2
kernel-xen-devel-2.6.18-128.1.6.el5
kernel-xen-devel-2.6.18-128.el5

I'm willing to try just about anything here that makes sense, if you can provide suggestions and reasoning that would be great. I have to schedule maintenance windows to attempt anything though.
# 2  
Old 04-07-2009
I suspect the problem is with your XP image. Is this actually a bootable image?
# 3  
Old 04-07-2009
I think so. I thought I'd give this idea a try so far I've created the image this way:

mkisofs -o winXP_SP2.iso -J -r -v -V winXP_SP2 /cdrom/vx2poem_en/

after you posted I thought about it and also tried:

dd if=/vol/dev/dsk/c0t0d0/vx2poem_en of=/backups/seconddrive/winXP_SP2.iso

neither have booted.
# 4  
Old 04-08-2009
got it to work.

The difference is:
don't do:
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "file:/data/xen/winXP_SP.iso:hdc:cdrom,r" ]
do this:
disk = [ "file:/data/xen/TheNewElvis.img,hda,w", "file:/data/xen/winXP_SP.iso,hdc:cdrom,r" ]
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Cannot boot cdrom -s

Good Afternoon, I'm trying to boot from cdrom so I: bash-2.05# init 0 {1} ok boot cdrom -s and I get: Rebooting with command: boot cdrom -s Boot Device: /pci@1e,600000/ide@d/cdrom@2,0:f File and args: -s Can't read disk label. Can't open disk label package Evaluating: Can't open boot... (13 Replies)
Discussion started by: Stellaman1977
13 Replies

2. UNIX for Dummies Questions & Answers

How to create a UNIX ufs cdrom image?

Hello, I've got an Ultrix 4.2 ISO file (gxemul doesn't recognize it when I type gxemul -X -e 3max -d rootdisk.img -d Ultrix4_2.iso) So I read some other posts which show that this can be done via a UFS CDROM image. But I don't know how to create one. Anyway, I think the ISO file could be in... (0 Replies)
Discussion started by: lucky7456969
0 Replies

3. Red Hat

install winXP over redhat linux

Hi, I have red hat linux installed . then ,I want to install win XP in dual boot .. How , any advice in detailed ??/ (0 Replies)
Discussion started by: chuikingman
0 Replies

4. Solaris

can't boot cdrom

iam traying to install o/s in spark machine it showing error ok >boot cdrom is showing error short disk read failed to read superblock the file just loaded does not appear to excutable how to solve this can u help me (6 Replies)
Discussion started by: tirupathi
6 Replies

5. Solaris

not able to boot from cdrom

Hi all am trying to boot the system from cdrom in single user mode , however when i am giving command boot cdrom -s i am getting below error Boot Device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0: f file and args: Can't read disk label Can't open disk label package can,t open boot device ... (17 Replies)
Discussion started by: kumarmani
17 Replies

6. Red Hat

RedHat Xen vs VMware

Hello, I need to make a quick decision between redhat xen and vmware. The servers that need to be virtualized are mostly windows and run core business services. There are a few linux boxes as well. My first thought was Xen but last time I tried it on RedHat 5 (our distro of choice) Windows... (9 Replies)
Discussion started by: mariusp
9 Replies

7. Solaris

Boot from cdrom

i am having a problem when trying to boot from cdrom. I received the below message system is not bootable, boot command is disabledfound how can i fix this. also what is the key combination on ordinary keyboard for STOP+A. Is it ctrl+break? (2 Replies)
Discussion started by: shabu
2 Replies

8. Solaris

Can't boot from cdrom at ok prompt

I want to install Solaris 9 on SUN ULTRA 10. The cdrom is attached to an ide controller. The server is currently running Solaris 2.6 I insert Solaris cd 1 of 2 and at the ok prompt I type boot cdrom i get the error below Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f file and args:... (11 Replies)
Discussion started by: Msororaji
11 Replies

9. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

10. Windows & DOS: Issues & Discussions

HELP--Redhat on WinXP laptop PROBLEM!!

Hi guys! Need some help here.....trying to install Redhat 8.0 on a laptop that is already running WinXP. Have made a partition with partition magic but when I try to install Linux it just stops at the check partition/ check hard-drive stage. It has happened on two different laptops of different... (4 Replies)
Discussion started by: syrex
4 Replies
Login or Register to Ask a Question