How to Fix broken Ubuntu Feisty Fawn

Sponsored Link
Ubuntu Development team released ubuntu feisty fawn on 19th April 2007 some of them started upgrading their edgy to feisty .If your feisty broken here is the procedure to fix that.

Boot up with a live cd, or ubuntu CD from a different partition.

Mount your feisty drive somewhere in this example i am mounting on /media/feisty

Create a directiory when do you want to mount

sudo mkdir /media/feisty

Mount your drive using the following command

sudo mount /dev/sda2 /media/feisty

(replace /dev/sda2 with name of drive, e.g. hda1 etc.)

chroot into your feisty drive.

sudo chroot /media/feisty su

Update your system via apt as normal. (sudo is not required)

apt-get update

apt-get upgrade

apt-get dist-upgrade

ctrl+d or type "exit" to exit the chroot, then reboot the computer and you should be able to get back into feisty.

Sometimes there will be no Internet connection in the chroot environment.

To correct this, we have to enter

sudo cp /etc/resolv.conf /media/feisty/etc/resolv.conf

Sponsored Link

You may also like...

13 Responses

  1. vertti says:

    Thanks, saved my day!


  2. dimeotane says:

    Sound like just what I need, but it can’t find “su”

    ubuntu@ubuntu:~$ sudo chroot /media/feisty su
    chroot: cannot run command `su’: No such file or directory

  3. dimeotane says:

    silly me, I had mounted the wrong partition. =p
    this is exactly what I needed to fix my bOrked feisty upgrade
    My laptop went to sleep during the install and messed it up!

  4. This would work great if my install hadn’t been ruined to the extent that everything (including su) segfaults. The install must have crashed when replacing a major library, I suppose. Over to the forums, I think!

    Cheers for this, though! I’ll following when my system is actually well enough to be repaired…

  5. Carl Goodwin says:

    My story:

    What happened:
    Synaptic upgrade Edgy->Feisty
    Hanged towards the end
    Couldn’t boot on restart

    Hit ESC to interrupt grub
    Selected on older kernel in recovery mode
    System booted to text interface as usual
    apt-get update
    (Actually it make me use dpkg but it worked anyway)
    apt-get upgrade
    apt-get dist-upgrade
    Feisty goodness

    Maybe I got lucky, but I hope it helps.

  6. Steve says:

    my root drive is an lvm partition, and the ubuntu live cd doesn’t seem to have lvm. any tips?

  7. Art Peck says:

    My problem is that I can’t seem to get a desktop (GDM) after login. The system boots fine, I get the Ubuntu login screen, I login fine but then all I get is blank, yellow (brown?) screen with a mouse pointer outlined in white. I can move the mouse pointer so I suspect that the Xserver is running fine. If I run top it will usually show ~ 73 processes, 1 running (top of course) and 72 sleeping! What the heck for? I want’em awake doing what they are supposed to do!

    ANY debug tips, RTFMs, anything at this point would be greatly appreciated. It does work sometimes, which encourages me to keep trying!


  8. Jim Tanis says:

    I had a similar problem with IBEX . I tried some of the above, but have no internet connection on the problem computer, and the procedure above does not work for me. I was interupted while doing an upgrade from HARDY to IBEX

    If I go to the restore function, and do the DPKG thing, it errors out after several tries. I think if I could get the internet that might work, but I am not sure how to get connected.

    Ideas? Or is this thread dead?

    Thanks! Jim Tanis

  9. 80aless says:

    any news? Is it possible to do
    apt-get install somepackages
    offline, getting the packages from the live cd?

  10. matey says:

    Used to put this in sources.list file and make it work;

    deb feisty-security main restricted
    deb-src feisty-security main restricted
    deb feisty-security universe
    deb-src feisty-security universe
    deb feisty-security multiverse
    deb-src feisty-security multiverse

  11. Jt says:

    Thank you, very much for this. I just used these instructions to rescue an install of Lucid.

  12. Ceezey says:

    Thank you – the resolve.conf bit did the trick for me!

Leave a Reply

Your email address will not be published. Required fields are marked *