LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-17-2003, 11:30 AM   #1
mantat
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat8.0
Posts: 12

Rep: Reputation: 0
Problems in moving RH7.3 to a new machine


I just bought a brand new PIV 2.54GHz machine, to replace my old PII 500MHz Redhat 7.3 server, to save times, i use the following method to copy the linux to the new machine,

1. have the HDDs in the new machine partitioned
2. boot with a timos rescue cdrom in the new machine (http://rescuecd.sourceforge.net/download.html), with ssh support
3. mount the fs, write a script to copy everything from the old machine to the new one
4. chroot and run grub-install

everything run just fine with my way,

But there is a big problem i encountered, the new machine is runnning RAID 5, with a 3ware RAID card, the old machine is running raid0+1, with aic7xxx module.

When the system boot, the kernel load the aic7xxx scsi module, that made the root file system (/dev/sda1) of the new machine cannot be recognized, and cause a "Kernel panic" error.

How can i change the module that the kernel load to 3w-xxxx instead of aic7xxx while the system boot up?

I have tried to modify /etc/modules.conf, but no use, since this file seems to be load after the root fs is mount.

May anyone here help me to troubleshoot this problem??
Many thanks.
 
Old 06-17-2003, 10:12 PM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..


Add the necessary modules in the modules.conf. after that create the initrd.

mknitird


Copy the initrd to boot directory and create one more profile in the Grub.conf. It will boot.

Also duly check once your fstab.

Siddqiu.T
 
Old 06-17-2003, 10:18 PM   #3
mantat
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat8.0
Posts: 12

Original Poster
Rep: Reputation: 0
You mean, from my old machine, add the following line to /etc/modules.conf

alias scsi_hostadapter 3w-xxxx


then run mkinitrd to create a new initrd and transfer to my new machine?

Last edited by mantat; 06-17-2003 at 10:19 PM.
 
Old 06-17-2003, 10:19 PM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Yes..

Siddiqu.T
 
Old 06-17-2003, 10:22 PM   #5
mantat
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat8.0
Posts: 12

Original Poster
Rep: Reputation: 0
ok, i try it now, thanks
 
Old 06-18-2003, 08:38 AM   #6
mantat
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat8.0
Posts: 12

Original Poster
Rep: Reputation: 0
It work!! Thanks a lot
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving accounts from a machine to another machine eyt Linux - Newbie 3 10-01-2003 02:06 PM
Problems in moving RH7.3 to a new machine mantat Linux - General 3 06-18-2003 11:44 AM
Problems in moving RH7.3 to another machine mantat Linux - Software 1 06-17-2003 01:25 PM
How to connect a notebook (win2000) via USB to RH7.2 machine ? salman Linux - Networking 2 01-14-2002 01:05 PM
How to set the machine name in RH7 and SuSE? concoran Linux - Networking 1 11-08-2001 11:03 PM

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

All times are GMT -5. The time now is 04:30 AM.

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