CentOS unable to boot after installed vmtools

|
  • 218
  • 10

Issue Description

CentOS unable to boot after installed vmtools, it boot into kernel panic.
Further troubleshoot found out when disabled support virtio it able to boot normally.

Error/Warning Information

Handling Process

1. Login to the CentOS with root account.
2. /etc/fstab is using disk label for mount, the configuration is match with the environment.
3. Check /boot/grub/grub.conf and found that it is using disk name for the boot option, where lead to the kernel panic.
4. Modify the grub.conf, temporary change the sda5 to vda5.

5. After that this CentOS able to boot normally with virtio enabled.

Root Cause

When virtio is enabled, the disk name will change to /dev/vdX automatically.
If the grub.conf content is using disk name, it will cause issue as the disk name is not available.

Solution

As handling Process.

Suggestions

It is suggested to use disk label or disk UUID for /etc/fstab and grub.conf as it will remain the same after hardware changes(migration to other platform or using different driver).
Faisal Piliang Posted 12 May 2022 12:00
  
Raza Islam Lv3Posted 08 Jun 2022 19:25
  
Thanks for sharing.
Raza Islam Lv3Posted 19 Jul 2022 19:38
  
thanks for command.
Raza Islam Lv3Posted 22 Jul 2022 15:49
  
Thanks for sharing info.
Naghmana Lv1Posted 20 Aug 2022 14:09
  
Thanks for the info.
Faisal P Posted 16 Sep 2022 23:48
  
Thank you very much for the information ...
Faisal P Posted 16 Sep 2022 23:48
  
Nice article ...
Faisal P Posted 16 Sep 2022 23:49
  
Great info ...
Faisal P Posted 16 Sep 2022 23:49
  
Very informative ...

I want to write a case
Doc ID: 5931
Author: Sangfor_Zheng
Updated: 2022-04-12 11:25
Version: