Sponsored Content
Operating Systems Linux Red Hat redhat xen will not boot winXP cdrom image Post 302304749 by willjw1 on Tuesday 7th of April 2009 08:33:45 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
GRUB-MKIMAGE(1) 						   User Commands						   GRUB-MKIMAGE(1)

NAME
grub-mkimage - make a bootable image of GRUB SYNOPSIS
grub-mkimage [OPTION...] [OPTION]... [MODULES] DESCRIPTION
Make a bootable image of GRUB. -c, --config=FILE embed FILE as an early config -C, --compression=(xz|none|auto) choose the compression to use for core image -d, --directory=DIR use images and modules under DIR [default=/usr/lib/grub/<platform>] -k, --pubkey=FILE embed FILE as public key for signature checking -m, --memdisk=FILE embed FILE as a memdisk image Implies `-p (memdisk)/boot/grub' and overrides any prefix supplied previously, but the prefix itself can be overridden by later options -n, --note add NOTE segment for CHRP IEEE1275 -o, --output=FILE output a generated image to FILE [default=stdout] -O, --format=FORMAT generate an image in FORMAT available formats: i386-coreboot, i386-multiboot, i386-pc, i386-pc-pxe, i386-pc-eltorito, i386-efi, i386-ieee1275, i386-qemu, x86_64-efi, i386-xen, x86_64-xen, mipsel-yeeloong-flash, mipsel-fuloong2f-flash, mipsel-loongson-elf, pow- erpc-ieee1275, sparc64-ieee1275-raw, sparc64-ieee1275-cdcore, sparc64-ieee1275-aout, ia64-efi, mips-arc, mipsel-arc, mipsel-qemu_mips-elf, mips-qemu_mips-flash, mipsel-qemu_mips-flash, mips-qemu_mips-elf, arm-uboot, arm-efi, arm64-efi -p, --prefix=DIR set prefix directory -v, --verbose print verbose messages. -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. SEE ALSO
grub-install(8), grub-mkrescue(1), grub-mknetdir(8) The full documentation for grub-mkimage is maintained as a Texinfo manual. If the info and grub-mkimage programs are properly installed at your site, the command info grub-mkimage should give you access to the complete manual. grub-mkimage (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-MKIMAGE(1)
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy