Thursday, 29 June 2017

Adding and deleting kernel boot parameters with ''

Sometimes additional kernel boot parameters are required for successful booting to change specific behaviours and to enable or disable certain features (see

So I've added new functionality to my '' script to either delete the default kernel boot parameters or add additional kernel boot parameters or both.

The updated command line invocation is now:

Usage: /usr/local/bin/ [ -h | -v ]
       /usr/local/bin/ -i <ISO> [ [ -u | -k <kernel> ] | -r "<repo> ... " | -p "<pkg> ... " | -l "<pkg.deb> ... " | -f "<file> | <directory> ... " | [ -s <size>MB | GB ] | [ -b GRUB | rEFInd ] ...
       /usr/local/bin/ ... -w <directory> | -d "<pkg> ... " | -e "<pkg> ... " | -c "<cmd> ... " | -o "<file> | <directory> ... " | -g "" | "<kernel boot parameter> ... " ]

Kernel boot parameters are controlled by a new option:
-g or --grub will add the specified kernel boot parameters both to the GRUB/rEFInd boot menu and to the default GRUB settings or if an empty ("") argument is specified then the the ISO's initial kernel boot parameters will be removed.
The option can be entered either using the command line or by using the GUI.

The following is an example showing both the removal of the default kernel boot parameters (quiet splash) and the inclusion of two new kernel boot parameters: -i ubuntu-17.04-desktop-amd64.iso -g "" -g "i915.fastboot=1 fbcon=rotate:1"

The default kernel boot parameters are first removed by selecting the delete option: 

and the new kernel boot parameters are then added:

as text strings:

Once the script is running it will update the kernel boot parameters:

with the exact details being recorded in the log file:

Please donate if you find the script useful using the following link as everything helps with development costs.


  1. isorespin won't recognize ubuntu-17.04-server-amd64.iso as an Ubuntu flavor!

    1. Have a read of as my script only works with official desktop 64-bit ISOs.

  2. Thanks a lot - your Ubuntu 17.04-2.13 ISO command-line revived my laptop.