- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Linux/Ubuntu/ブートしない へ行く。
- 1 (2016-05-31 (火) 14:41:53)
grubが壊れた場合 †
手順 †
boot-repairを使う
- USBでboot
- boot-repairで修復
- sudo add-apt-repository ppa:yannubuntu/boot-repair
- sudo apt-get update
- sudo apt-get install -y boot-repair
- boot-repair
- check
- /media/XXX
- reboot
Link †
- http://kledgeb.blogspot.jp/2013/11/ubuntu-boot-repair-1-os.html
- http://tylerhandstone.hateblo.jp/entry/2014/05/06/182839
kernelを消した場合 †
手順 †
- Ubuntu Server 14.XX をCDで起動
- "Rescue a broken system"を選択
- 修復したいOSのパーテーションの選択
- boot partitionの分割を聞かれる
- No (前の状態を踏まえる)
- "Excute a shell in /dev/ubuntu-vg/root"を選択
- コマンドラインが表示される
- resolv.confを作成
- mkdir /run/resolvconf/
- echo nameserver 8.8.8.8 > /run/resolvconf/resolv.conf
- kernelインストール
- apt-get update
- apt-get install linux-image-generic lvm2
- reboot
- boot-repairでgrubを修復
- reboot