Newsgroups: comp.os.minix
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news1.oakland.edu!news.concourse.com!braintree!news.sprintlink.net!EU.net!sun4nl!cs.vu.nl!kjb
From: kjb@cs.vu.nl (Kees J. Bot)
Subject: Re: Need help using part
Nntp-Posting-Host: hornet.cs.vu.nl
References: <DC8yE6.Erx@ecf.toronto.edu>
Sender: news@cs.vu.nl
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Tue, 25 Jul 1995 11:45:29 GMT
Message-ID: <DC9snt.9ut.0.-s@cs.vu.nl>
Lines: 36

patel@ecf.toronto.edu (PATEL  DILIP) writes:

>                       -----first-----   --geom/last--   --sectors--
>Num Sort  Type         Cyl  Head  Sec     Cyl Head Sec   Base    Size     Kb
>          /dev/hd0                        977   5  17  
>                        0    0     0      981   3Y 3Y     0      83440   41720
>1* hd1 06 DOS-BIG       0    1     0      975   4  16     17     82943   41471
>2  hd2 00 None          0    0     0       0    0  -1     0          0       0
>[Stuff deleted]


>The above information is what I see when I first run part.  The Y
>beside the 3's mean it is hi-lighted in yellow.

Is the drive an IDE drive?  (Do you see "at-hd0: drive-type-name"?)
The 977x5x17 disk geometry is taken from the BIOS parameter table.  The
AT driver asks an IDE disk directly how big it is, which may differ a
bit from the BIOS geometry.  The second line of numbers shows this.
You can ignore the highlighting on those numbers.

>My problem is what numbers should I type
>into the various fields to cut out a 30720 Kb partition, with out getting
>inverse video warnings.

The DOS partition covers the entire disk, so you have to shrink or
delete it.  Try FIPS if you want to shrink it.  (ftp.cs.vu.nl:.../dosutil.)

>The DOS partition seems to be corrupted.

If you only added a partition next to it with a weird start or end then
DOS is probably confused about your partition table.  If you didn't do
anything else (like trying to install Minix), then deleting the extra
partition should bring the DOS partition back in view.
--
	                        Kees J. Bot  (kjb@cs.vu.nl)
	              Systems Programmer, Vrije Universiteit Amsterdam
