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)
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
Incoming search terms:
- fix broken ubuntu
- SingletonLock: 文件已存在
- Failed to create /home/zhangsy/ config/google-chrome/SingletonLock: 文件已存在 [27736:27736:0325/101952:ERROR:chrome_browser_main cc(1173)]
- ubuntu Broken link