Friday, November 13, 2015

centos lvm to ext3 fs grub2 follies

dracut-initqueue[222]: Warning: Could not boot.
no

 sudo mount /dev/sda2 /mnt  
 sudo mount --bind /dev /mnt/dev  
 sudo mount --bind /sys /mnt/sys  
 sudo mount --bind /proc /mnt/proc  
 sudo mount /dev/sda1 /mnt/boot  
 sudo chroot /mnt  
   
 mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-oh_crud.img   
 dracut /boot/initramfs-$(uname -r).img $(uname -r)   

No comments: