Results 1 to 4 of 4

Thread: I broke Ubuntu

  1. #1
    Join Date
    Jan 2008
    Beans
    99

    I broke Ubuntu

    Hi,

    I press alt+F5 or something and Ubuntu crashed. I held the power button down to turn the computer off then restarted it.

    I now see the following.

    BosyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
    Enter 'help' for a list of built-in commands

    I can type commands.

    When I use exit I get a bunch of codes then 'panic occurred, switching back to text console'

    Any ideas how I restore the GUI?

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: I broke Ubuntu

    If you pressed Ctrl+Alt+F5, you just switched to a virtual terminal. Pressing Alt+F7 should get you back to the graphical interface from there; no need to hard reset.

    For now though, you'll need to run fsck on your root partition. Get a LiveCD/USB (the one you used to install Ubuntu will do fine), boot into the "Try" mode, and then run

    Code:
    sudo e2fsck /dev/sd##
    replace ## with the actual device ID -- you can find that out by running

    Code:
    sudo blkid
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #3
    Join Date
    Jan 2008
    Beans
    99

    Re: I broke Ubuntu

    OK I tried what you said.

    When I tried it on the first device it said:

    Device or resource busy while trying to open /dev/sda1
    Filesystem mounted or opened exclusively by another program?
    I then ran it on the second

    /dev/sda5 is mounted

    WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage.

    y/n
    I don't know what you think but I think the second command may cause damage .

    Any other ideas?

  4. #4
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: I broke Ubuntu

    Did you boot to the liveCD? Running those commands when you're booted into your installation is not advisable, as the warning says.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

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
  •