Linux_SATA_GUI_installation

# Installing Drivers for Linux RedHat 7.2 to 8.0

1. OVERVIEW

This driver disk adds support for SiI3112 SATARaid controller that is otherwise not supported by the RedHatLinux installation program. Supported RedHatLinux versions: * RedHatLinux 7.2, 7.3, and 8.0.

2. INSTALLATION

2.0 For detailed information about RedHat installation visit:

http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/install-guide

2.1 Preparing driver disk

2.1.1. Windows

Dump sii3112r.img file into a floppy disk:

rawrite.exe

sii3112r.img

A:

tips: You can get rawrite.exe from RedHat installation disk #1

"\dosutils" directory.

2.1.2. Linux

Extract the contents of sii3112r_rhdd.tgz file to a formatted floppy disk.

or

Dump sii3112r.img file into a floppy disk.

dd if=sii3112r.img of=/dev/fd0

2.2 Steps for first-time installation:

*RedHatLinux7.2*

Step1 Boot from the RedHatLinux CD 1 or a boot diskette that you have created.

(Refer to "The Official Red Hat Linux x86 Installation Guide" see 2.1)

Step2 At the "Welcome to Red Hat Linux ..." installation screen, a

prompt labeled "boot:" will appear at the bottom of the screen.

For installation in graphical mode:

At the prompt type "linux dd" or "expert" and press the enter key.

For installation in text mode:

At the prompt type "linux text dd" or "expert text" and press the

enter key.

Step3 Select "Yes" at the "Do you have a driver disk ?" .

Step4 When the screens prompts for "Insert your driver disk and press OK to

continue" insert the driver diskette in the floppy drive and select

"Ok".

Step5 The installation program will automatically load the SiI3112rl driver into

kernel. Continue installing your system.

Note, all ATA/ATAPI devices connected to SiI3112 controller will be

presented as a SCSI devices.

Step6 At the "Congratualations" dialog press Ctrl+Alt+F2 for switching to shell

prompt. Enter the following commands at shell prompt:

#mount /dev/fd0 /mnt/floppy

#/mnt/floppy/setup-sii3112r

in case of DOS formatted floppy

#mount -t vfat /dev/fd0 /mnt/floppy

#sh /mnt/floppy/setup-sii3112r

Step7 If you are installing RedHatLinux in graphical mode: press the Ctrl+Alt+F7

to return to the graphical display. Select Exit to finish installation.

If you are installing RedHatlinux in text mode: press the Ctrl+Alt+F1 to

return to the text installation screen. Press enter to finish

installation.

*RedHatLinux7.3 and 8.0*

Step1 Boot from the RedHatLinux CD 1 or a boot diskette that you have created.

(Refer to "The Official Red Hat Linux x86 Installation Guide" see 2.1)

Step2 At the "Welcome to Red Hat Linux ..." installation screen, a

prompt labeled "boot:" will appear at the bottom of the screen.

For installation in graphical mode:

At the prompt type

"linux expert"

and press the enter key.

For installation in text mode:

At the prompt type

"linux expert text"

and press the enter key.

Step3 Select "Yes" at the "Do you have a driver disk ?" .

Step4 When the screens prompts for "Insert your driver disk and press OK to

continue" insert the driver diskette in the floppy drive and select

"Ok".

The installation program will automatically load the SiI3112rl driver into

kernel. Note, all ATA/ATAPI devices connected to SiI3112 controller will be

presented as a SCSI devices.

Step5 Continue installation.

2.3 Steps for installing into an Existing system:

*RedHatLinux7.2*

Step1 Get driver "sii3112rl.o" from SiI3112rl Driver Disk by issuing commands :

# mount /dev/fd0 /mnt/floppy

# /mnt/floppy/load-sii3112r

The shell script "load-sii3112r" will load driver in the system and

will create initrd image.

Step2

If using LILO boot loader:

a) Modify /etc/lilo.conf file similar to the example

EXAMPLE:

(before modification)

image=/boot/vmlinuz-2.4.7-10

label=linux

read-only

root=/dev/hda1

(after modification)

image=/boot/vmlinuz-2.4.7-10

label=Red Hat Linux SiI3112rl

read-only

root=/dev/sda1

initrd=/boot/initrd-2.4.7-10.sii3112rl

b) Update new configuration of Lilo by the next command:

/sbin/lilo

If using GRUB boot loader:

Modify /boot/grub/grub.conf file similar to the example

EXAMPLE:

(before modification)

title Red Hat Linux (2.4.7-10)

root (hd0,1)

kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda2

(after modification)

title Red Hat Linux SiI3112rl

root (hd0,1)

kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/sda2

initrd=/boot/initrd-2.4.7-10.sii3112rl

Step3 Flush filesystem buffers

#sync

Step4 Reboot the system

#reboot

Step5 Select in boot loader menu item "Red Hat Linux SiI3112rl"

Step6 If the system reports about swap failure, please,

modify /etc/fstab file similar to the example:

EXAMPLE

(before modification)

/dev/hda3 swap swap defaults 0 0

(after modification)

/dev/sda3 swap swap defaults 0 0

*RedHatLinux7.3*

Step1 Get driver "sii3112rl.o" from SiI3112rl Driver Disk by issuing commands :

# mount /dev/fd0 /mnt/floppy

# /mnt/floppy/load-sii3112r

The shell script "load-sii3112r" will load driver in the system and

will create initrd image.

Step2

If using LILO boot loader:

a) Modify /etc/lilo.conf file similar to the example

EXAMPLE:

(before modification)

image=/boot/vmlinuz-2.4.18-3

label=linux

read-only

root=/dev/hda1

(after modification)

image=/boot/vmlinuz-2.4.18-3

label=Red Hat Linux SiI3112rl

read-only

root=/dev/sda1

initrd=/boot/initrd-2.4.18-3.sii3112rl

append="ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0

ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0"

b) Update new configuration of Lilo by the next command:

/sbin/lilo

If using GRUB boot loader:

Modify /boot/grub/grub.conf file similar to the example

EXAMPLE:

(before modification)

title Red Hat Linux (2.4.18-3)

root (hd0,1)

kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda2

(after modification)

title Red Hat Linux SiI3112rl

root (hd0,1)

kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/sda2 ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0

initrd=/boot/initrd-2.4.18-3.sii3112rl

Step3 Flush filesystem buffers

#sync

Step4 Reboot the system

#reboot

Step5 Select in boot loader menu item "Red Hat Linux SiI3112rl"

Step6 If the system reports about swap failure, please,

modify /etc/fstab file similar to the example:

EXAMPLE

(before modification)

/dev/hda3 swap swap defaults 0 0

(after modification)

/dev/sda3 swap swap defaults 0 0