Hi folks.

After UEFI Shell was run I can see FS0 filesystem.
FS0 is alias for PciRoot/Pci/Ata device.

I want to remove all MBR and GPT partition from this device (I write
zeros to the 0,1,last sectors).

What I doing:
1 I get Handle for this device,
2 I call  gBS->DisconnectController (DiskHandle,NULL,NULL);  for umount
(If I return in this step, UEFI Shell is not answer)
3 I call WriteBlock for erase data.
4 I return to the UEFI Shell, and it doesn't answer)

If I skip step 2, then UEFI Shell is will be broken too.
How can I erase data from disk without breaking UEFI Shell?

---
Best regards,
Leonid Myravjev

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to