OpenVZ Forum


Home » General » Support » Regenerate /boot/grub2/grub.cfg
Regenerate /boot/grub2/grub.cfg [message #53508] Fri, 03 May 2019 07:20 Go to previous message
javii is currently offline  javii
Messages: 14
Registered: October 2016
Junior Member
Hi,

I made some changes to /etc/default/grub and wanted to regenerate /boot/grub2/grub.cfg.

I have used grub2-mkconfig -o /boot/grub2/grub.cfg, but it detects kernels on containers:

[root@xxxx ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-957.10.1.vz7.85.17
Found initrd image: /boot/initramfs-3.10.0-957.10.1.vz7.85.17.img
Found linux image: /boot/vmlinuz-3.10.0-862.20.2.vz7.73.29
Found initrd image: /boot/initramfs-3.10.0-862.20.2.vz7.73.29.img
Found linux image: /boot/vmlinuz-3.10.0-862.11.6.vz7.64.7
Found initrd image: /boot/initramfs-3.10.0-862.11.6.vz7.64.7.img
Found linux image: /boot/vmlinuz-3.10.0-862.9.1.vz7.63.3
Found initrd image: /boot/initramfs-3.10.0-862.9.1.vz7.63.3.img
Found linux image: /boot/vmlinuz-3.10.0-693.21.1.vz7.48.2
Found initrd image: /boot/initramfs-3.10.0-693.21.1.vz7.48.2.img
Found linux image: /boot/vmlinuz-0-rescue-b2e055e14ad046a4aa729806b2a333a5
Found initrd image: /boot/initramfs-0-rescue-b2e055e14ad046a4aa729806b2a333a5.im g
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop10125p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop19562p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop22984p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop23428p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop33199p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop35810p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop46234p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop53660p1
Found Ubuntu 14.04.5 LTS (14.04) on /dev/ploop55076p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop57914p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop59002p1
Found CentOS Linux release 7.6.1810 (Core) on /dev/ploop60186p1
done


Is this a bug or this is not the correct way to regenerate /boot/grub2/grub.cfg?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ 7 node and container different kernel versions?
Next Topic: online container migration fails with Remote exception I/O operation on closed file
Goto Forum:
  


Current Time: Mon Aug 12 12:08:21 GMT 2024

Total time taken to generate the page: 0.02848 seconds