qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: ML <ml@railnet.it>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] whats up with QEMU and virtual disks?
Date: Mon, 15 Nov 2004 22:40:14 +0100	[thread overview]
Message-ID: <4199223E.3040300@railnet.it> (raw)
In-Reply-To: <41e41e7a04111513146259739a@mail.gmail.com>

Hi list!

---
Hetz Ben Hamo said the following on 11/15/2004 10:14 PM:

> Hi,
> 
> Today I installed NT 4 server and XP Pro.
> In both cases I used new virtual disk partitions (4GB, and 5GB respectivly)..

Me too, I created a new 2GB virtual disk with qemu-img to make a fresh 
installation of XP Home.

> As both OS's have 2 stages install, both run the first stage without
> any problem (both of them were booted from their original CDs),
> however, upon rebooting to the 2nd stage I had problems.. (on XP I had
> the problem only after quitting qemu and restarting it)..

Yep, same thing to me.

> In NT 4 - after starting qemu (after finishing first stage install) it
> refused to reboot.
> in XP Pro - after restarting qemu (after fully finishing installing XP
> Pro) it says that the NTLDR is missing..

I get a Disk I/O error instead.

> in both cases, the only way to bypass this problem is by using the
> -hdachs parameter..
> Why? what has changed that broke the normal behavior? how can it be fixed?

My quick and dirty fix of commenting out the call to bdrv_set_geometry_hint in 
line 1898 of hw/ide.c doesn't appear to work anymore with the disk image newly 
created with the 0.6.1 version.
However my older disk images, created with previous versions of Qemu, don't 
work with 0.6.1 (it says that NTLDR is missing) but, if I comment out the line 
as per above, everything goes back to normal behavior.

Ciao,
Piero

  reply	other threads:[~2004-11-15 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 21:14 [Qemu-devel] whats up with QEMU and virtual disks? Hetz Ben Hamo
2004-11-15 21:40 ` ML [this message]
2004-11-15 22:01   ` Hetz Ben Hamo
2004-11-15 23:02     ` Fabrice Bellard
2004-11-16  0:12       ` Fabrice Bellard
2004-11-16  0:18         ` Fabrice Bellard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4199223E.3040300@railnet.it \
    --to=ml@railnet.it \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).