1st- there was no reason for that patch to fail, unless perhaps redhat
shipped you a patched kernel already. download the entire tgz of the
kernel source, and trash that rpm. apply patch. insert rejects by hand.
remake kernel.

2nd- what is the root file-system when you boot with a non-raid kernel?
assuming it is /dev/sda2 (you can tell with the program 'df'), then when
you boot with the new kernel say at the lilo prompt:

linux.new root=/dev/sda2

(assuming linux.new is what you called your new setup, and sda2 is your
root, modify as needed)

if that works, modify your lilo setup to say root=/dev/sda2, or look at
rdev ('man rdev') to change the root device in the kernel.

al

"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera

On Tue, 2 Feb 1999, steve rader wrote:

> 
> I'm trying to get disk mirroring with an adaptec AHA-2940
> scsi... rh5.0 runs fine of course... but...
> 
>    cd /usr/src
>    patch < /usr/local/src/tar-files/raid145-0.36.3-2.0.32
> 
> ...yields failure of linux/fs/buffer.c hunk #2 but that
> patch seems to already be in 2.0.32 so I press on...
> 
>    mv raid?.c linux/drivers/block
>    mv raid?.h* linux/include/linux
>    make config
>    # select "y" for CONFIG_BLK_DEV_MD
>    # select "y" for CONFIG_MD_*
>    # select "y" for CONFIG_SCSI_AIC7XXX
>    make dep
>    make
>    make zImage
>    cp /usr/src/linux-2.0.32/arch/i386/boot/zImage /boot/vmlinuz-2.0.32-raid
>    vi /etc/lilo.conf
>    # add linux-raid entry
>    /sbin/lilo
>    reboot
>    lilo: linux-raid
> 
> then console sez
> 
>    md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
>    [...]
>    scsi : 0 hosts.
>    scsi : detected total.
>    [...]
>    Kernel panic: VFS: Unable to mount root fs on 08:01
> 
> Where am I going wrong?
> 
> steve
> -- -- -- --
> Steve Rader
> Systems and Network Manager
> WiscNet--Internetworking for Wisconsin
> [EMAIL PROTECTED]
> 608-265-6761
> bash: syntax error near unexpected token `=:)'
> 
> 

Reply via email to