So I went and got a new 40GB hard drive and plugged it in as /dev/hdc. This box only had /dev/hda until now.
So what does Linux fdisk (and cfdisk) do? They both think it's a 6GB drive. Fiddling with all settings in CMOS doesn't help. besides, the *kernel* knows it's 40 gigs.
Enter DOS fdisk. Which happily recognizes the drive, creates a token 100MB partition (I don't trust LILO, I use loadlin. I should put lilo next.) and happily formats it. (Okay, that was DOS format. Whatever.)
Now Linux fdisk sees all the cylinders/sectors/foo.
So now I'm embarassed: Why did Linux fdisk not recognize it for what it was, the first time?
For that matter, which is better in CMOS:
Auto (duh) LBA Large (whatever *that* means) CHS (and lie about the geometry) ?
At 04:16 AM 7/12/02 -0700, you wrote:
So now I'm embarassed: Why did Linux fdisk not recognize it for what it was, the first time?
Did you have the latest version of fdisk? There is a large difference between the current one and the one which came with the Debian Potato 2.2 - or so was my experience.
For that matter, which is better in CMOS:
Auto (duh) LBA
There is something called LBA32 which is prevalent as of today I think. If your bios does not support it then LBA is next best, maybe?
Large (whatever *that* means) CHS (and lie about the geometry) ?
On Jul 13, 2002 at 13:47, Q u a s i wrote:
At 04:16 AM 7/12/02 -0700, you wrote:
So now I'm embarassed: Why did Linux fdisk not recognize it for what it was, the first time?
Did you have the latest version of fdisk? There is a large difference between the current one and the one which came with the Debian Potato 2.2 - or so was my experience.
I couldn't find fdisk anywhere. cfdisk had the same problem, and I did find cfdisk at ibiblio.
The odd thing is that fdisk was able to recognize the drive correctly after DOS fdisk had created a partition table on it.
There is something called LBA32 which is prevalent as of today I think. If your bios does not support it then LBA is next best, maybe?
I had to tell LILO LBA32... and that has nothing to do with this. The BIOS shouldn't be that old, I bought it in February.
At 01:02 PM 7/14/02 -0700, Satya wrote:
I couldn't find fdisk anywhere. cfdisk had the same problem, and I did find cfdisk at ibiblio.
<grin> happened to me too. I had to upgrade my debian to unstable to get the latest fdisk. I am not sure which packages it comes with. BTW IMHO cfdisk is quite unpredictable and useless - I have had some bad experience with it. I only trust fdisk.
The odd thing is that fdisk was able to recognize the drive correctly after DOS fdisk had created a partition table on it.
it is certainly odd, but I think it may be due to an old fdisk.
q
On Jul 16, 2002 at 00:38, Q u a s i wrote:
<grin> happened to me too. I had to upgrade my debian to unstable to get the latest fdisk. I am not sure which packages it comes with. BTW IMHO
Comes with util-linux, as I found out when upgrading to ext3fs.