How to fix GRUB initramdisk

From HyperSecurity Wiki
Revision as of 00:03, 1 February 2016 by 24.84.196.44 (talk)
Jump to: navigation, search

When converting a physical live machine to vmware using vmware converter, there can be issues with booting due to how vmware recreates the initrd and grub.cfg. To fix this, do the following:

System Rescue CD Download

Boot the live CD and press option "E" to boot the / (root) parition

Once booted to a full OS, login to the OS as root and run the following in order:

update-initramfs -t -k all -u
update-grub 

This will update the initramfs as well as the grub.cfg file to match the new initrd. Reboot to confirm grub and booting is fixed.

RedHat:

https://wiki.centos.org/TipsAndTricks/CreateNewInitrd