Results 1 to 7 of 7

Thread: Freeze during install - how to recover?

  1. #1
    Join Date
    Apr 2010
    Beans
    78

    Freeze during install - how to recover?

    Hi all,

    My mom tried to use firefox while I was upgrading to 11.10 and the computer froze up. I left it on overnight to see if it would work itself out, but no such luck.

    I've rebooted, but, of course, the install failed. I can use GRUB and my windows partition, but cannot boot into Ubuntu.

    Most of my important files are backed up on another drive, but I would really like to fix this installation up without losing any files. What is the best way to do this?

    Thanks a lot!

    Nash


    edit: just to clarify, I wouldn't mind reinstalling; I just don't want to reformatt the whole drive and lose my personal files. Reinstalling applications is no big deal if necessary.
    Last edited by nash black; October 14th, 2011 at 07:32 PM.

  2. #2
    Join Date
    Apr 2009
    Beans
    60

    Re: Freeze during install - how to recover?

    I got a freeze as well. It didn't even finish preparing. Its happened twice now.

    I got some messages telling me that it failed to fetch things.

    Maybe I wait a couple of weeks and try again?

  3. #3
    Join Date
    Apr 2010
    Beans
    78

    Re: Freeze during install - how to recover?

    This wasn't just a freeze during the install, it froze up because firefox was opened while the files were being installed - everything seemed to be going fine before that.

    It sounds like your install just had problems downloading the install files - maybe due to server overload from everyone installing the new version or from a faulty internet connection.

    Anyway, mine got the files okay; we just screwed it up after that (:

    any advice would be appreciated!

  4. #4
    Join Date
    Jan 2010
    Beans
    109

    Re: Freeze during install - how to recover?

    I've totally done this a few times, due to laptop deciding it was idle and ought to go into hibernate mode in the middle of a dist-upgrade. My sympathies.

    If you backed up all your necessary files before upgrading, you should just reinstall Ubuntu 11.10 from a freshly downloaded Live CD, wipe the hard drive, and later re-copy your backed up files. For a non-expert that's really the simplest solution.

    If not, you'll have to use a Live CD or some other method to get the computer booted, figure out which packages got updated and which ones didn't, and manually install the needed ones in the proper order. This is hard. I did it once but mostly by luck. (Someone with more knowledge than I can help you out here.)

  5. #5
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Freeze during install - how to recover?

    Quote Originally Posted by nash black View Post
    This wasn't just a freeze during the install, it froze up because firefox was opened while the files were being installed - everything seemed to be going fine before that.

    It sounds like your install just had problems downloading the install files - maybe due to server overload from everyone installing the new version or from a faulty internet connection.

    Anyway, mine got the files okay; we just screwed it up after that (:

    any advice would be appreciated!
    That's the thing... Do you really know where it crashed?

    If you can get to a Grub menu, then you could go back to a Menu Item previous to 3.0, then press "e". This would get you into an edit mode. If you then arrowed down until you get to the line that begins with "linux". If you then arrow right until you get to where it says "quiet splash" and replace it with "--verbose text" it should boot into a TTY text mode. Login.

    Code:
    sudo apt-get update
    sudo apt-get -f
    sudo apt-get dist-upgrade
    That should restart your upgrade process back up. That process has several stages. Evaluate what is there and what needs to be changed (to include dependencies). Download packages. Install and configure packages.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  6. #6
    Join Date
    Apr 2010
    Beans
    78

    Re: Freeze during install - how to recover?

    in edit mode, there is this: "splash quiet vga=773 quiet \ splash vt.handoff=7"

    i tried switching both instances of quiet splash (or the two similar places, it doesnt say exactly that) but neither would allow me to boot. It fails as it did before on the splash screen. I am not sure Ill be able to log in at all.

    I do have an 11.10 install disc if that could help

  7. #7
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Freeze during install - how to recover?

    Quote Originally Posted by nash black View Post
    in edit mode, there is this: "splash quiet vga=773 quiet \ splash vt.handoff=7"

    i tried switching both instances of quiet splash (or the two similar places, it doesnt say exactly that) but neither would allow me to boot. It fails as it did before on the splash screen. I am not sure Ill be able to log in at all.

    I do have an 11.10 install disc if that could help
    Sidenote on this-- Post your /etc/default/grub file.
    After the "ro ", that is incorrect:
    Code:
    splash quiet vga=773 quiet \ splash vt.handoff=7
    It should be more like
    Code:
    splash quiet vga=773 vt.handoff=7
    Here is another way (of many) to do this:

    1. Boot a Live-CD. Open a terminal session.
    2. Find your installed Linux partition, e.g. /dev/sda5 (where you've installed Ubuntu ... the "/" or root mount partition)
    Code:
    sudo mount /dev/sda5 /mnt
    3. If you have a dedicated boot partition: sudo mount /dev/sda3 /mnt/boot
    Code:
    sudo mount -o bind /dev /mnt/dev
    sudo mount -o bind /sys /mnt/sys
    sudo mount -t proc /proc /mnt/proc
    4. "changeroot" to /mnt
    Code:
    sudo chroot /mnt /bin/bash
    5. Now you're "on" Oneiric, see chnageroot man page for details
    Code:
    
    sudo apt-get update 
    sudo apt-get clean
    sudo apt-get -f 
    sudo apt-get dist-upgrade

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

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
  •