| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-26-2003, 01:38 PM
|
#1
|
|
Member
Registered: Sep 2003
Distribution: LFS6.1, FC3, RH9
Posts: 32
Rep:
|
How to move Linux OS to differnent computer?
What is the easiest way to move a Linux systems' discs a new computer, and get it to recognize the new hardware?
I have a Red Hat Linux system that I need to move from one computer to another. The new harware has a new motherboard and a different SCSI controler.
I thought I could just move the disk to the new computer and perform an "upgrade" installation and the install would recognize the new hardware and be done with it.
The upgrade install went fine, but when I rebooted it failed. I noticed that the system is still trying to load the old SCSI modules. Obviously the "upgrade" install did not notice that there was different hardware, so it continued to use the old hardware drivers.
There must be a way to quickly restore a system when hardware fails, but the hard disks are fine. We can't be expected to have an identical computer lying around, can we?
- Joe
|
|
|
|
09-26-2003, 03:27 PM
|
#2
|
|
Member
Registered: Mar 2003
Posts: 126
Rep:
|
In general, chkconfig --level 345 kudzu on will make sure kudzu (the hardware detector) is activated during boot. Then just pull the harddrive out, install in the new machine and boot 'er up. It should recognize that old HW is gone, and new kit is present.
for your SCSI issues, edit /etc/modules.conf and remove and kernel modules for SCSI. If you passed any arguments to the kernel at boot time, you may need to remove these from /boot/grub/grub.conf
|
|
|
|
09-26-2003, 06:30 PM
|
#3
|
|
Member
Registered: Sep 2003
Distribution: LFS6.1, FC3, RH9
Posts: 32
Original Poster
Rep:
|
At this point I think I have just the SCSI issue. The systems is still trying to load the old SCSI card driver.
I changed /etc/modules.conf to reflect the new SCSI module (i.e. alias scsi_hostadapter aha1542), and made sure that aha1542.o was in /lib/modules/<kernelversion>/kernel/drivers/scsi/.
Here is the part of the boot up screen when it gets to loading the SCSI driver:
...
Loading scsi_mod module
SCSI subsystem driver Revision: 1.00
Loading sd_mod module
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Loading aic7xxx module
/lib/aic7xxx.o: init_module
Hint: insmod errors can be caused by incorrect module parameters, including inva
lid IO or IRQ parameters
ERROR: /bin/insmod exited abnormally!
...
I don't know where it is getting the idea to load aic7xxx, when the existing hardware is aha1542. Is this stored in the boot image that grub calls when loading the kernel? Shouldn't the upgrade process have realised that the new scsi adpater was the aha1540, and replaced whatever was used previously in the boot partition?
- Joe
|
|
|
|
09-26-2003, 11:00 PM
|
#4
|
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: Linux Mint 12
Posts: 2,838
Rep:
|
Quote:
|
What is the easiest way to move a Linux systems' discs a new computer, and get it to recognize the new hardware?
|
Install Linux on the other computer.
While a basic text/console based install can be moved to similar hardware (ix86 to ix86; IDE to IDE and so forth) any major changes are best delt with by a new install and transfer of needed files.
If you really think it's worth the work; shutting off start to Xwindows and working to add correct drivers or options may work.
Anything hardcoded into a setup text file can be changed with a Tom's floppy or Knoppix CD.
Good Luck.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:01 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|