Hi,
What I did:
You need
    1) NFS server with copy of redhat cdrom :o(
    2) get patches & tools from dandelion
    3) compile a kernel with DAC960 in it, execute litt'l script to
create device inodes on compile machine
    4) copy this kernel on RH5.2 bootdisk ( compile hard just NIC,
DAC960 - smallest possible or it won't fit
onto floppy ( I got around it using superformat in 1.8Mb floppy)) as
vmlinuz
    5) on RH5.2 nfs export, replace all occurences of fdisk & lilo with
the one from dandelion
    6) on RH5.2 nfs export , create a dir DAC,  containing :
<---SNIP--->
lib/modules/2.0.36/ well here all modules...
boot/vmlinuz.dac
dev/rd/c0d0....c1d7p7 U can create more if U want...AFAIK Midnigt
Commander is a marvelous tool
sbin/fdisk & lilo from dandelion
etc/fstab & lilo.conf ( handcrafted....)
<---SNAP--->
etc/fstab (for me anyway)
<---SNIP--->
# Manually added !
/dev/rd/c0d0p1  swap  swap  defaults 1 1
/dev/rd/c0d1p1 / ext2 defaults 1 1
/dev/rd/c0d1p2 /usr ext2 defaults 1 2
/dev/rd/c0d1p5 /tmp ext2 defaults 1 2
/dev/rd/c0d1p6 /var ext2 defaults 1 2
/dev/rd/c0d1p7 /home ext2 defaults 1 2
<---SNAP--->
etc/lilo.conf (also for me ;o)
<---SNIP--->
boot=/dev/rd/c0d0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
append="linear"
default=linux
image=/boot/vmlinuz.dac
        label=linux
        root=/dev/rd/c0d1p1
        read-only
<---SNAP--->
OK Here we go....boot your floppy, check if NIC recognized & DAC...
    1) NFS install... you know, RTFM ;-)
    2) Need to get to 2nd stage install, once there, DON'T GO ANY
FURTHER !
    3) ALT-F2 Yahoooooo, a prompt !
Let's kludge a little for now....
    1) We need Device files
    2) Let's say you have created with DAC BIOS 2 RAID 5 logical disks
(I did) One for swap, other for the
rest... (small swap, big rest)
    3) Swap would be /dev/rd/c0d0p1 ( one whole part on Controller 0,
Disk 0, Partition1)
    4) The other logical DAC Disk I'll use for data & other partitions
SO....
    5) at our holy prompt we create needed device inodes....
    6) mknod /tmp/c0d0 b 48 0
    7) mknod /tmp/c0d0p1 b 48 1
    8) When now you do fdisk /tmp/c0d0 , U can create a partition ( for
me 120Mb) and tag it as swap

<---SNIP--->
fdisk /tmp/c0d0
Command (m for help): p

Disk /tmp/c0d0: 128 heads, 32 sectors, 64 cylinders
Units = cylinders of 4096 * 512 bytes

       Device Boot    Start      End   Blocks   Id  System
/tmp/c0d01             1       64   131056   82  Linux swap

<---SNAP--->

I wrote the config , of course :o)
    9) create device inodes for the rest.... (partitions for / , /var,
/tmp, /usr, /home....etc,etc)
    10) like 6 , first the disk, mknod /tmp/c0d1 b 48 8
    11) U have 7 more possibilities ( so 7 partitions...)
    12) mknod c0d1p1 b 48 9
    13) mknod c0d1p2 b 48 10 etc...etc up till c0d1p7 b 48 15 but only
the one U need
    14) fdisk /tmp/c0d1
<---SNIP--->
The number of cylinders for this disk is set to 8660.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /tmp/c0d1: 128 heads, 32 sectors, 8660 cylinders
Units = cylinders of 4096 * 512 bytes

       Device Boot    Start      End   Blocks   Id  System
/tmp/c0d11             1       51   104432   83  Linux native
/tmp/c0d12            52     2100  4196352   83  Linux native
/tmp/c0d13          2120     8660 13395968    5  Extended
/tmp/c0d15          2120     2520   821232   83  Linux native
/tmp/c0d16          2521     3545  2099184   83  Linux native
/tmp/c0d17          3546     8660 10475504   83  Linux native

W to write partition table (as usual...)
<---SNAP--->

OK , normally U have the needed disks ....
in /tmp/rhimage, U'll find your DAC dir ;o)
    15) let's mke2fs & mount what we need
    16) mke2fs /tmp/c0d1p1 (and the other cOd1pX)
    17) mount -t ext2 /tmp/c0d1p1 /mnt
    18) create mount dirs in /mnt ( these will be on the root disk)
    19) mkdir /mnt/etc and mkdirs for all your fstab entries...on /mnt,
of course
    20) mount -t ext2 /tmp/c0d1p2 /mnt/usr ...etc, etc for all your
fstabs

Here U get back to ALT-F1
 1) Skip SCSI
 2) skip swap
 3) in short get to software install
 4) select your software
 5) install
 6) configure
 7) at the end: DO NOT I REPEAT, DO NOT REBOOT !!!!!

get back to your prompt ALT-F2
 cd /tmp/rhimage/DAC (your fstab, lilo.conf, device inodes, fdisk, lilo,
kernel, modules)
 /mnt/usr/bin/find . | cpio -pdv /mnt/
 this copies your carefully prepared (and necessary files) onto your
root fs
 lilo -r /mnt
 umount all /mnt/*
 umount /mnt
 push your reset button, get this floppy out

Took me 3 hours to install (compilation included) When I find some time,
I'll kludge this in RH install disk
did the same in 1 day for 6 other pc's

Have to say: Mylex & driver together are extremely robust and FAAAAAST!

Jan


Hope this helps (a little)

Reply via email to