Re: Kernel 2.6.14.5 - PARADOX ?



Luka Popov wrote:

I thought it may have something to do with that.. Yes, I do use initrd. So, what do I do to fix it, how to "make it exist" on the initrd?


Thank you in advance!

--
Luka Popov
Faculty of Science, Physics Department
University of Zagreb, Croatia

On Sat, 31 Dec 2005, Segin wrote:

Luka Popov wrote:


I've just installed latest kernel version (2.6.14.15). Everything went well untill I rebooted the machine. The system refused to bring the machine up, due to the following message:


FATAL: Could not load /lib/modules/2.6.14.5-default/modules.dep: No such file or directory

The worst thing is that such file or directory DO EXIST! So why it's keeping telling me that it doesn't??

I would really appreciate any advice, this thing is realy driving me crazy..

Thank you!

--
Luka Popov
Faculty of Science, Physics Department
University of Zagreb, Croatia

Do you use a initial RAMdisk (initrd)? If so, then that file doesn't exist on the initrd.



First of all, you must be able to understand what a disk image is. If you don't, Google is your friend.


First off, start by mounting the initrd -- yes, it's a filesystem.
You will need to use the 'loop' option with mount, this is done like any option, using the '-o' flag.


A typical commandline to mount a initrd to /initrd (where some distros keep it mounted well after it's done it's thing), assuming your initrd is ext2, would be:

mount /boot/initrd-2.6.14.5 /initrd -t ext2 -o loop

You then just copy whatever files in /lib to /initrd/lib. Unmount the initrd with 'umount /initrd' or similar.

Your problem is that your old initrd has files that only work with your old kernel. You can safely leave these in place, for now. Be sure to remount and remove the old files *after* you work out all the kinks in your current kernel/initrd setup. If you remove all the old ones now, you can seriously hose your box.
.




Relevant Pages

  • Re: Problems with Kmail
    ... Luka Popov wrote: ... Faculty of Science, Physics Department ... University of Zagreb, Croatia ...
    (alt.os.linux.suse)
  • Re: Kernel 2.6.14.5 - PARADOX ?
    ... Luka Popov wrote: ... well untill I rebooted the machine. ... University of Zagreb, Croatia ...
    (comp.os.linux)