Solved

fdisk and big EIDE drives

Posted on 1997-11-07
2
364 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
Comment Utility
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
Comment Utility
Thanks.  I'll check out that HOWTO
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

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…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now