[1197] in linux-scsi channel archive
Re: IDE/SCSI cohabitating
daemon@ATHENA.MIT.EDU (Ed Fletcher)
Tue Dec 31 15:04:05 1996
Date: Tue, 31 Dec 1996 11:56:42 -0800 (PST)
From: Ed Fletcher <efletch@ampsc.com>
Reply-To: Ed Fletcher <ug853@freenet.victoria.bc.ca>
To: David Greenzweig <davidg@soupy.sbi.com>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <9612311529.AA24765@soupy.doc>
On Tue, 31 Dec 1996, David Greenzweig wrote:
> Ed:
>
> The discussion about IDE/SCSI cohabitating has become very interesting to me
> because I have just upgraded my machine by adding 2940AU controller and
> Jaz drive (current installation: p-5 120, 1.2 gig quantum ide drive,
> linux 1.2.13 kernel)
>
> In order to get the 2940AU to work, had to upgrade the kernel to 2.0.27 and
> now it recognizes my controller and my jaz drive.
>
> I would like to move my current installation from the ide drive to the
> jaz drive and then remove it altogether, but I have not figured out
> how to get the filesystems on both machines active at the same
> time.
I did the shift the other way. I added an IDE drive and migrated DOS to
it from the scsi.
However, in order to get the linux filesystem onto the scsi drive from the
IDE:
1. partition the scsi drive with linix fdisk and make one partition
active, this will be your root partition (you may want more than
one partition)
2. make the new filesystem(s) (mke2fs)
3. mount /dev/sda1 somewhere (and mount any other partitions below it; ie
/usr, /home)
4. do a recursive copy (cp -rx) from / to where the scsi drive is mounted
Note: if you cannot exclude the mount point from the copy (-x),
you may have to copy each dir in / one by one
5. modify /etc/lilo.conf (on the IDE and scsi drives) to install onto the
boot sector of /dev/sda and use the kernel on the scsi and run
lilo
Note: this will leave lilo on the boot sector on the IDE. If you
have a problem, you can still boot the original disk
6. reboot. Go into the bios setup screen and set the ide hard disk to
'none'. Continue the boot sequence and you _should_ be up on the
scsi drive
7. test the system before you remove the IDE. You can then recompile a
smaller kernel without IDE support (if you want to)
/*Fine Print*/
Please be aware that I am not a guru. I am giving you the steps that I
would take, but they may have to be modified as you go along.
Having said that, it should not be too difficult a task to switch to scsi.
And even if you have problems, putting the IDE drive back into the bios
will allow you to boot the old configuration without any loss of data (as
long as you don't rewrite the mbr on the IDE).
Hope this helps.
Cheers,
Ed
--
Ed Fletcher
ug853@freenet.victoria.bc.ca