Return to the main BootOptions page


Summary

Example

The usage of boot options has changed in the Ubuntu Vivid 15.04 mini.iso alias netboot, and in this case the boot option forcepae must be used twice to work with Celeron M and Pentium M processors.

See comments #12-15 of the bug report #1422675

New way to use boot options

This new way to use boot options is general, and should be used with other boot options too. It is present in Ubuntu Server 14.04.2 LTS, but it has not trickled down to the desktop installer (yet?).


Q: Is this new usage of boot options general?

  • The entry before -- means that it will be used by the live system / the installer
  • The entry after -- means that it will be carried to and used by the installed system

A: Yes that is correct.


Sometimes the boot option must be entered twice

Explanation and solution of the problem of the example

The problem is not PAE, the problem is that the kernel parameters parser was changed as a result of the systemd debug params controversy.

You need to repeat the 'forcepae' twice in the linux kernel parameters, before and after the -- i.e.:

        linux ... forcepae -- forcepae

Kernel patch that changed the previous behaviour was:

        commit 51e158c
        Author: Rusty Russell <rusty@rustcorp.com.au>
        Date: Mon Apr 28 11:34:33 2014 +0930
            param: hand arguments after -- straight to init

        The kernel parses parameters from the kernel command line up to "--";
        if it doesn't recognize a parameter and it doesn't contain a '.', the
        parameter gets passed to init: parameters with '=' go into init's
        environment, others are passed as command line arguments to init.
        Everything after "--" is passed as an argument to init.

With "forcepae -- forcepae" I did a full install of the Vivid ISO link above. It worked ok.

(There was a non-related bug, Ubuntu/grub puts "vt.handoff=7" in grub.cfg which causes a black screen on boot - looks like bug #913731 or some related regression).

Ubuntu Vivid 15.04 daily 32-bit mini.iso

When testing the Ubuntu Vivid daily 32-bit mini.iso (dated 2015-02-09) in a IBM Thinkpad T42 with Pentium M, it has worked too with this double boot option.

Clicking tab to get to the boot line.

And editing the boot line from

> linux vga=788 initrd=initrd.gz -- quiet

to

> linux vga=788 initrd=initrd.gz forcepae -- quiet forcepae

and the installation of a minimal text system worked for me.

Lubuntu 14.04.2 LTS and 16.04.1 LTS

For the Lubuntu trusty-alternate-i386.iso, 14.04.2 LTS and newer versions in the same IBM Thinkpad T42 with Pentium M, this bug is squashed here too with this double boot option.

Clicking F6 and ESC to get to the boot line and changed the end of it from

... quiet --

to

... quiet forcepae -- forcepae

But the other red bug 1417918 must be solved by other methods.

The corresponding Lubuntu desktop installer works with the single boot option

... quiet -- forcepae

The syntax with the double boot option works with the desktop installer too - tested (2016-10-17) with Lubuntu 16.04.1 LTS in the same IBM Thinkpad T42 with Pentium M. The test also verified that it was possible to run

sudo apt-get update
sudo apt-get dist-upgrade

in the installed system and upgrade the xenial kernel from 4.4.0-31 of the iso file to the current version 4.4.0.43.

General description of the new way to use boot options

Question:

Is this new usage of boot options general?

  • The entry before -- means that it will be used by the live system / the installer
  • The entry after -- means that it will be carried to and used by the installed system

Answer:

Yes that is correct.

Final comment

Notice that we have found this new method during testing of the following ISO files that are released,

  • Ubuntu Server 14.04.2 LTS (tested with forcepae in the 32-bit version)

We have also found this new method during testing of the following ISO files that were not released when tested,

  • Ubuntu Vivid 15.04 mini.iso - (which was released in April)
  • Lubuntu Trusty 14.04.2 alternate ISO (which was not released due to show-stopping bugs)
  • Lubuntu Vivid 15.04 alternate beta 1 ISO (dated 20150224, was released in April)

where you must enter the boot option forcepae twice, for example

... forcepae -- forcepae

But since it is due to introducing systemd into Ubuntu, we can expect entering boot options twice to become the standard soon, maybe generally in 15.04 and maybe in 14.04.3 and later versions.

The new syntax for boot options affects (or at least will affect) standard Ubuntu (with Unity) and all the flavours. The particular issue with forcepae also affects them all, but in practical life, most people who run the old computers with Celeron M and Pentium M computers want a light desktop environment like Ubuntu Mate and Xubuntu, or even better, an ultra light desktop environment, Lubuntu.

Summary: this workaround suits Ubuntu and all Ubuntu derivatives.


Return to the main BootOptions page

BootOptions/before--after (last edited 2016-10-17 07:29:20 by h196n2)