--- qemu-0.6.2/hw/pc.c.orig 2004-11-16 04:45:27 +0300 +++ qemu-0.6.2/hw/pc.c 2004-11-29 15:12:52 +0300 @@ -228,10 +228,13 @@ if (cylinders <= 1024 && heads <= 16 && sectors <= 63) { /* No translation. */ translation = 0; - } else { - /* LBA translation. */ - translation = 1; - } + } else if (cylinders * heads > 131072) { + /* LBA translation. */ + translation = 1; + } else { + /* LARGE translation. */ + translation = 2; + } } else { translation--; }