I encounter difficulty while installing an IBM 40GB IDE drive
as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
I am not concerned by lilo boot, the system staying on the
initial disk.
I have seen several things, Large-Disk-HOWTO, questions on
news-groups, IBM web site ... but it is a bit confusing
for me and I get no conclusion.
I tried two things: mounting with and without clipping the disk.
------------------------------------------------------------------
1- Before clipping the disk with jumpers, dmesg said:
hdc: IC35L040AVER07-0, ATA DISK drive
hdc: IC35L040AVER07-0, 39266MB w/1916kB Cache, CHS=14244/16/63, UDMA
But
/sbin/fdisk /dev/hdc gives : (fdsisk v2.8)
The number of cylinders for this disk is set to 14244.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdc: 16 heads, 63 sectors, 14244 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 14244 7178944+ 83 Linux native
and after mke2fs /dev/hdc1 and mounting
df returns only 6.9 GB as 14244*1008*512 = 6.9 GB :
/dev/hdc1 6927244 14 6568283 0% /supus
My question: What is responsible of this ? kernel or fdisk ?
what kernel to have for working ?
--------------------------------------------------------------------
2- After clipping the disk to 32 GB, dmesg says
hdc: IC35L040AVER07-0, ATA DISK drive
hdc: IC35L040AVER07-0, 32253MB w/1916kB Cache, CHS=65531/16/63, UDMA
fdisk and mke2fs work correctly and df shows all the 32 Gb as
/dev/hdc1 31475271 58079 29765813 0% /supus
But I have lost 8 Gb !
What to do please, except upgrade my Redhat to 7.2 ?
I have read that kernel-2.2.14 is better, but the
Documentation/ide.txt of the two releases are the same about
"How To Use *Big* ATA/IDE drives with Linux"
Any help ?
Thanks in advance.
Jean-Pol Guillement