Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-11-2004, 11:21 PM   #1
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
can i move my hard drive to a different computer

can i move my hard drive to a similar computer and have linux work?

possibly haveing to reinstall drivers for certain stuff like cd card

or would i have to recompile the kernel
or would i just have to do a fresh install?
Old 04-11-2004, 11:33 PM   #2
LQ Newbie
Registered: Apr 2004
Location: U.S.A.
Distribution: Slackware 9.1, Astaro
Posts: 13

Rep: Reputation: 0
Chances are, you would have to recompile/reinstall. All computers all different, and your kernel configuration/installation settings is for your computer only.
Old 04-11-2004, 11:41 PM   #3
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
yes what I would do is compile a new kernel for that system from the first computer. This would involve the full kernel recompile. refer to
it is very nice. Once you have this done you need to set it up. before you move the HD make a rescue disk so that you can boot the new machine up. move the hard drive boot the machine using the rescue disk and then install your lilo or grub. this will prove to be a very challenging task. By the way make sure the kernel boots before moving the HD. Let me know how this does.
Old 04-12-2004, 12:50 AM   #4
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I doubt you would need to recompile the kernel. If you are using a generic kernel from your distro's install, it is going to work on 99% of the computers out there (assuming the same architecture).

I have switched drives between machines many times, and never had a problem.

Last edited by MS3FGX; 04-12-2004 at 04:08 AM.
Old 04-12-2004, 12:58 AM   #5
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
yeah thats what i thought....
Old 04-12-2004, 03:30 AM   #6
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
I would recommend just putting the drive into the new PC and booting up. I'm with MS3FGX - as long as you don't have any funky equipment in your case, the default kernel is pretty much going to work. I've done this a couple of times myself, without any problems. A recompile would be useful in terms of optimizing the system, but it's unlikely that you'd truly need to do one unless that were your choice. Like I said, I'd just give it a try and see what happens. Worst case scenario is that your PC won't boot; best case is that it boots up and you've got Linux running with zero effort. -- J.W.


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
Transferring Hard Drive to Newer Computer kaplan71 Fedora 1 11-04-2005 01:32 PM
new computer old hard drive dstromberg Linux - Newbie 9 10-14-2005 10:45 AM
Hard drive dying. Need to move Linux partition over. Fear58 Linux - General 3 01-29-2005 05:14 PM
Move an existing partition to a new hard drive? vdemuth Linux - Hardware 9 06-04-2004 02:29 AM
Can I move my linux installation to another Hard Drive? enderjm Linux - Newbie 7 03-11-2004 02:00 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:43 PM.

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