Skip to contentSkip to conversation

Running Qemu on OS X

Qemu-devel C.W. Betts 2 participants 4 messages May 21, 2008 – May 23, 2008

lore
Share & tools
lore

C.W. Betts

author
#0 lore raw

I have a few questions about running Qemu on OS X. First of all, how do I specify an internal CD-ROM drive? I'm trying to get OS/2 to install, but it keeps asking for the CD. Also, is there any way to speed up the console window? It's very slow.

#1 lore raw
Quoted 1 line · C.W. Betts

I have a few questions about running Qemu on OS X. First of all, how do I specify an internal CD-ROM drive? I'm trying to get OS/2 to install, but it keeps asking for the CD. Also, is there any way to speed up the console window? It's very slow.

Hi,

just enter -cdrom /dev/cdrom this will trigger qemu to look for a CD-ROM in the first built-in CD-ROM drive.

Mike

author
#2 lore raw
Quoted 9 lines · Mike Kronenberg
Quoted 1 line · C.W. Betts

I have a few questions about running Qemu on OS X. First of all, how do I specify an internal CD-ROM drive? I'm trying to get OS/2 to install, but it keeps asking for the CD. Also, is there any way to speed up the console window? It's very slow.

Hi,

just enter -cdrom /dev/cdrom this will trigger qemu to look for a CD-ROM in the first built-in CD-ROM drive.

Sorry, but that doesn't work. When I type qemu-img info /dev/cdrom, I get this:
image: /dev/cdrom
file format: host_device
virtual size: -8388607T (9223372036854775296 bytes)
disk size: unavailable

#3 lore raw
Quoted 10 lines · C.W. Betts
Quoted 7 lines · Mike Kronenberg
Quoted 1 line · C.W. Betts

I have a few questions about running Qemu on OS X. First of all, how do I specify an internal CD-ROM drive? I'm trying to get OS/2 to install, but it keeps asking for the CD. Also, is there any way to speed up the console window? It's very slow.

Hi,

Quoted 8 lines
Quoted 2 lines

just enter -cdrom /dev/cdrom this will trigger qemu to look for a CD-ROM in the first built-in CD-ROM drive.

Sorry, but that doesn't work. When I type qemu-img info /dev/cdrom, I get this:
image: /dev/cdrom
file format: host_device
virtual size: -8388607T (9223372036854775296 bytes)
disk size: unavailable

/dev/cdrom is not present on OS X /dev.

OS X assigns the next free ID to the loaded CD-ROM
Something like /dev/rdiskX (X being dynamically assigned) or if you like the first partition on that disk its /dev/rdiskXs1.

if You pass -cdrom /dev/cdrom to qemu (to be more compatible with copy pasted arguments from *nix systems), qemu will try to find the first partition on the cdrom.
Presently on OS X (im not sure about how the current qemu drive code handles multisession CD-ROMs) you can only read the first session s0 or s1 of a cdrom. Some installation CD-ROMs come with different sesssions for different tasks. These CD-ROMs do not work.

qemu-img can't handle /dev/cdrom.
Best bet is to create an image of the cd-rom with dd or Disk Utility.

Mike