> Me. > > I appreciate if you could improve it even a bit. The device mapping problem is > the main source of headache for me. I am looking forward to your patch.
I'll try my best. Being that I'm new to GRUB, that's probably not very good ;-). Incidentally, could you perhaps offer your comments on the attached patch? It should enable GRUB to detect the correct number of sectors on device-mapped devices, seeing as the BLKGETSIZE ioctl seems to work on those, but HDIO_GETGEO doesn't. One thing I can think of myself is to actually calculate the "correct" cylinder count with 63 secs/track and 255 heads, instead of just using the large drive placeholder values of 1024/255/63. Not sure if it matters any.
grub-0.96-devicemapper.patch
Description: Binary data
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
