to boot your system with a live-cd like systemrescuecd.

mkdir /mnt/temp

mount /dev/xvda2 /mnt/temp/

   mount: unknown filesystem type 'LVM2_member' 
   yum install lvm2
   modprobe dm-mod 
   vgchange -ay VolGroup00
   fdisk -l
   mount /dev/VolGroup00/LogVol00 /mnt/temp/ 

mount /dev/xvda1 /mnt/temp/boot

mount --bind /proc /mnt/temp/proc

mount --bind /sys /mnt/temp/sys

mount --bind /dev /mnt/temp/dev

chroot /mnt/temp /bin/bash

grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-install /dev/sda

'System > Linux' 카테고리의 다른 글

linux - reinstall GRUB2  (0) 2019.05.12
Fedora - locale: Cannot set LC_ALL to default locale: No such file or directory  (0) 2019.04.23
linux - load  (0) 2018.08.25
linux - process state  (0) 2018.08.25
linux - free  (0) 2018.08.25
linux - run queue  (0) 2018.08.25
Posted by linuxism