Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41

Thread: Stuck on boot , BusyBox ,initramfs...

  1. #11
    Join Date
    Feb 2010
    Location
    Athens
    Beans
    74
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Stuck on boot , BusyBox ,initramfs...

    Quote Originally Posted by bcbc View Post
    If you installed with wubi, then don't reinstall grub.

    I have seen problems with the latest kernel dropping people in a busybox prompt. I recommend booting your previous kernel, e.g. -23

    I don't know of a fix, but if -23 (or your previous kernel if not -23) works then just remove -24.
    I have no other kernel, just a recovery mode which is also useless..

  2. #12
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Stuck on boot , BusyBox ,initramfs...

    Quote Originally Posted by al1x View Post
    I have no other kernel, just a recovery mode which is also useless..
    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):
    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
    No guarantees that will work - but I can't think of any other way to fix this.
    Last edited by bcbc; August 31st, 2010 at 08:28 PM.

  3. #13
    Join Date
    Feb 2010
    Location
    Athens
    Beans
    74
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Stuck on boot , BusyBox ,initramfs...

    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.

  4. #14
    Join Date
    May 2009
    Beans
    63

    Re: Stuck on boot , BusyBox ,initramfs...

    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)

  5. #15
    Join Date
    Jan 2006
    Location
    Berkeley
    Beans
    458
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Stuck on boot , BusyBox ,initramfs...

    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?

  6. #16
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Stuck on boot , BusyBox ,initramfs...

    Quote Originally Posted by mlissner View Post
    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?
    You can uninstall it from synaptic. There are three entries - search on 2.6.32-24.

    EDIT:
    As I said earlier, there is an update to -24 released today - maybe this will fix the problem. If you try reinstalling -24 and report back then you can give some hope to the OP
    Last edited by bcbc; August 31st, 2010 at 09:27 PM.

  7. #17
    Join Date
    Aug 2010
    Beans
    2

    Re: Stuck on boot , BusyBox ,initramfs...

    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 :)

  8. #18
    Join Date
    Jul 2006
    Location
    Los Angeles
    Beans
    1,310
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Stuck on boot , BusyBox ,initramfs...

    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.

  9. #19
    Join Date
    Jan 2006
    Location
    Berkeley
    Beans
    458
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Stuck on boot , BusyBox ,initramfs...

    Quote Originally Posted by bcbc View Post
    You can uninstall it from synaptic. There are three entries - search on 2.6.32-24.

    EDIT:
    As I said earlier, there is an update to -24 released today - maybe this will fix the problem. If you try reinstalling -24 and report back then you can give some hope to the OP
    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.

  10. #20
    Join Date
    Mar 2009
    Beans
    128

    Re: Stuck on boot , BusyBox ,initramfs...

    Quote Originally Posted by hhoyt View Post
    possibly best to reinstall grub2.
    boot your install disk.

    from root

    1) blkid
    < find the partition you installed ubuntu on
    2) mount /dev/sdax /mnt <<< where x is partion # containing ubuntu and 'a' assumes this is your first hard drive (if have > 1)
    3) mount --bind /sys /mnt/sys
    4) mount --bind /dev /mnt/dev
    5) mount --bind /proc /mnt/proc
    6) chroot /mnt
    7)update-grub
    8) grub-install /dev/sda <assumes the you want grub to be installed on your first hard drive ('a')
    9) reboot
    I was having the same problem. The above method worked for me. Thanks.

    Edit: Problem has cropped up again, solution worked again. Wondering why it keeps recurring though.
    Last edited by randyklein99; September 20th, 2010 at 12:41 AM.

Page 2 of 5 FirstFirst 1234 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •