Submitted 11-Jul-00 by gsommerdorf:
> I am having problems updating my kernal for 7.1 I am using update to
> do the job, and I'm using the ReiserFS. In the documentation it says
> that I need to do the following
>
> mkinitrd -f --ifneeded /boot/initrd-2.2.16-9mdk 2.2.16-9mdk
>
> I let update install the kernal, but every time I try to mkinitrd it
> barfs. I get in error message stating the the kernal is not a loopback.
> I need to install loop.o or recomplile the
> kernal. I tried to install loop.o, but I get an error that the module is
> not found. After I update the kernal initrd-2.2.16-9mdk is not found,
> but vmlinuz-2.2.16-9mdk is and thats what I use. I could compile a new
> kernal myself, but I would realy like to get this to work.
>
> Can anyone tell me what I did wrong, or what I need to do to correct
> this problem??
<rant> Never let MandrakeUpdate (or any other wrapper) update your
kernel, do it manually! </rant>
While this is fixed in later kernels apparently (I rebuild from
kernel-source, so I never ran into this), you need to insmod loop
before you rpm -ivh kernel-x.x.xx
Yes, that is an 'i' instead of a 'U'. You don't want to delete your
old kernel until you are satisfied that the new one works well,
particularly when you are running a filesystem that requires an initrd
out of the box. (One of many reasons I recompile is to avoid needing
the initrd.)
The installkernel script doesn't seem to play well with grub, either.
Just for fun I installed a -9mdk kernel and it added an entry to grub
(hd0,6)/boot/vmlinuz-2.2.16-9mdk. /boot is a separate (ext2)
partition at /dev/hda1 (aka hd0,0) so this entry pointed nowhere.
--
_
_|_|_
( ) * Anton Graham
/v\ / <[EMAIL PROTECTED]>
/( )X
(m_m) GPG ID: 18F78541
Penguin Powered!