Hi there guys. I'm a newbie to Ubuntu, almost in despair haha..
Anyway, I tried to update the kernel, that is:
root@ubuntu:/# update-initramfs -u -k 2.6.32-24-generic
update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
What am I supposed to do now?
Certainly I had all these problems and I'm trying to boot again, cos after updating some libs I got the message "udevadm trigger is not permitted..".
update-initramfs as specified fixed me up right nice. Thanks a million!
SWS
@illgoten
I followed the instructions and couldn't get it to work either. But I eventually did get it to work. For the sake of posterity, I'll include what I did.
First I tried to reboot, holding down the shift key so I could choose a different kernel from Grub. That didn't work at all after trying a bunch of different things.
Next off, I had a Ubuntu 10.04 Desktop CD handy (I'm running a server system), so I booted my machine from this disk with the Live CD option (Try Ubuntu w/o installing). I followed the instructions and tried to do a "sudo update-initramfs –u -k 2.6.32-24-generic-pae" after chrooting and got the same result as I was supposed to, but alas, rebooting left me with the same error message
So I booted again into the live CD, chrooted again, and since it was during an update that failed, I ran "dpkg --confgure -a". It finished the failed update and fixed my problem. I rebooted and everything worked fine.
HTH
-JT
hello,
I am getting the same error, and i tried following the procedure you mentioned.
1. Boot liveCD
2. "sudo fdisk -l"
3. "sudo mkdir /media/newroot"
4. "sudo mount /dev/sda1 /media/newroot"
5. "sudo chroot /media/newroot"
6. "ls /boot" to find your latest kenel.
7. "sudo update-initramfs -u -k 2.6.32-24-generic"
8. "dpkg --configure -a" as JTZ mentioned in the last post
I also tried
sudo apt-get update
sudo apt-get dist-upgrade
but i get 0 packets to be installed.
I really dont know what else to do..please help
anyone guys? i am really desperate to get this working again...
Hi there dudes.
Thanks to all of you for replying. After rebooting some times, and trying all procedures,
I got to boot my system, sounds kinda 'spiritual' sometimes hahaha..
But, actually after updating the kernel I received three subsequent error messages, of paths that didn't exist.
I mean, after mounting, chrooting and trying to update, I got the errors.
So I just rebooted like other member said and now I'm on my Ubuntu writing on this post.
Here is what I've done:
1. Boot liveCD
2. "sudo fdisk -l" to find your boot disk, in my case it is /dev/sda5.
3. "sudo mkdir /media/newroot"
4. "sudo mount /dev/sda5 /media/newroot", change sda1 to whatever your boot disk is.
5. "sudo chroot /media/newroot"
6. apt-get update
7. apt-get dist-upgrade
Otherwise, if you are more lucky than me, try:
'6. "ls /boot" to find your latest kenel. Mine has both 2.6.32-24-generic and 2.6.32-24-386. I don't know which one is causing the problem, so I updated both.
7. "sudo update-initramfs -u -k 2.6.32-24-generic"
8. reboot and smile.'
Last edited by illgoten; September 5th, 2010 at 10:28 PM.
Don't make the mistake which I made. I had copied the kernel filename in step 7. Step 7 needs the kernel version, not the filename. After I figured out what I was doing wrong, the fix worked like a champ! From what I can see in the google searches, this particular problem has occurred several times in the past. Thanks to everyone who responded to this thread!
Also, the version of the LiveCD MUST match the version of the system which you are trying to fix. Initially, I tried using an older 9.10 I386 LiveCD to fix a 10.04 X64 Desktop. Step 5 of the procedure failed miserably!
Last edited by tkoco; September 6th, 2010 at 02:46 AM.
Bookmarks