* DOS 6.2 and cfdisk/fdisk
@ 1994-12-01 16:45 Rik Faith
0 siblings, 0 replies; only message in thread
From: Rik Faith @ 1994-12-01 16:45 UTC (permalink / raw)
Recently it has come to our attention that there is an unfavorable
interaction between the Linux fdisk programs and DOS 6.2 FORMAT.
First, let us state that we have always recommended creating partition
table entries with an OS-specific partition table program. For
example, you should make DOS partitions with the DOS FDISK program and
Linux partitions with the Linux cfdisk program.
That said, it appears that problems can result if a DOS partition is
made with the latest version of cfdisk (0.8 BETA) or fdisk (1.5b): DOS
FORMAT will not necessarily respect the size of the DOS partition as
stated in the partition table.
This is because DOS FORMAT looks for some information in the first
sector of the data area of the partition, and treats this information
as more reliable than the information in the partition table. DOS
FORMAT expects DOS FDISK to clear the first 512 bytes of the data area
of a partition whenever a size change occurs. DOS FORMAT will look at
this extra information even if the /U flag is given -- we consider
this a bug in DOS FORMAT and DOS FDISK.
The bottom line is that if you use cfdisk or fdisk to change the size
of a DOS partition table entry, then you must also use dd to zero the
first 512 bytes of that partition before using DOS FORMAT to format
the partition. For example, if you were using cfdisk to make a DOS
partition table entry for /dev/hda1, then (after exiting cfdisk and
rebooting Linux so that the partition table information is valid) you
would use the command "dd if=/dev/zero of=/dev/hda1 bs=512 count=1" to
zero the first 512 bytes of the partition. BE EXTREMELY CAREFUL if
you use the dd command, since a small typo can make all of the data on
your disk useless.
We will carefully explore patches for cfdisk and fdisk.
Rickard E. Faith
Kevin E. Martin
--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-12-01 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-01 16:45 DOS 6.2 and cfdisk/fdisk Rik Faith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox