* Juan Erbes <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
