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] qemu-img documentation
Date: Wed, 17 Nov 2004 09:09:49 +0100	[thread overview]
Message-ID: <419B074D.6080700@railnet.it> (raw)
In-Reply-To: <419A2000.1030706@mech.kuleuven.ac.be>

---
Panagiotis Issaris said the following on 11/16/2004 04:42 PM:

> I've used "fdisk c.img" and used the reported values as parameters
> for hdachs. This together with specifying the bios translating mode
> enabled me to boot old qemu images again.
> 
> So, I used:
> "fdisk c.img"
> 
> Used the p command to print the partition table, which also
> shows the necessary disk information:
> 16 heads, 63 sectors/track, 4161cylinders
> 
> And started qemu:
> "qemu -hda c.img -hdachs 4161,16,63,none"
> 
> Worked for me, but I don't know if fdisk is always
> right.

On my newer XP disk images, fdisk seems to report correctly the number of heads 
and sectors but fails to get the number of cylinders and complains with a "you 
must set cylinders" message.
On my older images, it doesn't seem to be able to guess anything.
Hdparm -g exits with a "Value too large for defined data type" message in both 
cases.

Ciao,
Piero

  parent reply	other threads:[~2004-11-17  8:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 22:58 [Qemu-devel] qemu-img documentation Fabrice Bellard
2004-11-15 23:04 ` Hetz Ben Hamo
2004-11-16  1:46   ` Fabrice Bellard
2004-11-16  7:46     ` ML
2004-11-16 15:17       ` Jason Brittain
2004-11-16 15:42         ` Panagiotis Issaris
2004-11-16 15:53           ` Johannes Schindelin
2004-11-17  8:09           ` ML [this message]
2004-11-17 21:56             ` Jim C. Brown
2004-11-16 21:45         ` 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=419B074D.6080700@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).