After P2V (vmware Converter Standalone), RedHat Linux Server Can not boot.
error message:setuproot: moving /dev failed: No such file or directory
mount: could not find filesystem '/dev/root'
setuproot: error mounting /proc: No such file or directory
setuproot: error mount /sys: No such file or directory
switchroot: mount filed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
- Boot from RHEL Installation media.
- F5 --> linux rescue
- chroot /mnt/sysimage/
recover boot image.
1. backup boot image
mv /boot/initrd-2.6.18-128.el5xen.img backup_initrd-2.6.18-128.el5xen.img
2. build new boot image
/sibn/mkinitrd /boot/initrd-2.6.18-128.el5xen.img 2.6.18-128.el5xen
3. exit
reboot.
沒有留言:
張貼留言