SCSI + IDE

 

Home
HOWTOs
FreeS/WAN & Debian
Kernel 2.2.12->2.2.20
RH 7.1 Thinkpad A21m
RH 7.2 Thinkpad A21m
SCSI + IDE
System
RedHat 6.1 with custom 2.2.12-20 smp kernel
IBM Intellistation Z-Pro 6899
Dual Pentium Pro 200MHz
64MB RAM
4.5GB SCSI HD
3 GB EIDE HD
Why?
I wanted to test booting from the SCSI HD with EIDE drive(s) installed before attempting the addition of dual EIDE drives for RAID storage.
I didn't want to have to reinstall Linux.  This system has been very stable -- if it works, don't fix it :)
The EIDE drive to be added was formatted with NTFS and there was data which I wanted to recover.  While I could have just booted from this drive to recover the data, I thought I would try out the NTFS driver I found instead.
System Requirements
LILO must be installed.
BIOS must support booting from the SCSI drive even if IDE drivers are present.
Getting the system to boot from the SCSI drive and see the EIDE drive.
First thing to do is create a boot disk if you don't already have one.  Make sure it works!
Put a floppy in the drive.
fdformat /dev/fd0H1440
/sbin/mkfs.minix /dev/fd0 1440
/bin/mount /dev/fd0 /mnt
cd /mnt
mkdir etc dev boot
cp -a /boot/vmlinuz /boot/initrd /boot/*.b boot/
cp -a /dev/fd* /dev/null /dev/zero /dev/hd[abcd]* /dev/sd[abcd]* dev/
Create /mnt/etc/lilo.conf
# LILO configuration file
initrd=/boot/initrd
boot=/dev/fd0
vga=normal
read-only
prompt
timeout=100
image = /boot/vmlinuz
    root = /dev/sda1  #Whatever the current root is!
    label = linux
lilo -r /mnt
cd /; umount /mnt
Test the boot floppy by rebooting!
Edit lilo.conf
   Add the following up towards the beginning
disk = /dev/sda
    bios=0x80
disk = /dev/hda
    bios=0x82
Add the EIDE drive
Shutdown the system.
Install the EIDE drive.  I added mine to the secondary EIDE controller.
Reboot the system and go into the BIOS settings.
Change the boot order so that it will boot Hard Drive 1.
Reboot the system.
Upon the first start up, the system will probably ask you what to do with the new hardware.  Let it configure it.
RedHat includes /usr/bin/idetool which will show you the parameters for the new IDE drive.  However, it will not show you what device the drive is.
RedHat also includes /usr/bin/kcminfo which will show the device.  Look under the Partitions tab.
Adding NTFS support
Download ntfs driver from http://www.informatik.hu-berlin.de/~loewis/ntfs/ntfs-990831.tgz
Extract the source somewhere.
Change into the source directory.
Make and install the driver (see the INSTALL and README files.)
Create a mount point
mkdir /nt
Try mounting the drive
mount -t ntfs -oumask=0 /dev/hdc1 /nt
Or make mount
Other resources
The NTFS driver for Linux
SUSE:  Boot (E)IDE and SCSI
SUSE:  How to create a system boot disk
Filesystems HOWTO
 

Copyright 2001, John Corrigan

Last Modified: 12/01/2001 08:02:04 PM