> Do you know what the API does? What system calls does it use? i'm not sure which APIs one should use to access the disk directly if its in use.
but what i have gleaned so far: if the MBR needs writing, you can use the DIOCSMBR ioctl defined in sys/diskmbr.h to write it, passing the device fd opened with O_RDONLY, and a 512-byte block. if you need to modify the partitions, i'm not sure what you'd use, maybe whats defined in sys/diskslice.h, perhaps DIOCSYNCSLICEINFO, i don't know. the workaround for me was to install from floppy. leon _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub
