Hi,

it's risky to guess CHS geometry from the MBR, because partitions
don't necessarily end at cylinder boundaries.

Using CHS internally means to use int13 calls to read/write sectors
using CHS values (which Linux does not do). For those the only values
that make sense and are safe are the ones compatible with the BIOS,
irrespective of what is in the boot sector or MBR! The only reason why
CHS is used at all internally for BIOSes that also support LBA is for
compatibility with older device drivers (think of cache) that only
know about CHS.

If all is well, your pendrive's boot sector(s) use the 1021/124/62 geometry.

You can always use SYS CONFIG (see docs\sys.txt) with forcelba or set
the partition type(s) to an LBA type (0c/0e/0f) (which makes the drive
invisible to MSDOS < 7) to avoid all the CHS complications.

Bart

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to