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 
   vgscan
   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 - plank.desktop  (0) 2017.12.15
linux - dnf broken  (0) 2016.12.04
fedora - 한영전환키 등록 화면 in fedora 23  (0) 2015.12.30
linux - env  (0) 2015.07.09
Posted by linuxism

댓글을 달아 주세요