From: Jon Brinkmann <jb@galileo.apo.nmsu.edu>
Subject: fdisk bug
Date: Wed, 6 Aug 1997 18:14:05 -0600 (MDT) [thread overview]
Message-ID: <199708070014.SAA09530@galileo.apo.nmsu.edu> (raw)
I'm trying to format my disk to install Linux (with NT) using fdisk.
I've successfully formatted the disk and installed NT in three
partitions, equivalent to boot, root, swap and user. I first created
an extended partition covering the entire disk, since I'm limited to
four physical partitions on the disk. I'm now creating the Linux root,
swap, user and home partitions. Hardware is an EB164 with a Qlogic
fast wide SCSI controller and a Seagate ST410800W 9 GB disk.
I've found that NT likes to use 64 heads and 32 sectors per track.
(Since the disk REALLY has 27 heads and an average of 133
sectors/track, which fdisk chokes on, I use the preferred NT values.
The data sheet says the disk has 17,845,731 sectors, which works out to
17,845,731/(64*32) = 8713+ cylinders.) These values are irrelevant for
SCSI disks anyway, since the SCSI bus accepts addresses only as sectors.
The fdisk program isn't smart enough to work only in sectors for SCSI
disks. (It still has to use (head, sector, track) for EIDE disks)
Anyhow, the partition table looks like (in sectors):
Device Boot Begin Start End Blocks Id System
------ ---- ----- ----- --- ------ -- ------
/tmp/sda1 32 32 17844223 8922096 5 Extended
/tmp/sda5 64 64 20544 10240+ 6 DOS 16bit >= 32M
/tmp/sda6 22577 22577 532577 25600+ 7 OS/2 HPFS
/tmp/sda7 532578 532578 737378 102400+ 7 OS/2 HPFS
/tmp/sda8 737379 737379 1249379 25600+ 7 OS/2 HPFS
/tmp/sda9 1249380 1249380 1454180 102400+ 83 Linux native
/tmp/sda10 1454181 1454181 1658981 102400+ 83 Linux native
/tmp/sda11 1658982 1658982 2682982 512000+ 83 Linux native
/tmp/sda12 2097151 2682983 4780135 1048576+ 83 Linux native
^^^^^^^
This begin point of partition 12 is the problem. No matter what size I
pick for the partition I cannot get it to begin where it should. Using the
"move beginning of data" in the expert menu doesn't work. Fdisk accepts
the number "2582983" without complaining, but sets the partition begin
point as shown above. Verifying the disk says that partition 11 and
12 overlap.
Any help fixing fdisk would be greatly appreciated.
Jon
---
Dr. Jon Brinkmann Apache Point Observatory
Instrument Scientist 2001 Apache Point Road
Internet: brinkmann@nmsu.edu P.O. Box 59
URL: http://www.apo.nmsu.edu/brinkmann/ Sunspot, NM 88349-0059
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
reply other threads:[~1997-08-07 0:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox