From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "A disk read error occurred"
Date: Tue, 1 Jul 2008 10:08:16 +0100 [thread overview]
Message-ID: <20080701090815.GA564@shareable.org> (raw)
In-Reply-To: <4869F2D8.9020504@siriusit.co.uk>
Mark Cave-Ayland wrote:
> >Also, sometimes when booting the BIOS can print a disk read error
> >message, and an appropriate -hdachs will fix it. I found that out
> >when rebooting Windows 2000 after installing it from CD (both in
> >QEMU), on a virtual disk 1GB in size.
> >
> >-- Jamie
>
> The message "A disk read error occurred" comes from the NT bootloader
> when it is unable to boot, typically caused by an incorrect drive geometry.
>
> It sounds as if you are experiencing a similar problem to the one I
> blogged about here:
> http://www.ilande.co.uk/index.php?/archives/6-Migrating-an-NT4-VM-from-VMWare-to-NT4-Part-1.html.
> In other words, in order to run an existing NT4 image under QEMU I had to
> halve the number of heads in the NTFS BPB in order for things to work
> properly. I suspect that this is a bug in either QEMU/BIOS, but I have no
> idea where to even start looking.
Yes, very similar, except I saw the problem _without_ migrating
anything. Windows 2000 was installed _inside_ QEMU (with no special
-hdachs setting) from its CD installer. It couldn't boot its own
install after restarting QEMU.
I looked at the partition with fdisk, then copied the c,h,s values to
-hdachs...
...and QEMU said the values were out of range and refused to start!
So I guessed some values which were not what fdisk reported, and it
worked and booted fine.
-- Jamie
next prev parent reply other threads:[~2008-07-01 9:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 19:42 [Qemu-devel] "A disk read error occurred" Alexander (Sasha) Sirotkin
2008-06-29 3:48 ` Avi Kivity
2008-06-30 23:05 ` Jamie Lokier
2008-07-01 9:03 ` Mark Cave-Ayland
2008-07-01 9:08 ` Jamie Lokier [this message]
2008-07-01 9:31 ` Mark Cave-Ayland
2008-07-01 21:37 ` Alexander (Sasha) Sirotkin
2008-07-02 14:34 ` Jamie Lokier
2008-07-02 19:39 ` Alexander (Sasha) Sirotkin
2008-07-02 19:47 ` Alexander (Sasha) Sirotkin
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=20080701090815.GA564@shareable.org \
--to=jamie@shareable.org \
--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).