🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.virus
Article #476

Re: Can't read last cluster on drive?

#476
From: Robert Green
Date: Sat, 13 Feb 1999 00:00
52 lines
2271 bytes
"Jeremy Brooks" <jem@datasecurity.co.uk> wrote:

>I see a lot of partitions where the partition table and the boot sector
>sector length appears to be either 1 or 2 cylinders longer than the actual
>disk (as detected by the BIOS).
>
>Perhaps this is a miscalculation by the Windows/DOS install routine.
>
>I see this an awful lot when fix hdds (i.e. partition table data against
>BIOS CHS values).
>
>Example:
>
>int 13h get disk info returns
>
>995,31,63     (disk has 2007936 sectors)
>
>but partition table says
>
>128    6    0,1,1 - 996,31,63     63      2009889
>
>and boot sector bpb.huge_sector_count = 2009889
>
>or
>
>128    6    0,1,1 - 997,31,63     63      2011905
>
>and boot sector bpb.huge_sector_count = 2011905
>
>Could it be that this disk has this problem and the disk has become full and
>scandisk or DOS is trying to r/w these non-existent clusters (i.e. the last
>or penultimate cylinder).
>
>This may or may not be the source of the problem, but in any event I would
>be interested to hear of anyone who knows why this happens (and it happens
>an awful lot).
>
>Kindest regards,
>
>Jem

I've never noticed that.

On this computer the two agree: 620,63,63. The BIOS params are
622,64,63, so there is one cylinder of slack. 

FDISK calls int 13 ah = 8 (or the equivalent extended function if for
LBA) before it fills in the partition table, so it would seem to be
most likely a bug in some version of FDISK. I'll have to keep an eye
out for that one.

Bob
Technical Details
Message-ID: <36c4cbf1.1157420@news.mindspring.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <918802496snz@longley.demon.co.uk> <7a0u7p$vt$1@bliss.lif.icnet.uk> <36c419fe.0@glitch.nildram.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c6a1,28e7ca06d81dd7b4
X-Google-Attributes: gid10c6a1,public
X-Google-Thread: 1036bc,28e7ca06d81dd7b4
X-Google-Attributes: gid1036bc,public
X-Google-Thread: fcd68,28e7ca06d81dd7b4
X-Google-Attributes: gidfcd68,public
From: "Robert Green" <rgreen@avana.net>
Subject: Re: Can't read last cluster on drive?
Date: 1999/02/13
Message-ID: <36c4cbf1.1157420@news.mindspring.com>
X-Deja-AN: 443822972
References: <918802496snz@longley.demon.co.uk> <7a0u7p$vt$1@bliss.lif.icnet.uk> <36c419fe.0@glitch.nildram.co.uk>
X-Server-Date: 13 Feb 1999 01:16:38 GMT
Organization: MindSpring Enterprises
Reply-To: rgreen@avana.net
Newsgroups: alt.comp.virus,demon.tech.pc,comp.periphs