[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libsdl and qemu for linux



On 2/27/06, Star King of the Grape Trees <thestar@fussycoder.id.au> wrote:
> roberto wrote:
> my one aim is to use the XP in
> >/dev/hda2 without rebooting or installing a new Win in /dev/hda4...
> >is it possible?
> >
> >
> No, not possible. Please read the various FAQ's.
> You must create a new image and install windows into that.
> (Two reasons, windows will install itself with the absolute minimum
> drivers required, and qemu is a different computer with different
> hardware, and a partition is not an image of an entire HDD (ie, does not
> contain a partition table, etc))
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?
>
> As for libsdl1.2-dev, you only need that if you are *compiling*.
> You also need libsdl1.2 libraries (ie, not just the headers for
> development), so you should probably try installing libsdl1.2debian-all
>
yes, i installed  libsdl1.2debian-all and tried:
roberto:~# qemu -snapshot -boot c -hda /dev/hda2

but the screen goes totally blank and nothing happened any more, no
success, no damage to the disk, nothing at all, i had simply to
reboot...

thank you for suggestions


--
roberto
OS: GNU/Linux, Debian Sarge
- kernel: 2.6.8-2-686    VM:    qemu, 0.6.1
- KDE:   3.3                editor: gvim   6.3.71



Reply to: