Incorrect data returned when reading sectors at end of disk
Posted: 2. Apr 2015, 13:43
I have a USB Flash drive which has a .vmdk file so that I can boot from the USB drive to grub4dos.
grub4dos uses the BIOS for disk access.
If I try to read the last sectors of the USB drive using grub4dos, it returns sector data containing all 00 bytes instead of the correct data.
Running the USB drive on a real system works OK.
Running the USB drive under QEMU works OK.
If I boot to Windows under VBox and then use a disk editor to read the disk sectors at the end of the USB drive, that works OK too.
So it seems to be a problem with the VBox BIOS.
See http://reboot.pro/topic/18736-virtual-m ... ntry191819
grub4dos uses the BIOS for disk access.
If I try to read the last sectors of the USB drive using grub4dos, it returns sector data containing all 00 bytes instead of the correct data.
Running the USB drive on a real system works OK.
Running the USB drive under QEMU works OK.
If I boot to Windows under VBox and then use a disk editor to read the disk sectors at the end of the USB drive, that works OK too.
So it seems to be a problem with the VBox BIOS.
See http://reboot.pro/topic/18736-virtual-m ... ntry191819