Bug #5944
closedBug #5943: grub fails to boot when too many boot environments are present
Related to 5943 (please merge)
0%
Description
This is related to bug 5943 and includes instructions how to reproduce. I'm not seeing a way to add these reproduction instructions to that bug, so I'm creating a new bug post on how to do so.
Instructions:cd /rpool/boot/grub/
cp menu.lst{,.bak}
cat menu.lst.bak >> menu.list
Reboot until the issue is experienced. For me, it was when menu.lst was greater than 100K.
It's possible that the menu.lst can become so big that you cannot even boot via grub command-line; forcing a live CD boot to manually cleanup the menu.lst receiving the following error:
grub> bootfs rpool/ROOT/omnios-r151014
Error 28: Selected item cannot fit into memory
Updated by Marcel Telka about 7 years ago
Josten, there should be the Edit link on the bug page pointing to https://www.illumos.org/issues/5943/edit. You need to be logged in to see it.