Re: libsdl and qemu for linux



On 2/27/06, Star King of the Grape Trees <thestar@xxxxxxxxxxxxxxxx> 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



Relevant Pages

  • Re: Coherent on QEMU 0.9.1 works
    ... the hard disk. ... May be I should try emulating an SCSI disk... ... I have found in virtualbox forum, that 16 bit code is executed in interpret mode, about 20-100 slower.Perhaps in qemu occurs the same. ... I could also create new kernel in qemu using this kit. ...
    (comp.os.coherent)
  • Re: Lost data on 320GB hard disk and corrupted data on 250gb hard
    ... Windows XP SP2 with the latest updates by Microsoft. ... Windows XP tells me that my 320GB hard disk is not formatted. ... GB HDD as being affected by lost data. ... system - probably having something to do with your fresh install of XP ...
    (microsoft.public.windowsxp.general)
  • Re: QEMU
    ... >>Seems to be an alternative to VPC ... > If you want an alternative to VPC I'd recommend QEMU. ... Type: sudo make install ... > To install an operating system you need an empty disk image and an image ...
    (microsoft.public.mac.virtualpc)
  • Re: Partition and Dual Boot Vol IV (Options/Inclinations)
    ... both WinXP & w98 Installed so as to be able to Dual Boot between them. ... using separate Partitions on it... ... But having an additional Hard Disk, to Install it on, ...
    (uk.people.silversurfers)
  • Fwd: Re: /dev/hda full - cannot find used space
    ... backup of your whole hard disk, go ... your system from the freshly created level 0 backup). ... either by going to http://www.mondorescue.org or by running 'apt-get install ... proc /proc proc rw 0 0 ...
    (Debian-User)