[H-GEN] Kernel compile

Robert Stuart rstu at qbssss.edu.au
Wed Sep 29 02:24:31 EDT 1999


[ Humbug *General* list - semi-serious discussions about Humbug and
Unix-related topics. ]

"Marshall, Joshua" wrote:
> 
> [ Humbug *General* list - semi-serious discussions about Humbug and
> Unix-related topics. ]
> 
> > I think if you are booting off the SCSI device, the SCSI
> > driver needs to be
> > compiled in
> 
> Just tried that now - didn't make a difference.
> 
> Do I need an initial Ramdisk???
> 
> Josh.


initrd is the way that RedHat likes to do scsi boots (probably because
ide was historically always built into the kernel whereas scsi was not
(also useful for install disks etc) - is there any other issues
anyone?).

If you want to do it this way, do your usual make menuconfig;make
dep;make clean;make install;make modules;make modules_install.  Then do
"mkinitrd /boot/initrd-2.2.12 2.2.12".
Put the line "inird=/boot/initrd-2.2.12.img" in your lilo.conf in the
2.2.12 section, rerun lilo.

Note that the "make install" does everything nice for you (builds
kernel, copies kernel image and System map, makes useful links etc - eg
vmlinuz, vmlinuz.old, and then runs lilo).  Its nice if you have a
image=/boot/vmlinuz and image=/boot/vmlinuz.old.  However, with initrds,
you have to build them before you run lilo....

This should work because the initrd, does module loading for you
(assuming /etc/conf.modules has something like "alias scsi_hostadapter
aic7xxx").

HTH.
-- 
Robert Stuart
Ph  61-7-3864 0364

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list