LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2006, 12:27 PM   #1
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Rep: Reputation: 15
Question Moving the HDD containing linux to another PC


Hello there
Okay, I need some serious and fast help here + Hardware experience.

I need to move my HDD which contains now Linux installed on it to another PC.

Is my linux going to be corrupted when it tries to start on the other PC, or it gonna identify the new hardware it finds on this new pc? Is it gonna crash or something?

And if it crashes, if i return it back to my first PC, will it run again with no problems, or the failure will be permenant???

Please advise...


...

Last edited by Dark Templar; 05-05-2006 at 12:28 PM.
 
Old 05-05-2006, 12:31 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
In my limited experience (i.e. I've done this once), it hosed things up, but not beyond repair. I had to reconfigure x, but hotplug and the hardware autodetection seemed to take care of most everything else as I recall.

Of course, it might be somewhat distro specific, and you should be careful not to change architectures or you might run into problems.

anyway, that's my

If you're really worried about it, I would try to make an exact image of your HDD onto another drive. That way if something bad does happen, you can recover...
 
Old 05-05-2006, 12:36 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Also search these forums, I'm sure someone else has tried this.

Another thought I had is that you might have to recreate either lilo or grub's device map to make sure everything is identified properly for the bootloader. But you should be able to fix this with any live CD...
 
Old 05-05-2006, 12:36 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I have done this before and it worked without any problems. Its even easier if you are moving the drive to a machine with similar specs.
 
Old 05-05-2006, 12:43 PM   #5
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
You might find issues if its another motherboard because of memory mapping with the boards to be different in the OS. Also little things like video drivers and your network might not work right away until you configure it for the new mac. could you use a livecd for you new machine?

J
 
Old 05-05-2006, 12:44 PM   #6
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Thumbs up how to take an image

Okay guys, thanks both ,
for you pljvaldez , you said that i can make a copy or image of my linux partition. HOW?? Is it just a copy and paste on a DVD or should i use a specific software for making and burning this image?

for you reddazz , i'm glad that you've tried it, but i think i should be always prepared for the worst cases. Life has taught me that (and my job as well )

Last edited by Dark Templar; 05-05-2006 at 12:50 PM.
 
Old 05-05-2006, 12:49 PM   #7
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by hockeyman_102
You might find issues if its another motherboard because of memory mapping with the boards to be different in the OS. Also little things like video drivers and your network might not work right away until you configure it for the new mac. could you use a livecd for you new machine?

J


Unfortunately, my pc's MB is MSI, while the other pc is GigaByte, i guess
Also the mac problem might be faced

What is liveCd?

Also, if my system fails to start, can i use the rescue cd ?
I forgot to tell you i'm using fedora core 4
 
Old 05-05-2006, 12:58 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by Dark Templar

...for you reddazz , i'm glad that you've tried it, but i think i should be always prepared for the worst cases. Life has taught me that (and my job as well )
Many things can go wrong, but because you are using FC, chances of this are really slim because Fedora Core has a good hardware detection tool called Kudzu which runs at boot time (if you haven't disabled it). When I moved my hard drive to another system (I had FC3 installed on the drive), the motherboard and network cards were not exactly the same but everything worked fine. Kudzu prompted me to accept the hardware changes and my network card worked without any reconfiguration (using dhcp).
 
Old 05-05-2006, 01:05 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Moving a hard drive from one machine to another ususally is totally straightforward, as long as the same drive position is maintained, meaning that (for example) if the drive in the original machine was the primary master, it needs to be the primary master in the target machine as well.

Otherwise though, the only other gotchas might be that the kernel modules that are needed on the target machine are different than those on the source machine. If so, you may need to manually load them (using the modprobe command). I'd suggest just giving it a try and seeing how it goes. Worst case is that it doesn't boot up, and you can just return the drive to the original machine. Good luck with it and welcome to LQ
 
Old 05-05-2006, 01:07 PM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's some backup utilities. Haven't used any of them. Typically I only keep the files I want backed up (not afraid of losing all my configurations) so it's not a lot of space and I just use K3b to copy the files I want to CD. Also there's things like Norton Ghost, and linux equivalents, Partition Image, g4u, and Mondo.

As for a LiveCD. A live CD is a linux that runs off a CD/DVD. It's a bit slower than a hard drive install, but lets you run linux on any PC without touching the hard drive (great when you want to use linux on a library computer). The most famous is probably Knoppix, although there's several others.

Last edited by pljvaldez; 05-05-2006 at 01:09 PM.
 
Old 05-05-2006, 01:08 PM   #11
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
you can download livecd's (or livedvds) of just about any distro - basically you set your bios to boot from cd. download, burn the iso, and stick it in the drive. It will load up a version of linux to your ramdrive (not touching your hd except maybe a swap) so you can evaluate hardrives in the system with full control or play with linux w/o an entire install.

i'm having trouble touching novell.com, or i'd give ya a link to a suselivecd.iso If you google 'suse livecd' its the second link down.

here are some mirrors:
http://iso.linuxquestions.org/version.php?version=42

and here is a good site:
http://www.frozentech.com/content/livecd.php

apparently:
Quote:
..in the April 2005 Linux Journal there is an article on how to make a FC4 Live CD yourself.
the mac problem can be overcome. may i ask why you are not buying a new harddrive for your machine?
 
Old 05-05-2006, 01:11 PM   #12
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Arrow Kudzu

Quote:
Originally Posted by reddazz
Many things can go wrong, but because you are using FC, chances of this are really slim because Fedora Core has a good hardware detection tool called Kudzu which runs at boot time (if you haven't disabled it).


well, how do i know that my KUDZU is running or it not disabled in other words?
And if it is disabled, how do i enable it??????

Thanks for your "welcome" J.W.
 
Old 05-05-2006, 11:08 PM   #13
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Exclamation the real reason for my problem

Quote:
Originally Posted by hockeyman_102
the mac problem can be overcome. may i ask why you are not buying a new harddrive for your machine?


Well, that's because i have to take my HDD to my college's LAB, because we are using some licensed electronic circuit design tools and the problem is that i can't access the LAB from my home do to some connection problems with it.

These tools are installed on my HDD, and i want everything to be on it .
 
Old 05-06-2006, 01:28 AM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by Dark Templar

well, how do i know that my KUDZU is running or it not disabled in other words?
And if it is disabled, how do i enable it??????

Thanks for your "welcome" J.W.
If you did not disable it, then it should be enabled by default. You can check by doing
Code:
#chkconfig --list | grep kudzu
You should get something like,
Code:
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
 
Old 05-06-2006, 02:31 PM   #15
Dark Templar
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Kudzu is ONLINE

I did what you told me reddazz and i guess the KUDZU is ONLINE.

So, i also guess that nothing gonna be wrong, isn't it? I hope so
 
  


Reply



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
Moving my Linux OS to a second HDD, want to make sure I don't kill anything EOHooligan Linux - General 6 06-05-2005 02:54 AM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 10:34 PM
moving linux hdd from one system to another Crazy Joe Davol Linux - Hardware 1 08-23-2004 03:26 PM
Moving linux->New HDD: LILO trouble! tredegar Linux - Newbie 11 12-31-2003 11:50 AM
moving /var to a new hdd freelinuxcpp Linux - Software 4 11-02-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:57 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