Solved

fdisk and big EIDE drives

Posted on 1997-11-07
2
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

617 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