From: Mike Sanders <sanders@server.physics.lsa.umich.edu> Subject: Re: pfdisk problem Date: Sun, 7 Jun 1992 15:59:04 GMT
woody@cs.utexas.edu (James Woodgate)
asks:
|I ran pfdisk and it seemed to work fine, in fact linux
|now runs on my hard drive. (Although I still have to
|boot off the floppy) My problem is that even though
|fdisk, pfdisk, and the dos fdisk all seem to like my
|dos partition of 87Meg, and my non-dos partiton of
|32 Meg, when I do a dir of the dos drive it still seems
|to think that the 32 Meg is usable. Is this a problem,
|or will the system figure out that something is wrong
|and correct it. Also note that I ran Norton Disk Doctor
|and chkdsk and they didn't have a problem, but they did
|think that dos had that 32 Meg also.
I had the same problem. (It *is* real. DOS might overwrite Linux.) My
solution (kludge) was to rewrite the BPB (Bios Parameter Block) at
offset 20H to contain the correct number of sectors in the DOS
partition. In my case, I changed 0D8A0200 to 9CF80100 (164,365 to
129,182 in Intel order). See Norton "New Programmer's Guide..." p.497.
Be sure to record the original number, since you might want to go
back!