Re: Virtual Machine converted from physical : Kernel Panic at boot .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/17/2013 2:06 PM, Gregory Machin wrote:
> I deleted the directories and recreated as above but no luck.

In similar conversions I've done in the past, I've found that the server
I've converted from is using a different SCSI driver that isn't
compatible with the VMware virtual SCSI devices.

I assume you're booting from ISO into the rescue environment to check
the things that have already been suggested. When you do, does the
installer find the existing Linux installation and mount it correctly?
If so, try:

1. Boot from an ISO into the rescue environment and have the installer
mount your system on /mnt/sysimage

2. Bind mount the /dev and /proc filesystems into the recovered image:

mount -o bind /dev /mnt/sysimage/dev
mount -o bind /proc /mnt/sysimage/proc

3. chroot to your installed system:

chroot /mnt/sysimage

4. Save your existing initrd, just in case:

mv /boot/initrd-KERNELVERSION.img /boot/initrd-KERNELVERSION.img.save

5. Create a new initrd:

mkinitrd /boot/initrd-KERNELVERSION.img KERNELVERSION

6. Exit out of the rescue environment, reboot, and hope for the best..


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux