Re: Putting my HD In a new machine?

From: Robert Heller (heller_at_deepsoft.com)
Date: 06/12/05


Date: Sun, 12 Jun 2005 05:40:32 +0200


  "Dave Best" <david.bestNOSPAM@sympatico.ca>,
  In a message on Sun, 12 Jun 2005 18:08:55 -0400, wrote :

"B> Hey all,
"B>
"B> I have a 'newer' machine i'd like to use for my linux server.. Whats the
"B> process for moving my current HD into the new machine?
"B>
"B> Any advice?

Is it a SCSI or IDE or SATA disk?

If IDE, you should just be able to install the old disk in the new
machine and things should just work.

If SCSI, you need to update the initrd to include the driver module for
the new machine's SCSI controller, if it is different.

Ditto for a SATA disk.

Updating the initrd is fairly easy. *Before* you shutdown the old
machine, update your /etc/modules.conf to include an *additional*
'alias scsi_hostadapter ...' line with the name of the new machine's
SCSI controller (don't remove the *existing* 'alias scsi_hostadapter
...' line!).

Note: if the new machine uses the *same* SCSI/SATA driver module, you
don't need to mess with modules.conf and can skip to moving the disk
right now.

Then re-run mkinitrd with the -f option:

mkinitrd -f /boot/initrd-`uname r`.img `uname -r`

If you are using LILO, re-install it:

lilo -v

Now you can shutdown and move the disk to the new machine. On the
first boot it will complain about a 'missing' SCSI controller (your old
machine's SCSI or SATA controller). If you put the 'right' thing in
/etc/modules.conf, it will also load the module for the new SCSI/SATA
controller and boot up normally. Once you are *sure* you don't need
boot with the old machine, you can edit /etc/modules.conf and remove
the old machine SCSI controller and re-build the initrd again.

If you are using a hardware RAID controller, you should move the RAID
controller with the disk(s).

Oh, if you have things like a Ethernet controller, etc. you'll need to
update the drivers loaded (/etc/modules.conf), but you can do this
*after* the machine boots (probably should boot single user). For a
*server* you probably don't have a sound card and are probably not using
the X server, but if you are, you'll need to update these driver modules
as well. (Kudzu might do all of this automagically.)

"B>
"B> tnx!
"B>
"B> --
"B> ----
"B> david.best@sympatico.ca
"B> "Thanks to the remote control I have the attention span of a gerbil!"
"B> "There are 10 types of people in the world. Those who understand binary,
"B> and those who don't."
"B>
"B>
"B>

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

          



Relevant Pages

  • Re: New SATA hard drive not being detected
    ... powering on the PC (or doing a warm boot). ... Another possible problem is that the SATA controller may also be a RAID ... partition and format the disk. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Read Zenith 396-25 MS-DOS hard drive on OS/2?
    ... 'standard' SCSI hard drive against an Adaptec 2940U2W controller for it. ... the IDE chipsets on the motherboard are enabled will boot from the SCSI hard ... drive, the CD-ROM drive to a command prompt, or from the Floppy DIsk Utility ... If I disable the floppy drive controller on it I ...
    (comp.os.os2.setup.storage)
  • Re: Windows 2000 issue on Highpoint 370 RAID controller
    ... I wonder what Norton Disk Doctor did... ... What happens - or should happen - when you boot is that BIOS decides what ... controller is the first one, either the Highpoint or your IDE controller. ... >which disk to use and when it reaches the point of polling the drives to ...
    (microsoft.public.win2000.hardware)
  • Re: Windows 2000 issue on Highpoint 370 RAID controller
    ... I wonder what Norton Disk Doctor did... ... What happens - or should happen - when you boot is that BIOS decides what ... controller is the first one, either the Highpoint or your IDE controller. ... >which disk to use and when it reaches the point of polling the drives to ...
    (microsoft.public.win2000.setup)
  • Re: Northstar Horizon and Socor IQ130 HELP
    ... the NorthStar controller, with some limitations because the NS ... because it was a NS boot rom that expected a NS disk controller. ... have simply been disabled so that the DJ could use it's own boot mechanism. ...
    (comp.os.cpm)