recognition ide (was :ide)
ok, this time i've more information :
my debian linux doesn't recognize well my HD ibm 8.4 GB
here are some messages from dmesg, cfdisk and fdisk
note : under cfdisk, my hd seems to have 189 GB
I include the bios autodetection :
size cyl head precomp landz sector mode
8447 1027 255 0 16382 63 LBA
8455 16383 16 65535 16382 63 normal
8452 2047 128 65535 16382 63 large
which one do i need to choose ?
i tried all of them, no one seems to work.
(every time linux recognize 189 GB and dos see the right size (8.4GB))
thank you...
I've tried to be more precise.
ide: i82371 PIIX (Triton) on PCI bus 0 function 33
ide0: BM-DMA at 0xc800-0xc807
ide1: BM-DMA at 0xc808-0xc80f
hdb: IBM-DTTA-350840, 8063MB w/467kB Cache, CHS=20510/81/228, UDMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Partition check:
sda: sda1 sda4 < sda5 sda6 sda7 sda8 sda9 >
hdb: [PTBL] [1027/255/63] hdb1 hdb2 < hdb5 >
fdisk:
$ fdisk /dev/hdb
The number of cylinders for this disk is set to 1027
Disk /dev/hdb: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hdb1 256 1 65 516064+ 6 DOS 16-bit >=32M
Partition 1 does not end on cylinder boundary:
phys=(55, 72, 36) should be (55, 254, 63)
/dev/hdb2 57 57 1027 7799557+ f Unknown
cfdisk 0.8j
Disk Drive: /dev/hdb
Heads: 81 Sectors per Track: 228 Cylinders: 20510
Name Flags Part Type FS Type [Label] Size (MB)
---------------------------------------------------------------------------------
Pri/Log Free Space 184950.53
fdisk /dev/hdb
The number of cylinders for this disk is set to 20510.
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 form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdb: 81 heads, 228 sectors, 20510 cylinders
Units = cylinders of 18468 * 512 bytes
Device Boot Begin Start End Blocks Id System
ide: i82371 PIIX (Triton) on PCI bus 0 function 33
ide0: BM-DMA at 0xc800-0xc807
ide1: BM-DMA at 0xc808-0xc80f
hdb: IBM-DTTA-350840, 8063MB w/467kB Cache, CHS=20510/81/228, UDMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
fdisk /dev/hdb
The number of cylinders for this disk is set to 20510.
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 form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdb: 81 heads, 228 sectors, 20510 cylinders
Units = cylinders of 18468 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hdb1 1 1 111 1024860 b Unknown
Partition 1 does not end on cylinder boundary:
phys=(878, 80, 36) should be (878, 80, 228)
/dev/hdb2 112 112 854 6860862 5 Extended
Partition 2 does not end on cylinder boundary:
phys=(853, 80, 36) should be (853, 80, 228)
/dev/hdb5 112 112 854 6860748 83 Linux native
fdisk /dev/hdb
The number of cylinders for this disk is set to 20510.
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 form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdb: 81 heads, 228 sectors, 20510 cylinders
Units = cylinders of 18468 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hdb1 1 1 111 1024860 b Unknown
Partition 1 does not end on cylinder boundary:
phys=(878, 80, 36) should be (878, 80, 228)
/dev/hdb2 112 112 854 6860862 5 Extended
Partition 2 does not end on cylinder boundary:
phys=(853, 80, 36) should be (853, 80, 228)
/dev/hdb5 112 112 854 6860748 83 Linux native
i try many operations on this HD, that's why there is many tries
with fdisk ...
Xavier
______________________________
xavier@bocal.cs.univ-paris8.fr
Reply to: