Solved

fdisk and big EIDE drives

Posted on 1997-11-07
2
369 Views
Last Modified: 2013-12-15
I am trying to install Linux (RedHat 4.1), OS/2, and maybe even Win 95 on a new 6.4 Gb EIDE drive from Western Digital.  The drive has 13,328 cylinders, 15 heads, and 63 sectors.  The fdisk programs in Linux, OS/2, and Win 95 all see the disk differently, and none of them seems to be able to partition it correctly.  In all cases, the fdisk program thinks it knows what it is doing, but when you try to install an OS on the drive, the partition table is found to be hosed and the partitions inaccessible.

I have heard that IBM has a fixpack for Warp 4 which takes care of the problem, but I am not sure about Linux (and don't really care about Win 95...)  Linux fdisk reports a "Begin", a "start", and an "end" for each partition I create.  The start and end cylinders (or sectors if you use that option) are reported correctly, but the Begin entry always seems to be a multiple of 1024 cylinders that is somewhere near (above or below) the start value.  When I tell fdisk to verify the partition table, sure enough, it says that most of the partitions overlap.

The RedHat installation kernel detects the drive and reports its geometry correctly, and my BIOS is new enough that it seems to understand the drive too.  Is there a newer version of fdisk that avoids this problem?  Am I doing something wrong?  

Justin Harlow
0
Comment
Question by:harlow
2 Comments
 
LVL 1

Accepted Solution

by:
mortenmo earned 100 total points
ID: 1630445
The BIOS will understand it, but the BIOS' INT13 interface to
the disk i/o is only 10-bits (you can only have cylinders upto
1024).

This is not a problem for linux as it doesn't use the bios to
read data, tho you need to tell fdisk / LILO about the disk
geometry (you do this in the advanced meny on fdisk)..

I'm not gonna go in detail here, all this is in a howto found
on sunsite (f.ex.
"ftp.nvg.ntnu.no/pub/linux/sunsite/docs/HOWTO/mini/Large-Disk.gz"

The howto has directions about how to partition the disk with
fdisk and howto use it with lilo.

If you need the file, just give me your email and I'll mail it
to you..

Hope this helps.

0
 

Author Comment

by:harlow
ID: 1630446
Thanks.  I'll check out that HOWTO
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now