LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-02-2005, 12:30 PM   #1
atlaika
Member
 
Registered: Oct 2005
Posts: 41

Rep: Reputation: 15
Question Moved hard drive with dual boot to another computer


Dual-boot with
Win XP Pro SP2 and SuSE 10.0 GM

I have just put my hard drive in to a different computer. Now neither of the systems will boot.
When I try to boot in to Windows the system will just reboot (same with safe mode etc.)
When I boot in to SuSE I get a "Kernel Panic".

Normally I have a burner as slave and I have tried with that as well but no good. Seems like the boot loader has changed. As said all I have done is move the hard drive from one computer to another.

Please ask for any information you need I didn't want to make a long story with needless info.

Please help thank you.
 
Old 11-02-2005, 01:17 PM   #2
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Linux in general doesn't like to be moved from it's home system to another system(or change of motherboard or CPU), unless it's a live type distro.

Was that drive the master drive on the same IDE interface(primary/secondary)?

I would suggest trying to run the installer again, and see if it has a repair function, perhaps that can re-load the boot loader. if not, try and re-install but don't format the drive, just tell it to install over, it should overwrite the / config files and you should be good to go.

Now that's how I would do it, that's much simpler to me than trying to edit a whole crapload of files from the CL.

Now for XP, I know there's a MBR and bootsector repair function on the installation CD. get to the repair an installation commandline and try these commands fixboot and fixmbr, this will reload the XP bootloader, so you will have to re-install Grub or lilo after this, but it will hopefully correct your problem with XP.

Now i'm pretty new to linux myself, but maybe I have helped.

Perhaps someone else has some suggestions?
 
Old 11-02-2005, 01:38 PM   #3
atlaika
Member
 
Registered: Oct 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Sorry was I bit fast there. Done a bit of reading, so I guess you just can't move a hard drive like that. ;-( well lesson learned.

Thank you very most for your answer.

Quote:
Was that drive the master drive on the same IDE interface(primary/secondary)?
It was primary. Had a burner as slave.

Should I try and repair Win XP bootloader first?
Then see if SuSE have a repair option? If not then try to reinstall to get it to fix the SuSE bootloader?
Then install Grub?

edit
Just asked about the Windows part in another forum. So it seems that the OS can't adapt to the new cpu/mobo. I dunno about this stuff.
They suggest that I run a repair and then fix the bootloader.
Should I do this and then proceed as above with SuSE?

edit
SuSE has a rescue option but it will not accept my login and password?


Last edited by atlaika; 11-02-2005 at 03:25 PM.
 
Old 11-02-2005, 03:40 PM   #4
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
I'm not familiar with SuSE so can't help you there, but I know that you should try and repair windows first, then repair the Linux install. Windows always likes to overwrite changes to partition tables and the MBR.
 
Old 11-02-2005, 03:50 PM   #5
atlaika
Member
 
Registered: Oct 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Canít repair windows, I get the "blue screen" (OD) before I get to the repair option?
Think I might be screwed ;-(
 
Old 11-03-2005, 09:08 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
XP definitely cannot be moved from one computer to another. M$ protects its product by keeping a record of hardware and runs a point system whereby each hardware change scores a certain points. XP will lock up itself once the points breach a preset threshold.

You need to reinstall XP again and get it re-activated with M$ who may disallow moving computer if the XP has a OEM license limiting itself to one machine.

Linux can be moved between computers but the success rate is not universal. My guess is you may have hooked to the wrong IDE channel and so the disk designation no longer matches the installed parameter. (i.e to say you may have installed Suse in hda and now the same disk may be hdc)

The Suse may be salvageable if you get a Live CD and boot to it, check the disk partition names by typing fdisk -l and compare it with

/boot/grub/menu.lst and
/etc/fstb

of Suse.
 
Old 11-05-2005, 05:38 AM   #7
atlaika
Member
 
Registered: Oct 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Thank you for the advice.
Luckily the old box was still (barely) alive so I could fairly easy get my stuff. I simply didnít know this was such an issue. Glad my old box was still alive or I would have been in a bit of trouble. Actually I was in a stat of panic for a moment.
Even if I could have moved it and saved some of it I am guessing that it would never have become a really good solution.
So I did the easy thing and nuked it with a fdisk.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best method for dual boot with dual hard drive? aidano Linux - Software 2 11-16-2006 12:04 PM
Dual boot on second hard drive alukardian Linux - Newbie 3 11-16-2005 08:14 PM
Installing Suse 9.1 on a dual hard drive computer jhecht Linux - Software 15 05-30-2004 10:40 AM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM
Moved my Hard Drive, now need HELP! dougp25 Linux - General 3 03-17-2004 11:55 AM


All times are GMT -5. The time now is 07:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration