As I suspected: running UEFI with a MBR (or some hybrid) (not a GPT).
-- fix what, exactly?
Problem is, it seems to be the bad HDD -- it is the show-stopper for this "bad" laptop. Running Boot repair can also present problems. It should be run in UEFI mode, 64-bit (since your PC runs that way); if you boot in Legacy mode to try to fool Boot Repair, you might have a problem -- it might fool you back with some legacy fix that you don't want.
The problem is: if you replace the bad HDD into the bad laptop and boot up, there's an issue, right? Even though the bad laptop seems to boot OK without the bad HDD in it.
Is there anything I can do with Gdisk, Testdisk, or Fdisk to fix this?
By switching the boot mode to Legacy, I can boot from a liveCD. I'll toy with it and run some tests with the suspect HDD plugged into the broken laptop.
The problem is: if you replace the bad HDD into the bad laptop and boot up, there's an issue, right? Even though the bad laptop seems to boot OK without the bad HDD in it.




I had concluded that the bad HDD was using a MBR, not a GPT -- gdisk says there is no GPT. But then this EFI-GPT stuff pops up again. Btw, in a GPT, ALL partitions are primary. None are bootable. BUT, in EFI booting, one GPT partition is special, the EFI System Partition -- the ESP. It is small, 100-500 MB, FAT32, and may have a "boot" flag on it or type EF00 (a "boot" flag does not mean the same thing as"bootable" as we are used to with MBR; it is only a flag to indicate type EF00 or ESP). I was hoping to see all this when you ran sudo gdisk -l /de/sdx, where sdx = the bad HDD. You may have some sort of hybrid MBR-GPT, I'm not sure.
, but except for that cryptic message from TestDisk re a damaged sector (relative, I believe), I'm not sure what you have to fix here. Maybe that sector IS damaged! Would that cause all this? Starman tells you what that relative sector is, if you read carefully. Starman does neat work, I learned a lot from him doing GRUB Legacy with MBR, I hope he finishes that page I linked to above.
Comment