How to Repair a corrupt E2B USB drive

If you have accidentally corrupted your E2B USB drive, here is how to fix it.
 
Note: If prompted by Windows to format the drive - DO NOT FORMAT IT!
 
First - unplug the USB drive - reboot your system - reconnect the USB drive.
 
1. Can you see any files on the USB drive? - If YES then goto #A below.
 
2. (no files) - Use RMPrepUSB - Drive Info - 30 to view a backup sector of the USB drive. 
 
Are the last two bytes 55 AA ? e.g.
 
01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA  ........ ......Uª
Disk Signature bytes (1B8h-1BBh) = 57 1F 00 00
 
Partition 1   SIZE=30567MiB   Type: 07 NTFS  *ACTIVE*
START POS   = CYL:0 HD:32 SEC:33       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 2,048 (00000800) SIZE (LBA) = 62,601,216 (03BB3800) [End=62,603,263]
 
Partition 2   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)
 
Partition 3   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)
 
Partition 4   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)
 
P1   Start=2,048 (1,048,576 bytes) End=62,603,263 (32,052,870,656 bytes)
 
If bytes 55 AA are not present, repeat the Drive Info command using 60.
If bytes 55 AA are not present, repeat the Drive Info command using 1.
 
If you found a sector ending in 55 AA, we can write that sector to LBA 0 to restore the original partition table as follows:
 
2.1. RMPrepUSB - Drive -> File - mbr.bin - n - 1SEC - 0     (where n is the backup sector 30, 60 or 1)
2.2. RMPrepUSB - File -> Drive - 0 - 0 - 0                          (writes to LBA 0)
 
You should now be able to see the E2B USB drive contents.
 
Tip: If this frightens you and you have used .imgPTN files, then instead run the .\MPI_Tool_Pack_Plus_CloverLite_0xx\csm\e2b\RestoreE2B (run as admin).cmd script from the MPI Tool Pack download. This should restore the original E2B partition table.
 
Now, re-install grub4dos using:
2.3 RMPrepUSB - Install grub4dos - Y=MBR - cancel copy of grldr if prompted
 
2.4 Now check the filesystem of the USB drive - right-click on the drive letter - Properties - Tools - Check
 
The USB drive should now be restored. If E2B is not working correctly, try the Update E2B Drive command in the E2B download.
 
If you cannot find any backup sector, run TESTDISK to try to recover any important files that may still be on there and then re-make the E2B USB drive from scratch.
 
- o O o -
 
A. If you can see files on the E2B USB drive...
 
First check and fix the filesystem of the USB drive - right-click on the USB drive letter - Properties - Tools - Check
 
Next,  - if you see a \_ISO folder go to #B, if you see a \e2b folder goto #C, if you don't see either folder goto #D
 
B. (\_ISO folder present)
The USB drive has probably lost it's boot sectors. Run RMPrepUSB - Install grub4dos - Y=MBR - cancel copy of grldr if prompted
Follow #2 (2.1,2.2,2.3,2.4) above.
 
C. (\e2b folder present)
The USB drive has probably been switched to a .imgPTN image. Use \e2b\SWITCH_E2B.exe - Restore E2B Partitions  to restore the E2B partitions.
If no partition is listed by SWITCH_E2B.exe, the USB drive probably no longer contains a grub4dos MBR or grub4dos boot code, so you can run \e2b\RestoreE2B_32_64.cmd  as Administrator. This should restore the E2B partition(s).
Then follow #2 (2.3,2.4) above.
 
D. (no E2B folders/files present)
If you don't recognise any E2B files, the drive may have been reformatted accidentally by an OS installer!
This may mean that you have lost all or many of your E2B files!
Follow #2 (2.1,2.2,2.3,2.4, run TESTDISK to try to recover any important files that may still be on there and then re-make the E2B USB drive from scratch.) above.
 
 

Stiil no good?

If that still does not work then contact me.

Popular Pages

More Info

Search