Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have two hard drives. One has sector errors on its second partition and locks up whenever I try reading or writing data, but the first partition (the system one) is clear... so far (chkdsk confirms). Since I know from experience that when drives start throwing errors it means they're on their way out, I used DD to copy sda1 (first partition) onto sdb1 (partition 1 of the other drive).
I then zapped the second drive's MBR (using DD again), and used Acronis Disk Director (under Windows) to recreate it from the data on the disk.
It worked, and now the second hard disk is seen perfectly if I connect it with a USB cable (i.e. I can read and write data), the files and folders are perfectly mirrored and chkdsk reports no errors; however, connected in place of the original boot drive, the computer doesn't boot. I checked that the partition has the boot flag, and it has.
What sort of interface connects the disk drive to the computer?
If you have the older parallel ATA (also known as IDE) there may be configuration jumpers on the disk drive which assign it to be "master" or "slave" devices.
The BIOS in some computers permits selection of any drive as the boot drive.
Does the drive have an activity indicator LED? If so, and if it is visible, does the indicator light up when you are trying to boot from it?
There (apparently) are ways of making NTFS bootable from a different drive than what it was originally on. Too much screwing around for me - even the linux-ntfs folks warn against it.
Linux is accommodating, Windoze ain't. Simple as that.
Well, colour me stupid. I didn't restore the MBR - I just restored the partition table. Booted off the Windows CD, selected rescue, ran fixmbr, and now it works.
*sigh*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.