Skip to contentSkip to conversation

Installing a guest from a iso

DISCUSSION Ed Smith 3 participants 3 messages Oct 4, 2006 – Oct 17, 2006

lore
Share & tools
lore

Ed Smith

author
#0 lore raw

It's been a while since I installed a guest and I'm having trouble booting from a cd iso. My config to boot from a CD is from before the new QEMU was introduced. Has the syntax of this changed? Here is what I have in my config to boot from a CD iso file I have on my dom0 root.

#-----------------------------------------------------------------------------
# Disk image for
cdrom = '/boot/RHEL4U2-64b.boot.iso'

#-----------------------------------------------------------------------------

# boot on floppy (a), hard disk (c) or CD-ROM (d)
#boot=[a|c|d]
boot = 'd'

The guest console reports:

CDROM boot failure code : 0002
Boot from CD-Rom failed
FATAL: Could not read the boot disk

#1 lore raw
Quoted 9 lines

It's been a while since I installed a guest and I'm having trouble booting from a cd iso. My config to boot from a CD is from before the new QEMU was introduced. Has the syntax of this changed? Here is what I have in my config to boot from a CD iso file I have on my dom0 root.

#-----------------------------------------------------------------------------
# Disk image for
cdrom = '/boot/RHEL4U2-64b.boot.iso'

Yeah, it changed back in August, see:

http://lists.xensource.com/archives/html/xen-devel/2006-08/msg00369.html

or if you cannot view the archives: "Cdrom drives are now configured like disks by adding a :cdrom suffix to the target device (i.e.'file:/root/mytest.iso,hdc:cdrom,r'). Thereis no default cdrom drive any longer, to create an empty cdrom drive, use ',hdc:cdrom,r'. Any of the 4 ide devices can be cdrom drives now."

cheers,

S.

#2 lore raw
Quoted 11 lines · Steven Hand <steven.hand <at> cl.cam.ac.uk> writes:
Quoted 11 lines

It's been a while since I installed a guest and I'm having trouble booting from a cd iso.
My config to boot from a CD is from before the new QEMU was introduced. Has the syntax
of this changed? Here is what I have in my config to boot from a CD iso file I have
on my dom0 root.

#--------------------------------------------------------------------------

---

Quoted 13 lines
Quoted 2 lines

# Disk image for
cdrom = '/boot/RHEL4U2-64b.boot.iso'

Yeah, it changed back in August, see:

   http://lists.xensource.com/archives/html/xen-devel/2006-08/msg00369.html

or if you cannot view the archives: "Cdrom drives are now configured like disks by adding a :cdrom suffix to the target device (i.e.'file:/root/mytest.iso,hdc:cdrom,r'). Thereis no default cdrom drive any longer, to create an empty cdrom drive, use ',hdc:cdrom,r'. Any of the 4 ide devices can be cdrom drives now."

Quoted 4 lines

cheers,

S.

I am trying to install RHEL4 as a guest OS using .hvm configuration. Since the istallation needs 4 CDs, how to specify muliple CD-ROM ISOs in the configuration? I tried to override the ISO file with next ISO file each time it pops up a "change CD" screen. It works only for the first time "change CDROM", then it shows error "unable to access CDROM" for the next "change CDROM". Any suggestion how to handle this? Thanks.

Jianli