It successfully read and write sectors.
However there is no information on how to read disk configuration info.
All after all, how should I know how many sectors in the disk?
Can anyone help?? Thanks a lot!
BTW, I'm using Qemu as my emulator, the command of running:
Code: Select all
qemu-system-x86_64 -machine q35 -cpu Broadwell -accel kvm -smp 4,cores=2,threads=2,sockets=1 -m 1G -hda Boot.disk -hdb hdb.disk