On 1/21/08, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > > i'm sure i'm screwing up something simple but i'm trying to use the > basic qemu PC system emulator and the linux image > "linux-0.2.img[.bz2]" here: > > http://fabrice.bellard.free.fr/qemu/download.html > > to access my native CD-ROM. > > it's a piece of cake to invoke the emulator thusly: > > $ qemu linux-0.2.img > > and i can even see a reference to the "QEMU CD-ROM" go blazing by > during the boot process. but after that ... nothing. > > the online qemu docs here: > > http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC20 > > *seem* to suggest that i should simply have access automatically via > the device file /dev/cdrom, but the qemu session has no such file. > > and the situation on the host system: > > $ ls -l /dev/{cdrom,scd0,sr0} > lrwxrwxrwx 1 root root 3 2008-01-18 08:56 /dev/cdrom -> sr0 > lrwxrwxrwx 1 root root 3 2008-01-18 08:56 /dev/scd0 -> sr0 > brw-rw-rw-+ 1 root disk 11, 0 2008-01-18 08:56 /dev/sr0 > $ > > so i certainly seem to have sufficient device files on the host, and > the actual device file has world R/W access. thoughts? I think you should start qemu with qemu -cdrom /dev/cdrom linux-0.2.img Andras