ブログアーカイブ
Ubuntu kernel
Ubuntu でカーネルに問題があるために起動できなくなった時の対処法です。
Live CDからUbuntuを起動します。Try Ubuntu without installingを選択します。端末(Terminal)を開きます。
sudo mount /dev/sdXX /mnt
を実行します。sdXXは対応するドライブを指定します。
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
cp /etc/resolv.conf /mnt/etc/resolv.conf
apt-get install linux-image-generic
を実行します。以下のエラーメッセージが表示される場合があります。
ImportError: No module named gi
sudo nano /usr/bin/gnome-tweak-tool
を実行します。
exit
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev
sudo umount /mnt
sudo reboot
http://askubuntu.com/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels
http://askubuntu.com/questions/80448/what-would-cause-the-gi-module-to-be-missing-from-python