OpenVZ Forum


Home » General » Support » Regenerate /boot/grub2/grub.cfg
Re: Regenerate /boot/grub2/grub.cfg [message #53518 is a reply to message #53508] Mon, 13 May 2019 11:15 Go to previous messageGo to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi,

javii wrote on Fri, 03 May 2019 10:20
Is this a bug or this is not the correct way to regenerate /boot/grub2/grub.cfg?


/etc/grub.d/30_os-prober calls /usr/bin/os-prober which detects that ploop devices for running (mounted) Containers contain linux distributives,
so grub2-mkconfig should consider creating a menu entry to it.

But a bit later /etc/grub.d/30_os-prober calls "linux-boot-prober" for ploop devices which detects that ploop devices are not marked a boot devices,
so grub entries are not needed to them.

So, nothing to worry about here: yes, grub detects Linux distro is installed on ploop devices,
but grub is wise enough to check the devices is not bootable and does not create redundant menu entries.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
 
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: Sat Jul 19 09:15:31 GMT 2025

Total time taken to generate the page: 0.05275 seconds