Did you do a 10.04.1 install or delete your prior kernels? Either way: Ouch.
I am guessing that the problem is that the initial ram disk wasn't updated correctly with the kernel update. But don't know for sure. Also there is a new -24 update today so hopefully that may fix it???
You could try chrooting in and updating the initrd.img or just trying to update to the latest -24 - which should do it.
Boot from a live CD and connect to internet (in the following instructions replace /dev/sdaX with your ubuntu partition):
No guarantees that will work - but I can't think of any other way to fix this.Code:sudo mount /dev/sdaX /mnt cp /etc/resolv.conf /mnt/etc for i in dev proc sys dev/pts; do sudo mount --bind /$i /mnt/$i; done sudo chroot /mnt dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl # the following updates initrd.img update-initramfs -u # if that doesn't work or if you want to try this instead, # the following should pull in the kernel update and # run update-initramfs as well apt-get update apt-get upgrade rm /sbin/initctl dpkg-divert --local --rename --remove /sbin/initctl exit for i in dev/pts dev proc sys; do sudo umount /mnt/$i; done sudo umount /dev/sdaX
Last edited by bcbc; August 31st, 2010 at 08:28 PM.
Ok thank you all of you When I manage to boot from the Live CD (because my pc refuses to do so ) I'll try the proposed solutions and I will update you about the issue.
Ok.
I don't think this is a WUBI install.
You want 'Try Ubuntu 10.04 LTS'
You can just reinstall, but seems a shame if only your boot is messed up. So go to:
APPLICATIONS/ACCESSORIES/TERMINAL and enter as follows
sudo su << enter superuser mode
blkid << view partitons (sounds like it is /dev/sda7 ?
mount /dev/sda7 /mnt < mount your partion
mount --bind /dev /mnt/dev < bind to your system (symlink)
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/sys
chroot /mnt <<< ok, change your /root over to the REAL Ubuntu
update-grub <<< search out any O/S's
grub-install /dev/sda <<< write the boot
Reboot <<3 finger salute, followed by 'restart' or click on icon in right uppermost corner, or alt-sysreq-'b', or p.o.r.
Best of luck,
Howard
Last edited by hhoyt; August 31st, 2010 at 08:31 PM. Reason: (sp)
I just had this same problem out of the blue, and I rebooted, switched to a kernel prior to .24, and it seems to be booting fine.
Really frustrating to have this happen, but using a different kernel seems to have done the trick. Now then...how do I remove a kernel so I never have to see it again?
Last edited by bcbc; August 31st, 2010 at 09:27 PM.
Had same issue as OP.
Thank you bcbc: I used your code (post#12) booting from a different Live CD and managed to get it up and running again! Curiously, however, updating the kernel failed...so hopefully this problem won't recur.
Last edited by tomansc; August 31st, 2010 at 10:32 PM. Reason: fixed :)
It's probably too late to clarify at this point, but what hhoyt means by "from root" is "while you're root" i.e. in a terminal using "sudo" before the commands, like he shows in his clarification. A wubi install is ubuntu installed from within Windows. You have a dual boot setup, so ignore the wubi stuff.
OK it turns out that in my case, initramfs (I think that's its name) was unable to create the proper boot system after the kernel update -- apparently, the update failed for some other reason.
I re-did the update, and the boot system was recreated, and now that kernel is working. I have a handful of other issues as well, but I can't for the life of me figure out which is caused by which, nor what to do about it. In any case, I need my own thread for my problems, so I'm gonna spin them off elsewhere -- don't want to hijack things here.
Last edited by randyklein99; September 20th, 2010 at 12:41 AM.
Bookmarks