LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-07-2010, 03:20 PM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
DDed partition - now system doesn't boot


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 do I do to convince it to boot from drive 2?

Thanks.
 
Old 05-07-2010, 05:03 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Have you updated your Grub/Lilo config in order to reflect those changes you have made? Specially the root path to your kernel image to load.
 
Old 05-07-2010, 05:06 PM   #3
ArthurSittler
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 124

Rep: Reputation: 31
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?
 
Old 05-07-2010, 06:43 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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.
 
1 members found this post helpful.
Old 05-10-2010, 04:57 PM   #5
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
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*

Thanks anyway.
 
Old 05-11-2010, 03:41 AM   #6
ArthurSittler
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 124

Rep: Reputation: 31
Thanks for reminder about fixmbr

Thanks for the reminder about using fixmbr. That can be the solution when lilo won't install and the system won't boot from hard drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot boot O.S. in two-hdd four-partition system. stf92 Linux - Software 3 12-12-2009 04:24 AM
Partition problem with dual boot system senseney Linux - Laptop and Netbook 3 01-19-2006 04:51 PM
Mysterious F: partition on dual boot system bigoli Linux - Software 2 01-21-2005 12:15 PM
Used Acronis to resize a partition now the system won't boot high_hopes Linux - Newbie 3 07-12-2004 01:33 PM
Dual boot/Partition file system Gryphix Linux - Newbie 2 09-18-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration