
On Thu, Jun 29, 2000 at 11:44:36PM -0400, Rafael E. Herrera wrote:
Robert Sweet wrote:
When I run mk_initrd it works fine...but it doesn't leave a initrd image in /boot and I get this message during boot: RAMDISK: Couldn't find valid RAM disk image starting at 0. Is there a way to fix this (I know there is I just cannot find the answer). Do I even need a initrd? Should I comment the initrd line out in lilo.conf? Any help would be greatly appreciated.
If you need to load a module at boot time (and you don't want to recompile your kernel), e.g., a SCSI driver so you can see your new hard drive, you must use the initrd mechanism . The needed modules are specified in /etc/rc.config. E.g.:
INITRD_MODULES="aha1542 aic7xxx"
Which in my case loads two scsi drivers (note that the order makes the aha become /dev/sda and the aic become /dev/sdb). If INITRD_MODULES is not there or is empty, no initrd file will be created.
Next, run "mk_initrd". Then, in /etc/lilo, you have to add an entry for initrd:
boot=/dev/sda2 compact vga=ext read-only prompt timeout=100 # image = /boot/vmlinuz root = /dev/sda7 initrd=/boot/initrd label = Linux
Finally, run "/sbin/lilo -v".
-- Rafael
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq I am using a scsi-ide module for a cdrw, I have the device working but i would like to use initrd instead of boot.local...I have done all of the above, but I don't get a initrd. There is nothing in /boot.
-- ......... Robert Sweet `:::' ....... ...... rsweet@socal.rr.com ::: * `::. ::' Gardner Lithograph ::: .:: .:.::. .:: .:: `::. :' ::: :: :: :: :: :: .::. ::: .::. .:: ::. `::::. .:' ::. ...:::.....................::' .::::.. The choice of a GNU generation UNIX is user friendly. It's just selective about who its friends are. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq