Bug ID 649728: 'mkdisk' utility can fail when creating bootable USBs on older running versions of BIG-IP

Last Modified: Jul 12, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1

Fixed In:

Opened: Mar 08, 2017

Severity: 4-Minor


Running the 'mkdisk' utility packaged with the BIG-IP ISO on older versions of BIG-IP (v11.4.X and earlier) fails with the following error: error: tm_install::RemovableDevice::FormatPartitioned - unable to parse version of 'sfdisk'


Unable to run 'mkdisk' utility on affected versions of BIG-IP.


Run 'mkdisk' utility on v11.4.X or earlier, or any system where the output of '/sbin/sfdisk --version' has the form: sfdisk (util-linux <version>) rather than: sfdisk from util-linux <version>


Warning: This involves editing the contents of /sbin and remounting a system-critical read-only filesystem as read-write, so proceed with caution if you decide to try this. 1. Run 'mount -o remount,rw /usr' 2. Run 'mv /sbin/sfdisk /sbin/sfdisk.bin' 2. Create a shell wrapper script like this at /sbin/sfdisk: #!/bin/bash if [ "$1" == "--version" ]; then printf "sfdisk from util-linux 2.13.1" else /sbin/sfdisk.bin $@ fi

Fix Information

'mkdisk' utility no longer fails on older running versions of BIG-IP due to errors parsing 'sfdisk' version

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips