Re: error in fdisk/cfdisk? (part 2)

1998-03-07 Thread Helmut Leinfellner
>If you are going to use linux with that drive then you must use NORMAL
>mode. I noticed that number of heads affect how much DOS FDISK says size
>to be use. This drive have only 9 heads and lots of cylinders, so 1024
>cylinders mean only 283 MB room for DOS. My another drive have 15 heads
>and there is about 480 MB room for dos, not 519 MB..
>
>You must use diskmanager program if you want more disk to dos. I check
>quantums diskmanager for fireball and I didn't install it. It wanted to
>repartion of hole drive and that was last thing what I want...  

Where do I get diskmanager ?


>Set dos compatiblity flag off when you do new partitios to drive. It do
>that kind partition overlays... 




   ---
   Accept the challenge!   http://fbma.tuwien.ac.at/~e8426331/
   ... and write to me !
   ---


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: error in fdisk/cfdisk? (part 2)

1998-02-26 Thread shaul
You probably have an old BIOS. Old bios is known not to recognize HD over 
528M, unless special measures, such as LBA, are incoperated.
Besides, I think that DOS would not recognize a partition that is over 2.1G.

I use Linux with a HD that the BIOS sees as LBA.

Does all this BIOS/DOS problems are causing problems with Linux ?




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: error in fdisk/cfdisk? (part 2)

1998-02-26 Thread Bob Hilliard
 You provided the following partition table:

>Boot  Begin  Start  End   Blocks  Id  System
> /dev/hdc1 63   63   13097665457  82  Linux Swap
> /dev/hdc2   * 130977   130977  2588354  1228689  83  Linux native
> /dev/hdc32322431  2588355  6684362  2048004   6  DOS 16-bit >=32M
> /dev/hdc46386687  6684363  8418815  867226+   6  DOS 16-bit >=32M

> (v)erify gives:
> Warning: partition 2 overlays partition 3.
>  partition 3 overlays partition 4.
>  60 unallocated sectors.
  
 This should be OK for linux, despite the warning.  As I
understand it, fdisk gets values for the begin column from the bios,
but the other columns are calculated by fdisk.  The bios figures are
wrong when they refer to cylinders above 1024.  The verify results are
based on the bios data, and always show overlaps in disks with over
1024 cylinders.  For example, here is the partition table for  my
first drive:

Disk /dev/hda: 15 heads, 63 sectors, 14475 cylinders
Units = cylinders of 945 * 512 bytes

   Device Boot   BeginStart  End   Blocks   Id  System
/dev/hda1   *11 1104   521608+   6  DOS 16-bit >=32M
/dev/hda2 1024 110510348  4367790   85  Linux extended
/dev/hda3102401034912412   975240   83  Linux native
/dev/hda4122881241314475   974767+  83  Linux native
/dev/hda5 1024 1105 5440  2048728+  83  Linux native
/dev/hda6 5120 5441 6091   307566   83  Linux native
/dev/hda7 5120 6092 622261866   82  Linux swap
/dev/hda8 6144 6223 8285   974736   83  Linux native
/dev/hda9 8192 8286 8502   102501   83  Linux native
/dev/hda108192 850310348   872203+  83  Linux native

Command (m for help): v
Warning: partition 3 overlaps partition 4.
Warning: partition 1 overlaps partition 5.
Warning: partition 5 overlaps partition 6.
Warning: partition 5 overlaps partition 7.
Warning: partition 6 overlaps partition 7.
Warning: partition 7 overlaps partition 8.
Warning: partition 8 overlaps partition 9.
Warning: partition 3 overlaps partition 10.
Warning: partition 8 overlaps partition 10.
Warning: partition 9 overlaps partition 10.
Logical partition 5 not entirely in partition 2
390333 unallocated sectors

 Despite these warnings, I use all of these partitions regularly,
with no problems. 

 The DOS fdisk table you sent is weird!  It appears to be a
mixture of DOS' fdisk /status command with the partition table from a
normal fdisk command.  Your 549 mb drive would be C: in DOS
nomenclature, the CD would be D:, and your 4.3 gb drive E:, so that
partition table is partly right in its drive letter assignments.  Is
the CD properly jumpered as a slave?  I don't really think that would
cause such problems.  I don't think the LILO information in the MBR
would cause any problems for DOS.

 Does your bios support LBA?  If so, is it enabled or disabled?  I
suggest you switch it and see if that has any effect.  If your bios
doesn't support LBA, DOS can't recognize more than 1024 cylinders
unless you run one of the programs the the disk manufacturers
provide.  I don't know how these work, and I don't know if linux will
read the disk correctly after one of them is installed, so I have
never tried one.

 To sum up: I think your drive, as partitioned, will work fine in
linux, but I don't know what you should do about the DOS partitions.
There is a better chance of making it work if you put the DOS
partition first in the drive.  Linux doesn't care where it is, except
that I understand if you use LILO the boot partition must be within
the first 1024 cylinders.  (I use loadlin, and am not familiar with
LILO details.)

 Good Luck
-- 
   _
  |_)  _  |_   Robert D. Hilliard<[EMAIL PROTECTED]>
  |_) (_) |_)  Palm City, FL  USAPGP Key ID: A8E40EB9


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: error in fdisk/cfdisk? (part 2)

1998-02-25 Thread Jouni 'Jupe' Jukkala
On Wed, 25 Feb 1998, Helmut Leinfellner wrote:

> Here's a little more detail:
> 
> At startup the BIOS recognizes the size of the first drive on the primary
> controller correctly (519 MB), the second drive is a CD-ROM, and the first
> drive on the second primary controller is another hard-disk, the one with
> the 4-fold partition. BIOS does NOT recognizes the size correctly. It says
> 82 MB, really it is 4.3 GB ! It has 14848 Cylinders, 9 heads, 63 sectors.


Well, I have two 4.3 hardrives and BIOS shows same thing to me. First
hardrive has 9 heads and shows that 82MB and another have 15 heads and
show something over hundres MB, but not what it supposed to be...

> I already did as you suggested and cleared the partition table, rewrote it,
> but the effect was the same.
> DOS FDISK doesn't even recognize the size of the whole disk (4.3 GB) it
> says 283 MB !
> Here's more info:
> BIOS:
> =
> User   Size Precomp LANDZ   SECTORS   MODE
> 82  148489   65535  14847 63  NORMAL
> 82524  255   0  14847 63  LBA
> 82   7424   18   65535  14847 63  LARGE
> 



If you are going to use linux with that drive then you must use NORMAL
mode. I noticed that number of heads affect how much DOS FDISK says size
to be use. This drive have only 9 heads and lots of cylinders, so 1024
cylinders mean only 283 MB room for DOS. My another drive have 15 heads
and there is about 480 MB room for dos, not 519 MB..

You must use diskmanager program if you want more disk to dos. I check
quantums diskmanager for fireball and I didn't install it. It wanted to
repartion of hole drive and that was last thing what I want...  

> I'm running LILO. Maybe DOS FDISK is confused because Lilo rewrote the MBR ?

I dont't think so...


> (v)erify gives:
> Warning: partition 2 overlays partition 3.
>  partition 3 overlays partition 4.
>  60 unallocated sectors.


Set dos compatiblity flag off when you do new partitios to drive. It do
that kind partition overlays... 


|\  _,,,---,,_
  ZZZzz /,`.-'`'-.  ;-;;,_
   |,4-  ) )-,_. ,\ (  `'-'
  '---''(_/--'  `-'\_)

 Sometimes a cigar is just a cigar.
-Sigmund Freud
-
Jouni Jukkala  Taitoniekantie 9 B203  Puh:014-607157 e-mail:[EMAIL PROTECTED]
-




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


error in fdisk/cfdisk? (part 2)

1998-02-25 Thread Helmut Leinfellner
Hi! Thanks for your help!

  Bob> What is your current status?  Is anything already installed on

Bob> this disk?  If not, all partitions should be removed and recreated.

Not really, I can delete everything on the disk again.

  Bob> If some things are installed that need to be saved, it would be

Bob> advisable to back them up, and start over.  If you want to try to

Bob> repair this instead of replacing it, please send me a copy of the

Bob> partition tables from fdisk (including the disk geometry data that

Bob> fdisk prints at the top of the partition table) _and_ from DOS fdisk,

 Bob> noting which partitions have files installed on them.

Here's a little more detail:

At startup the BIOS recognizes the size of the first drive on the primary
controller correctly (519 MB), the second drive is a CD-ROM, and the first
drive on the second primary controller is another hard-disk, the one with
the 4-fold partition. BIOS does NOT recognizes the size correctly. It says
82 MB, really it is 4.3 GB ! It has 14848 Cylinders, 9 heads, 63 sectors.

I already did as you suggested and cleared the partition table, rewrote it,
but the effect was the same.
DOS FDISK doesn't even recognize the size of the whole disk (4.3 GB) it
says 283 MB !

DOS FDISK gets confused about the CDROM and the 4th partition. Its output is:
Partition   Status  TypeName   MB System Percentage
   1Non-DOS64  23%   # used (Linux swap)
   2   ANon-DOS  1200 100%   # used (Linux native)
D: 3Pri-DOS Chip 2000  CD01   100%   # empty
E: 4Pri-DOS Test  847 FAT16   100%   # empty

You see, it recognizes the sizes of the partitions correctly, but it thinks
the CDROM is the third partition and gets confused about the drive letters
D: and E: !

Here's more info:
BIOS:
=
User   Size Precomp LANDZ   SECTORS   MODE
82  148489   65535  14847 63  NORMAL
82524  255   0  14847 63  LBA
82   7424   18   65535  14847 63  LARGE


I'm running LILO. Maybe DOS FDISK is confused because Lilo rewrote the MBR ?

Here's what cfdisk prints:
==
#  Type 1st Sec  LastSec Offset Length  Filysystem TypeFlags
1  Primary0   130976  63   130977   Linux Swap  (82)   None (00)
2  Primary   130977  2588354   0  2457378   Linux (83) Boot (80)
3  Primary  2588355  6684362   0  4096008   DOS FAT 16 (big) (06)  None (00)
4  Primary  6684363  8418815   0  1734453   DOS FAT 16 (big) (06)  None (00)

Here's what fdisk prints:
=
   Boot  Begin  Start  End   Blocks  Id  System
/dev/hdc1 63   63   13097665457  82  Linux Swap
/dev/hdc2   * 130977   130977  2588354  1228689  83  Linux native
/dev/hdc32322431  2588355  6684362  2048004   6  DOS 16-bit >=32M
/dev/hdc46386687  6684363  8418815  867226+   6  DOS 16-bit >=32M

There's the errors (I guess): 2588355 - 2322431 = 265924
  6684363 - 6386687 = 297676

(v)erify gives:
Warning: partition 2 overlays partition 3.
 partition 3 overlays partition 4.
 60 unallocated sectors.

(x)perts, then (u) and (p)rint gives:
Nr  AF  Hd  Sec  Cyl  Hd  Sec  Cyl  Start   SizeID
 1  00   1   108   63  23063130914  82
 2  80   0   1231  8   63  1023  130977  2457378  83
 3  00   8  63   1023  8   63  1023 2588355  4096008  06
 4  00   8  63   1023  8   63  1023  6684363  1734453  06



Many many thanks for your help ! Helmut



   ---
   Accept the challenge!   http://fbma.tuwien.ac.at/~e8426331/
   ... and write to me !
   ---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: error in fdisk/cfdisk ?

1998-02-25 Thread Bob Hilliard
On Tue, 24 Feb 1998 Helmut Leinfellner <[EMAIL PROTECTED]> writes: 
> 
> Hi there !
> 
> I've partitioned my hard drive with fdisk / cfdisk this way:
> 
> Pri 1 Linux Swap (64 MB)
> Pri 2 Linux native (1200 MB)
> Pro 3 DOS (2 GB)
  ^^^- Should  this be "Pri"?

> Pri 4 Extended DOS (4-part. 800 MB)
> 
> When I verify with fdisk it (correctly!) tells me that partition 3 starts
> WITHIN partition 2 !
 Something is obviously broken here!

> As a consequence, DOS can't read the partition and doesn't give the correct
> sizes of partitions 3+4 (only about 249 MB).
> 
> It can't use DOS FDISK to correctly set the partitions either, because it
> doesn't even recognize the overall size of the hard drive (4.3 GB) !
> 
> What now ?   =:o
> 
> Thanks a lot, Helmut

 What is your current status?  Is anything already installed on
this disk?  If not, all partitions should be removed and recreated.

 If some things are installed that need to be saved, it would be
advisable to back them up, and start over.  If you want to try to
repair this instead of replacing it, please send me a copy of the
partition tables from fdisk (including the disk geometry data that
fdisk prints at the top of the partition table) _and_ from DOS fdisk,
noting which partitions have files installed on them.
-- 
   _
  |_)  _  |_   Robert D. Hilliard<[EMAIL PROTECTED]>
  |_) (_) |_)  Palm City, FL  USAPGP Key ID: A8E40EB9


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


error in fdisk/cfdisk ?

1998-02-24 Thread Helmut Leinfellner
Hi there !

I've partitioned my hard drive with fdisk / cfdisk this way:

Pri 1 Linux Swap (64 MB)
Pri 2 Linux native (1200 MB)
Pro 3 DOS (2 GB)
Pri 4 Extended DOS (4-part. 800 MB)

When I verify with fdisk it (correctly!) tells me that partition 3 starts
WITHIN partition 2 !
As a consequence, DOS can't read the partition and doesn't give the correct
sizes of partitions 3+4 (only about 249 MB).

It can't use DOS FDISK to correctly set the partitions either, because it
doesn't even recognize the overall size of the hard drive (4.3 GB) !

What now ?   =:o

Thanks a lot, Helmut



   ---
   Accept the challenge!   http://fbma.tuwien.ac.at/~e8426331/
   ... and write to me !
   ---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .