How to Fix broken Ubuntu Feisty Fawn
Posted by admin on April 9th, 2007
Email This Post
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
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


April 9th, 2007 at 4:58 am
Keep this handy if you are installing Feisty….
You will probably not need this since your installation will be going so well. But a friend who is new to Ubuntu might. Be the hero and show them this to help them get out of a sticky mess….
April 17th, 2007 at 10:12 am
Thanks, saved my day!
–v
April 19th, 2007 at 2:30 am
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
April 19th, 2007 at 2:36 am
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!
April 23rd, 2007 at 8:04 pm
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…
May 1st, 2007 at 2:17 am
My story:
What happened:
Synaptic upgrade Edgy->Feisty
Hanged towards the end
Couldn’t boot on restart
Workaround:
Rebooted
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
Rebooted
Feisty goodness
Maybe I got lucky, but I hope it helps.
May 1st, 2007 at 3:51 am
my root drive is an lvm partition, and the ubuntu live cd doesn’t seem to have lvm. any tips?
June 18th, 2007 at 10:01 pm
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!
Art