Subj : Re: Determining geometry of Compact Flash To : comp.os.linux.embedded,comp.os.linux,programmer From : Kevin D. Quitt Date : Fri Dec 17 2004 02:29 pm On 15 Dec 2004 05:13:01 GMT, Grant Edwards wrote: >What do you mean by "geometry"? The number of 512-byte blocks >is the only geometry I'm aware of. CF presents itself as having cylinders, tracks and sectors. lilo will not work correctly unless it is given the correct values for those. >The actual geometry of the >flash chip(s) is hidden behind the IDE interface logic. Except for when it isn't. >Even >if you did know the geometry of the flash chip(s) you couldn't >do anything with that information. I can find out the geometry of the chip from the BIOS by booting to the BIOS instead of linux. This is how I do it *now*. I then provide this information to lilo, so that it can create a boot block that allows me to boot from the CF into linux. >> all kinds of geometries even when they're exactly the same size.) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >They're _not_ all the same size. That's the problem. You're not reading what I wrote. >What you >have to do is standardize on a partition size that will fit on >all the parts from all the vendors. Completely wrong. The partition size doesn't matter for booting; the geometry does because lilo requires to know that geometry. I do thank you for bothering to answer. -- #include _ Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up Per the FCA, this address may not be added to any commercial mail list .