SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux)
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux)
Hello all LIinux Expert, i have a strange problem where the SATA hard disk MBR is corrupted by Linux Grub Boot loader. When i forgot to set priority of hard disk in BIOS , the MBR of SATA is couurpted by IDE(Linux). Now, the problem is solved but i want to know the reason.
Thanks for your help.
Your help is greatly appreciated by me and others.
When i forgot to set priority of hard disk in BIOS , the MBR of SATA is couurpted by IDE(Linux).
Wasn't it that?
No, really - what did happen exactly? MBR (Main Boot Record) is the first 512 bytes of the harddisk. So..originally on the SATA drive there was something, and then happened something and GRUB did something. Now what are those 'something's? Did GRUB install itself to the SATA drive instead of the IDE drive or what?
A good practise is, when modifying bootloaders, to backup the MBRs of harddisks. It's simply done with dd.
1. the SATA hard disk MBR is corrupted by Linux Grub Boot loader
2. the MBR of SATA is couurpted by IDE(Linux)
Which is it?
When you install linux, you are given an option to install GRUB to different places. Normally you would want to install to the MBR of the drive that BIOS will try to boot from. So it is normal for GRUB to write to the MBR.
If a windows recovery disk is used later, it will report (incorrectly) that the MBR has been "corrupted", even declaring that a virus is in there. This is because Windows will assume that it is the only OS on the computer. "Fixing" this with Windows fixboot will break your installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.