>>>>> "Jose" == Jose M Sanchez <[EMAIL PROTECTED]> writes:

    Jose> The installer makes a pretty good estimate of your SCSI
    Jose> devices then creates an INITRD image which contains the
    Jose> appropriate modules.

Would it make sense to run the installer in expert mode and have it do
its thing with the new card?

    Jose> If yours is not booting from a SCSI drive or has a SCSI hard
    Jose> disk, you could omit the initrd entry in /etc/lilo.conf, run
    Jose> lilo and be done. 

Thanks, this seems to be what I needed to know.  I am now booting
fine.  As you point out, this wouldn't be the case if I were trying to
boot from the SCSI drive, but I'm not.

    Jose> But if the system needs to find a SCSI
    Jose> hard drive initially (so it can FSCK, etc. or boot from it)
    Jose> you need a new initrd image that has the module for your new
    Jose> scsi card.

And something else, because just running mkinitrd didn't work.

    Laura> I want to get this off before I try rebooting.  I've run:
 
    Laura> cd /boot
    Laura> mkinitrd /boot/initrd-2.4.3.later 2.4.3-20mdk
    Laura> rm initrd.img    
    Laura> ln -s initrd-2.4.3.later initrd.img


    Jose> Eh, you also have to specify WHICH SCSI modules it has too
    Jose> preload on the mkinitrd command line.

The mkinitrd man page says:

    man>        mkinitrd automatically loads IDE modules, all
    man>        scsi_hostadapter entries in /etc/modules.conf, and
    man>        raid modules if the system's root partition is on
    man>        raid, which makes it simple to build and use kernels
    man>        using modu� lar device drivers.

So this looks like a bug.  In any case, I ran:

     mkinitrd --with=advansys /boot/initrd-2.4.3.advansys 2.4.3-20mdk

and linked boot.img to the output, and when I booted it still tried to
load the old module.  So there's something I still don't understand
about initrd's, but since I don't really need them, I won't worry
about it.

I do think someone at Mandrake should be worrying about the problem of
how you document hardware changing, though.  A lot of stuff "just
works", but for the stuff that doesn't, like removing a network
interface and changing SCSI cards, we need better documentation than
I've managed to find.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139

Reply via email to