From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] HD Image Size Limits and hdachs
Date: Mon, 03 Jan 2005 23:04:24 +0100 [thread overview]
Message-ID: <41D9C168.8040900@bellard.org> (raw)
In-Reply-To: <41D4880B.1010105@brittainweb.org>
Hi,
Happy new year to all :-)
Jason Brittain wrote:
> Jim C. Brown wrote:
>
>> One thing is that the maximum number of heads is 256, not 16.
>
>
> That's a good catch, if true. Thanks. But, the doc (the HTML one from
> CVS HEAD) is
> very specific about the range being from 1 to 16. I believe you're
> probably right
> and the doc is wrong.
No, the doc is correct. One must distinguish between the Physical CHS
(with 16 heads max and this is what -hdachs specifies) and the Logical
CHS (with 255 heads max) which is only used by the BIOS to increase the
number of sectors that can be addressed. THe logical CHS is specified
indirectly when you tell "lba" or "none" as forth argument to -hdachs.
Anyway, nowadays CHS is no longer used when accessing modern hard disks,
so it is only a problem for old software using the BIOS to access the
hard disk. So _never_ use -hdachs, except if you have to use an old DOS
disk image coming from another emulator.
Fabrice.
prev parent reply other threads:[~2005-01-03 22:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 19:21 [Qemu-devel] HD Image Size Limits and hdachs Jason Brittain
2004-12-30 22:32 ` Jim C. Brown
2004-12-30 22:58 ` Jason Brittain
2005-01-03 22:04 ` Fabrice Bellard [this message]
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=41D9C168.8040900@bellard.org \
--to=fabrice@bellard.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).