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. -- ......... 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
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
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
Robert Sweet wrote:
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.
What is the output of mk_initrd? -- 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
On Fri, Jun 30, 2000 at 01:56:08PM -0400, Rafael E. Herrera wrote:
Robert Sweet wrote:
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.
What is the output of mk_initrd? -- 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 Output of mk_initrd (NOTE Double slashes???) using "/dev/hdb4" as root device (mounted on "/")
creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.2.16) module ne is "/lib/modules/2.2.16/net/ne.o" -> insmod ne io=0x300 no such module: ne2k Line from rc.config: INITRD_MODULES="ne ne2k ide-scsi" Hope this helps Rafael. Thanks for your time. -- ......... 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
Robert Sweet wrote:
creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.2.16) module ne is "/lib/modules/2.2.16/net/ne.o" -> insmod ne io=0x300 no such module: ne2k
Line from rc.config: INITRD_MODULES="ne ne2k ide-scsi"
The script fails to find the ne2k module, hence, it doesn't produce the initrd file. You did not mention that the script was failing. I looked at the list of modules from the SuSE kernel and there is a 'ne2k-pci' module, maybe that is the one you need to use. 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
On Thu, Jun 29, 2000 at 10:16:10PM -0700, Robert Sweet wrote:
On Fri, Jun 30, 2000 at 01:56:08PM -0400, Rafael E. Herrera wrote:
Robert Sweet wrote:
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.
What is the output of mk_initrd? -- 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 Output of mk_initrd (NOTE Double slashes???) using "/dev/hdb4" as root device (mounted on "/")
creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.2.16) module ne is "/lib/modules/2.2.16/net/ne.o" -> insmod ne io=0x300 no such module: ne2k
Line from rc.config: INITRD_MODULES="ne ne2k ide-scsi"
Hope this helps Rafael. Thanks for your time. -- 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 Well I fixed...seems it was choking on the ne2k mod...ne2k-pci, seems yast abbreviated it or sumthang...
-- ......... 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
participants (2)
-
raffo@neuronet.pitt.edu
-
rsweet@sc-24-30-182-71.socal.rr.com