v0.1.56 had code added to restore LBA1 (the backup MBR that is copied there when you install grub4dos). This can lead to problems, so please don't use v0.1.56
The algorithm was:
If E2B backup sector 30 was invalid and sector 60 was invalid and the file MBR.BIN contained invalid contents, then use LBA1 if it has valid contents.
However, if you accidentally clicked on the 'Restore E2B partitions' button and had a grub4dos drive selected which was not an E2B USB drive, it would restore LBA1 automatically. This is usually OK as long as you did not re-partition the drive since the time that you installed grub4dos to the MBR on that drive. If however, you did install grub4dos onto the drive and then re-partitioned the drive, the LBA1 grub4dos backup would no longer be valid and Switch_E2B would write the old MBR sector to the MBR, thus losing your new partitions!
Thanks to DevaDev for reporting this when he tried it on a non-E2B USB drive!
v0.1.58 now just informs you if LBA1 is a valid MBR, but it does not restore it for you, in case you are using Switch_E2B on a non-E2B drive by mistake
The algorithm was:
If E2B backup sector 30 was invalid and sector 60 was invalid and the file MBR.BIN contained invalid contents, then use LBA1 if it has valid contents.
However, if you accidentally clicked on the 'Restore E2B partitions' button and had a grub4dos drive selected which was not an E2B USB drive, it would restore LBA1 automatically. This is usually OK as long as you did not re-partition the drive since the time that you installed grub4dos to the MBR on that drive. If however, you did install grub4dos onto the drive and then re-partitioned the drive, the LBA1 grub4dos backup would no longer be valid and Switch_E2B would write the old MBR sector to the MBR, thus losing your new partitions!
Thanks to DevaDev for reporting this when he tried it on a non-E2B USB drive!
v0.1.58 now just informs you if LBA1 is a valid MBR, but it does not restore it for you, in case you are using Switch_E2B on a non-E2B drive by mistake
No comments:
Post a Comment