今日將兩台工作站從 OpenSUSE 12.2 升級至 12.3
不料其中一台在升級完成後卻無法開機
研判似乎是 GRUB 損毀了
動作:使用 OpenSUSE 12.3 Rescue CD 修復 GRUB
Step.1 Download OpenSUSE 12.3 Rescue CD ISO file and burn.
Step.2 Boot using rescue CD
Step.3 Check & active LVM
$ vgscan $ vgchange -ay system # system is my volume group name
Step.4 mount original OS
$ mount /dev/mapper/system-root /mnt $ mount /dev/sda1 /mnt/boot $ mount --bind /dev /mnt/dev $ mount --bind /proc /mnt/proc
Step.5 chroot and rebuild GRUB
$ chroot /mnt $ yast bootloader
Step.6 using yast-bootloader to rebuild GRUB
Step.7 reboot
Done!