Need to patch the MBR on /dev/sda
I have a multi boot system with ubuntu running in /dev/sda5 and WinXP running in /dev/sda2. /dev/sda1 is the dell utility partition and /dev/sda3 was a playground where I tried various other OS'es. ubuntu swap is /dev/sdb5, and my common shared data partition was /dev/sdb1. All of this was being managed by Partition Magic 8.0 on two 250gb SATA drives.
Knowing that Partition Magic 8.0 does not run under Win7, I preallocated a 64 gb /dev/sda3, hoping to not need PM 8.0 for awhile. (I found out later that PM has been discontinued.) I installed Win7 on /dev/sdb3 and the install blew away grub, as expected, but it also changed something in the /dev/sda3 partition table down in the /dev/sda MBR, making PM complain about an error, and then display error status for the entire drive. PM said it could "fix it", and after thinking and making backup copies of everything (except for the partition table, that is), I let PM "fix" the error. At that point, the error went away, but the bad drive status is still there, and now Norton Ghost complains that it can't reconcile backup points.
I found out exactly what changed on the MBR, and I want to change it back, with the assumption that PM is wrong, and Win7 is right. How do I do that. I have been looking for disk editors all day. I can get into GParted from the LiveCD disk but I'm afraid that it won't make the right change. I want to make a very specific two byte change and then get some other tool, like Acronis.
Before I blow everything away and start from scratch, restoring from backup - yes, I have backups - thank you - is there a simple way to edit the MBR while running the LiveCD? I think dd is the way to go, but the documentation is weak, and the risk is strong. (Problem is that the effort to reinstall, even from backup, is large.) Thanks.
Alex S.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alex S for more information if necessary.