[3297] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: What am I doing wrong with mkinitrd?

daemon@ATHENA.MIT.EDU (Steve Greene)
Thu Nov 7 21:42:48 1996

Date: Thu, 7 Nov 1996 21:20:23 +0000 (   )
From: Steve Greene <sgreene@washsq.com>
To: Jeremy Hansen <jeremy@mortly.xxedgexx.com>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961107155656.24937A-100000@mortly.xxedgexx.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Thu, 7 Nov 1996, Jeremy Hansen wrote:

> bloodlet:/boot# mkinitrd /boot/initrd 2.0.24
> 
> mount: the kernel does not recognize /dev/loop0 as a block device
>        (maybe `insmod driver'?)
> umount: /tmp/initrd.mnt-289: not mounted
> /dev/loop0: No such device
> 
> Then when I got to reboot with the new kernel and new initrd, I just
> kernel panics from not loading my SCSI module.  So what am I missing.

I had a similar problem when I did a clean install of RH 4.0 onto a 
system with an Adpatech 1542, /dev/sda1 as my main linux partition.  I 
fixed it in 2 steps:

1.  Booted using an older (1.2.13 kernel) boot disk.  Ignored any error 
messages about missing modules, etc.

  Went to /usr/src/linux and built a new kernel with built-in support for 
the 1542 and a few other things I had to have.  Installed it in /boot, 
editied /etc/lilo.conf, reran lilo.

2.  Rebooted with new kernel.  Since /dev/loop now recognized, I can run 
mkinitrd to get module support for the things I ocassionally want that I 
didn't already build into the kernel.  Reboot again to make sure it all 
works.

Except for a strange crc error (that messes up the drive file system 
check on boot), things now work just fine.  

Hope this helps.

Steve

-----------------------------------------------------------------------
Stephan A. Greene			 sgreene@washsq.com
PGP Public Key 0xB96717F5 1996/10/01 at http://www.washsq.com/~sgreene/
-----------------------------------------------------------------------


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post