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


Guest section DW wrote:
> 
> On Mon, Jan 15, 2001 at 07:18:30PM +0100, David Balazic wrote:
> 
> > Then I installed linux ( "some" beta version , kernel
> > is some recent 2.4.0-testXX )
> >
> > After the installation the disk ( win2000 ) would not boot.
> > It reports :
> > Read error on disk.
> > Press ctrl+alt+del to reboot.
> >
> > If I run linux ( it work OK from the boot floppy ),
> > it reports the geometry as 3xxxx/??/??.
> > Thirty thousand and some cylinders , H and S are probably 16/63
> > ( don't have it at hand ).
> >
> > It should be two thousand something and 255/63, I think.
> >
> > fdisk -l /dev/hda prints "Partition 1 does not end on cylinder boundary"
> > messages for the NTFS partitions ( hda1 and hda5 ). The linux ones are
> > OK.
> >
> > The problem is that now the BIOS sets Access mode to LARGE.
> > I can workaround it by changing access mode in BIOS setup
> > from AUTO to LBA, but I want to know what made BIOS to default to
> > LARGE and how to fix it.
> 
> Since "disk geometry" has become such a terrible mess,
> recent BIOSes decide that they don't know what the geometry
> should be, and guess the geometry from the partition table,
> if there is one.
> 
> So, if you added partitions during the install then it is
> not impossible that the BIOS changed its mind concerning
> the geometry.
> 
> It would be interesting to see the precise partition table
> (output of "fdisk -l /dev/hda").

Sorry , can't get it until saturday :-(

fdisk reports the disk geometry as 3xxxxx/xx/xx which probably LARGE.
I don't remember the start/stop cylinders of partitions.

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.


-- 
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -
-
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 18:55 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 [this message]
2001-01-15 19:42     ` Guest section DW

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=3A634777.48A41C82@uni-mb.si \
    --to=david.balazic@uni-mb.si \
    --cc=dwguest@win.tue.nl \
    --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®