Re: libsdl and qemu for linux



roberto wrote:

<snip>

this seems to be in contrast to what bellard says in his page:
http://fabrice.bellard.free.fr/qemu/faq.html
########################################################################
Can I use a real disk, floppy or CDROM in QEMU ?
Yes, at least with Linux. For the floppy, use /dev/fd0 as image
filename. For the cdrom, use /dev/cdrom. For a real hard disk, first
ensure that you have read-only permission to the device (it is very
dangerous to leave write access to the device because in case of
problems you can trash your hard disk). Then use /dev/hda to use the
hard disk 0. As QEMU will have read-only access to the device, all the
changes will be discarded at the end of the QEMU session. For more
safety if you do not know the access rights of the hard disk device,
always use the -snapshot option:
qemu -snapshot /dev/hda
########################################################################
what do you think about this?

Using /dev/hda in qemu while you have partitions on that hard drive mounted and running linux just gives me the cringes.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: libsdl and qemu for linux
    ... Can I use a real disk, floppy or CDROM in QEMU? ... Yes, at least with Linux. ... problems you can trash your hard disk). ...
    (Debian-User)
  • Re: libsdl and qemu for linux
    ... Can I use a real disk, floppy or CDROM in QEMU? ... Yes, at least with Linux. ... problems you can trash your hard disk). ...
    (Debian-User)
  • Re: [crosspost] M$+Toshiba sabotaging Linux
    ... the disk is not read when the cdrom is read (unless of ... the hard disk). ... not in the bios. ... into memory from the hard disk. ...
    (alt.os.linux)
  • FreeBSD 5.x-R CDROM Installation Hang
    ... I've been trying to install FreeBSD 5.1-R from the official 4 CD set. ... Disk 2 (which seems to be the CDROM). ... Bios Disk 0 = floppy disk ...
    (freebsd-questions)
  • FreeBSD 5.x-R CDROM Installation Hang
    ... I've been trying to install FreeBSD 5.1-R from the official 4 CD set. ... Disk 2 (which seems to be the CDROM). ... Bios Disk 0 = floppy disk ...
    (comp.unix.bsd.freebsd.misc)