Bug ID 942401: After 'mosreboot', MOS fails to update grub default boot location back to TMOS

Last Modified: Jun 10, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
13.1.0,,,,,,,,, 13.1.1,,,,, 13.1.3,,,,,,, 13.1.4,, 14.0.0,,,,,, 14.0.1,, 14.1.0,,,,,, 14.1.2,,,,,,,,, 14.1.3,, 14.1.4,,,

Opened: Sep 03, 2020
Severity: 4-Minor


MOS fails to update the grub boot location and reports errors: [ 21.85823] setup[697]: Use of uninitialized value $l_id in concatenation (.) or string at /usr/share/perl5/tm_install/Process.pm line 2739. [ 21.87256] setup[697]: error: boot entry .4 does not exist [ 21.87629] setup[697]: info: Switching to TMOS .4 for default boot selection.


The 'mosreboot' results are not temporary, and rebooting from MOS when done causes the system to boot back into MOS again.


When the 'mosreboot' command is given, the following three actions occur: 1. Updates the grub default boot location to point at MOS. 2. Reboots. 3. Within MOS, updates the grub default to point back at the previous (TMOS) boot location. Step 3 does not occur in the following scenario: -- The MOS version is from v15.0.0 or later. -- BIG-IP system is from v14.1.x or earlier.


Use grub_default, or select a different boot location from the GRUB menu during boot. switch_root:/# grub_default -l HD1.3 active no default no title BIG-IP Build 0.0.4 <HD1.3> HD1.4 active no default no title BIG-IP Build 0.0.2 <HD1.4> switch_root:/# grub_default -b HD1.4 info: default boot location changed to HD1.4. [ 200.103744] EXT4-fs (dm-0): mounting ext2 file system using the ext4 subsystem [ 200.112743] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null) switch_root:/#

Fix Information


Behavior Change