mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guest section DW <dwguest@win.tue.nl>
To: David Balazic <david.balazic@uni-mb.si>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Disk geometry changed after running linux
Date: Mon, 15 Jan 2001 20:42:54 +0100	[thread overview]
Message-ID: <20010115204254.B17484@win.tue.nl> (raw)
In-Reply-To: <3A633EF6.44E5A2C@uni-mb.si> <20010115195131.A17484@win.tue.nl> <3A634777.48A41C82@uni-mb.si>
In-Reply-To: <3A634777.48A41C82@uni-mb.si>; from David Balazic on Mon, Jan 15, 2001 at 07:54:47PM +0100

On Mon, Jan 15, 2001 at 07:54:47PM +0100, David Balazic wrote:

> Is there a way to change the geometry from fdisk ?
> I tried expert mode and 'set sectors' and 'set heads',
> but after I exit fdisk with 'w' , it is unchanged.

As you know, a disk does not have a geometry, but
the location of a partition is described in linear
and 3D coordinates, and translating between the two
requires a geometry. Commands like
	% sfdisk -d /dev/hdf > hdf.pt
	% sfdisk /dev/hdf < hdf.pt
suffice to make the translation uniform for the
kernel's current idea of sectors, heads.
If you don't like that idea, then -C,-H,-S options
serve to tell sfdisk about the desired geometry.
See sfdisk(8).
[Save a copy of the old situation, and make the geometry so
that Windows likes it. Linux is happy with every geometry.]

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2001-01-15 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15 18:18 David Balazic
2001-01-15 18:51 ` Guest section DW
2001-01-15 18:54   ` David Balazic
2001-01-15 19:42     ` Guest section DW [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=20010115204254.B17484@win.tue.nl \
    --to=dwguest@win.tue.nl \
    --cc=david.balazic@uni-mb.si \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®