topic title: update-initramfs failed
4 posts
• Page 1 of 1
-
Posts: 128
- Joined: 31 Jan 2009
#1
After an update today, that -I think- also involved initramfs-tools, I get the following error-message: 'cpio: .etc/modprobe.d/arch-aliases.conf: function (stat) failed: no such file or directory. I can't update-initramfs anymore. What is the best thing to do? Has it got something to do with the renaming of the files in modprobe.d? I looked at etc/modprobe.d/arch-aliases.conf. It's a symbolic link dat leads to a (non-existent?) file or directory. I can't find it ...
-
Posts: 516
- Site Admin
- Joined: 01 Oct 2007
#2
Hannes Worst,
I have run into similar problems before with initramfs, seems like I ran in console as root
update-initramfs -t -k all -c
if you like take a read of initiramfs man page before you execute the above,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.cs.drexel.edu/cgi-bin/manServer.pl/update-initramfs.8"
linktext was:"https://www.cs.drexel.edu/cgi-bin/manSe ... nitramfs.8"
====================================
" onclick="window.open(this.href);return false
I have run into similar problems before with initramfs, seems like I ran in console as root
update-initramfs -t -k all -c
if you like take a read of initiramfs man page before you execute the above,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.cs.drexel.edu/cgi-bin/manServer.pl/update-initramfs.8"
linktext was:"https://www.cs.drexel.edu/cgi-bin/manSe ... nitramfs.8"
====================================
" onclick="window.open(this.href);return false
-
Posts: 128
- Joined: 31 Jan 2009
#3
Oldhoghead,
I'm affraid this option doesn't work, because of the missing link. It still gives the same error. It seems that etc/modprobe.d/arch-aliases.conf has to be linked at the right file or directory. Right now it's pointed at arch/i386, but that directory doesn't exist. I think I have to create the right symbolic link before update-initramfs works, but to what file or directory?
I'm affraid this option doesn't work, because of the missing link. It still gives the same error. It seems that etc/modprobe.d/arch-aliases.conf has to be linked at the right file or directory. Right now it's pointed at arch/i386, but that directory doesn't exist. I think I have to create the right symbolic link before update-initramfs works, but to what file or directory?
Last edited by Hannes Worst on 02 Sep 2009, 20:28, edited 1 time in total.
-
Posts: 128
- Joined: 31 Jan 2009
#4
The problem is solved now I just deleted the symbolic link, and now update-initramfs works without errors. I actually don't know how the link got there in modprobe.d in the first place. __{{emoticon}}__