LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-09-2009, 05:31 PM   #1
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
update-initramfs is failing - how can I discover the cause?


Here is what I'm encountering:

root@ubuntu:/etc# update-initramfs -c -k 2.6.24-23-generic
update-initramfs: Generating /boot/initrd.img-2.6.24-23-generic
cat: /proc/cmdline: No such file or directory

I've been working on it for a couple days... no success.

The problem started when I made come changes to my crypto setup and then attempted to run update-initramfs afterwards. However, now I have backed out my changes (I think), and I still cannot run update-initramfs without getting this message. And my system will not boot of course.

Looking for some advice.
 
Old 04-09-2009, 05:44 PM   #2
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Original Poster
Rep: Reputation: 33
Wow, I worked on it for 2 days and couldn't figure it out. Then, within half hour of posting my question, I figured it out.

I did this:
ubuntu@ubuntu:/media/target/root/boot$ sudo mount --bind /proc /media/target/root/proc
ubuntu@ubuntu:/media/target/root/boot$ sudo mount --bind /dev /media/target/root/dev
ubuntu@ubuntu:/media/target/root/boot$ sudo mount --bind /sys /media/target/root/sys

Then I ran update-initramfs again.

No more errors reported.

Now, I hope it will boot up...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
update-initramfs is failing on debian testing upgrade chadwick Linux - General 2 03-28-2008 12:19 AM
update-initramfs -u Geminias Linux - Newbie 1 07-30-2007 04:04 AM
Ubuntu: 6.10: Too many "update-initramfs" lines in update tarobs Ubuntu 5 02-03-2007 07:41 AM
apt-get update failing bootdoc Debian 7 05-30-2006 11:26 AM
Update-modules failing: What package contains? geekzen Debian 2 04-01-2004 09:48 PM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration