Solved

fdisk and big EIDE drives

Posted on 1997-11-07
2
375 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 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