There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Move installed linux to new machine

Reply  
Thread Tools
giaegon's Avatar
Junior Member with 3 posts.
 
Join Date: Nov 2004
Experience: Intermediate
12-Nov-2004, 08:17 PM #1
Question Move installed linux to new machine
I have a hard drive with Redhat Linux 7.3 install and running fine on one machine. Now I want to move the hard drive to a new machine without new installation, is it possible? If yes, how can I do it?

I have tried to move it directly to the new machine without changing any configuration, and the machine reboot after I click the Redhat Linux on the GRUB screen. Can anyone help me with this problem?

THANKS!!
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
12-Nov-2004, 09:15 PM #2
Yes it can be done but you need to edit the /etc/X11/xorg.conf to pick a display driver suitable for the new machine. Also you hard disk partition reference should remain the same, i.e. hda in the old machine and hda in the new PC.

You can use Red Hat installation disk in rescue mode to chroot into the distressed Linux and edit the system files.

I have transferred a hard disk with a XP and 16 Linux from one PC to another. Only XP died all the other 16 distros fired up again. Usually just one line in the "device" section of /etc/xorg.conf to edit. You should find Red Hat re-adjusting the hardware as it detecting the new environment.
giaegon's Avatar
Junior Member with 3 posts.
 
Join Date: Nov 2004
Experience: Intermediate
12-Nov-2004, 09:39 PM #3
Thanks, Saikee. I was able to use the CD to boot in rescue mode, but i can not find the file "/etc/X11/xorg.conf" you mentiioned about.

THANKS!!
Whiteskin's Avatar
Senior Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
12-Nov-2004, 11:12 PM #4
And, you will have to install a new kernel, or at least move to a generic kernel. Chances are that when it rebooted in the new machine, it's because the kernel was oopsing because of new hardware. So, what I reccomend, is back up all your important files (/home, /etc/), then reinstall redhat from the new machine.

If you feel like a challenge, you could boot the rescue cd, chroot into your old drive, and recompile/install a kernel from there, but that could end up being more work than a reinstall.
__________________
emerge world_domination;
Smart Questions gentoo
Ubuntu
linux google:Shiny!
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
13-Nov-2004, 05:34 AM #5
RH 7.3 came out in 2002 and if your hardware is newer than that, well that dog wont hunt.
You cant expect the installed version on that hard drive to magically configure hardware that did'nt exist when 7.3 came out.
If it's older than 4-6 months since RH 7.3's release date then Kudzu would probably recognized all the new (read; different) hardware and re-configure everything.
I've done that before and it will work, but the version of RH your using must have support for the hardware.
HTH
lynch
__________________
seldom right,but never in doubt...
Here's a few links I find helpful:
Intro to Linux:A Hands-on Guide
USALUG
A little Linux help
OpenSUSE help+
Bash Commands
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
13-Nov-2004, 06:54 AM #6
/etc/X11/xorg.conf is used by recent versions of Red Hat and Fedora. It can also be named /etc/X11/XF86Config-4 or just /etc/X11/XF86Config if there isn't one ending with -4.

I have moved Linux from PC to PC, hard drive to drive and partition to partition and so far managed without installing a kernel separately.

Lynch got a good point as my Red Hat is version 9.
giaegon's Avatar
Junior Member with 3 posts.
 
Join Date: Nov 2004
Experience: Intermediate
22-Nov-2004, 06:07 PM #7
Thanks everybody! I have solved the problem, RH is pretty smart actually. It has detected the hardware change and configure new hardware without problem. The problem that i had is just hardware issue. Nothing to do with Linux :-)
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:00 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.