Mailinglist Archive: opensuse-factory (235 mails)

< Previous Next >
Re: [opensuse-factory] Modules.dep file
  • From: Bernhard Walle <bwalle@xxxxxxx>
  • Date: Sun, 24 Jun 2007 19:58:41 +0200
  • Message-id: <20070624175840.GB20032@xxxxxxx>
* Juan Erbes <jerbes@xxxxxxxxx> [2007-06-24 19:52]:
> Yesterday I update to OSS alpha 5, and got the problem with the grub
> (Bug 283709),  after reinstalling the kernel, it has removed the
> previous kernel version. After trying to restore the grub with a boot
> cd from OSS 10.2 beta (I do'nt has any cd of OSS 10.3 alpha), and it
> replaced the actual kernel 2.6.22 with the 2.6.18, and it do'nt work.
> How can I create the initrd and the modules.dep files for the kernel
> 2.6.22 (OSS 10.3 alpha5) without his cd boot?
> One initrd file was created using the restoring option with a cd of
> OSS 10.2 beta2, but I do'nt know if it's right.

The modules.dep file is created by "depmod". Use "depmod 2.6.22" (I
guess it's "2.6.22-default" or something like this, it must be the
name of the /lib/module/2.6.22* directory to create a module
dependency file for that kernel version.  The initrd is generated
using the 'mkinitrd' script.

I must admit that I don't really know what you did. How did you
"reinstall" the kernel. If you use "rpm -U", it's clear that all other
kernels get removed. Use "rpm -i" in that case if you want to have
multiple kernel versions installed at the same time.



Thanks,
   Bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References