Results 1 to 10 of 10

Thread: Recovery from Ubuntu Live CD - how?

  1. #1
    Join Date
    Nov 2006
    Location
    Hong Kong
    Beans
    192
    Distro
    Ubuntu

    Recovery from Ubuntu Live CD - how?

    My Ubuntu doesn't boot anymore after removing Python (that's another story)

    Is there a way to recover from the Live CD? I can't see any "recovery" function when booting.

    Help is greatly appreciated.
    ----------------------
    14.04 - finally working!

  2. #2
    Join Date
    Mar 2008
    Location
    Area 36 /lilongwe
    Beans
    Hidden!

    Re: Recovery from Ubuntu Live CD - how?

    have you tries pressing escape on th boot menu.. happen quickly i think by default its 3 second.

    anyway recovery can be done on the system boot menu, if that is also not working then try reinstalling the system but not formatting the home directory.

  3. #3
    Join Date
    Sep 2009
    Beans
    108
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Recovery from Ubuntu Live CD - how?

    Just reinstall grub? A little more info would be handy...

  4. #4
    Join Date
    Nov 2006
    Location
    Hong Kong
    Beans
    192
    Distro
    Ubuntu

    Re: Recovery from Ubuntu Live CD - how?

    I tried "esc" when HDD boot. That brings me to some DOS type option menu with different Kernel version - non of them get me out of that DOS type mode.

    What now?
    ----------------------
    14.04 - finally working!

  5. #5
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Recovery from Ubuntu Live CD - how?

    Quote Originally Posted by flameproof View Post
    Is there a way to recover from the Live CD?
    Yep!

    Boot into the LiveCD, then mount your normal Ubuntu root partition by clicking on it "Places". Check what mount point in your system this has mounted at (should be in /media). Go to Applications > Accesories > Terminal and enter:
    Code:
    sudo chroot /mount/point/of/your/system
    sudo apt-get update
    sudo apt-get install python
    If Python is the cause of your problem, that will fix it. You can install any other package you need that way, too. For instance you could reinstall ubuntu-desktop, gdm, linux-generic, and xorg, which would reinstall pretty much anything you need for a healthy Linux desktop.
    Last edited by Paqman; October 2nd, 2009 at 10:27 AM.

  6. #6
    Join Date
    Nov 2006
    Location
    Hong Kong
    Beans
    192
    Distro
    Ubuntu

    Re: Recovery from Ubuntu Live CD - how?

    Quote Originally Posted by Paqman View Post
    Yep!

    Boot into the LiveCD, then mount your normal Ubuntu root partition by clicking on it "Places". Check what mount point in your system this has mounted at (should be in /media). Go to Applications > Accesories > Terminal and enter:
    Code:
    sudo chroot /mount/point/of/your/system
    sudo apt-get update
    sudo apt-get install python
    When I but the Live-DC I see the HDD is "/media/disk" I get:


    Code:
    sudo chroot /media/disk" 
    chroot: cannot run command '/bin/bash': Exec format error
    soooooo......?

    PS: Mount point I got from: desktop > click HDD > Media Properties > Volume > Mount Point: /media/disk

    If that matters, File System is ext3(1.0)

    PPS: I don't know if that Ubuntu 9.04 is 32 or 64 type

    PPPS: That PC has internet and it works.
    Last edited by flameproof; October 2nd, 2009 at 10:40 AM.
    ----------------------
    14.04 - finally working!

  7. #7
    Join Date
    Mar 2008
    Location
    Area 36 /lilongwe
    Beans
    Hidden!

    Re: Recovery from Ubuntu Live CD - how?

    Quote Originally Posted by Paqman View Post
    Yep!
    For instance you could reinstall ubuntu-desktop, gdm, linux-generic, and xorg, which would reinstall pretty much anything you need for a healthy Linux desktop.
    + 1


    when you are in the dos like thing and gets to the $ prompt

    you can then do
    Code:
    sudo apt-get install ubuntu-destop
    dedfinately this will work, YOU Should however have internet connection
    Last edited by pmlxuser; October 2nd, 2009 at 10:43 AM. Reason: making it more meaningful

  8. #8
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Recovery from Ubuntu Live CD - how?

    Quote Originally Posted by flameproof View Post
    soooooo......?
    Sorry, my fault, i'm trying to do this form memory while at a non-Linux machine,and skipped some stuff Unmount your partition and try

    Code:
    sudo mount /dev/sdaX /mnt
    Where X is the number of your root partition.

    Code:
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo chroot /mnt
    And that should get you chrooted into your broken install so that you can repair the packages.

  9. #9
    Join Date
    Nov 2006
    Location
    Hong Kong
    Beans
    192
    Distro
    Ubuntu

    Re: Recovery from Ubuntu Live CD - how?

    I went back to a boot to command line with net support and did:

    Code:
    sudo apt-get install ubuntu-desktop
    That got me 1 hour files to d/l, another 20 Minutes with some sort of updates, a new boot - and Bingo - a desktop.

    Looks all back to normal now.

    Reason for all the trouble was that I wanted to downgrade to Python 2.5.* since OpenERP can't work with Python 2.6 . I probably skip on OpenERP now, or install the server on Xp.
    ----------------------
    14.04 - finally working!

  10. #10
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Recovery from Ubuntu Live CD - how?

    Quote Originally Posted by flameproof View Post
    I went back to a boot to command line with net support and did:

    Code:
    sudo apt-get install ubuntu-desktop
    That got me 1 hour files to d/l, another 20 Minutes with some sort of updates, a new boot - and Bingo - a desktop.

    Looks all back to normal now.
    Ah right, glad you got that sorted.

    For future reference though, there's a huge difference between "my computer won't boot" and "my computer won't boot to a graphical desktop". If i'd known you were able to boot to the command line i'd have told you to try that straight away.

    But your machine is fixed now, so woo!

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
  •