[Bug 1901553] [NEW] Improve documentation around initrdless boot

Dimitri John Ledkov 1901553 at bugs.launchpad.net
Mon Oct 26 14:30:52 UTC 2020


Public bug reported:

[Impact]

 * Sometimes it is not obvious why initrdless boot is generated; when is
it attempted; and when it fails and boots with initrd.

 * Improve UX by leaving breadcrumbs and emit messages about initrdless
boot, in more places

[Test Case]

 * Boot system with initrdless boot (such as AWS nitro-based instance type, i.e. c5.large)
 * Upgrade to new grub package
 * Reboot

 * Observe the following:

 1. Upon `sudo update-grub`, message is emitted that initrdless boot
will be attempted

 2. Inspecting /boot/grub/grub.cfg, there are comments that initrdless
boot will be attempted

 3. Inspecting console log, there are echo message from grub about
attempting initrdless boot.

 * Install linux-generic kernel flavour; and remove aws kernel flavour, reboot.
 * Observe in the console log

 1. There should be message about attempting initrdless boot
 2. kernel panic
 3. message about initrdless boot failing and attempting to boot with initrd

[Regression Potential]

 * This change adds a few more user visible message, without
translations. The actual behaviour that is happening is unchanged. This
simply better notifies users about what is happening, and can be
inspected interactively, statically, and from boot logs.

[Other Info]

 * CPC requested these UX improvements, as there have been concerns that
users are failing to discover why initrdless boot is happening; or
failing; and how to effect it.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1901553

Title:
  Improve documentation around initrdless boot

Status in grub2 package in Ubuntu:
  New

Bug description:
  [Impact]

   * Sometimes it is not obvious why initrdless boot is generated; when
  is it attempted; and when it fails and boots with initrd.

   * Improve UX by leaving breadcrumbs and emit messages about
  initrdless boot, in more places

  [Test Case]

   * Boot system with initrdless boot (such as AWS nitro-based instance type, i.e. c5.large)
   * Upgrade to new grub package
   * Reboot

   * Observe the following:

   1. Upon `sudo update-grub`, message is emitted that initrdless boot
  will be attempted

   2. Inspecting /boot/grub/grub.cfg, there are comments that initrdless
  boot will be attempted

   3. Inspecting console log, there are echo message from grub about
  attempting initrdless boot.

   * Install linux-generic kernel flavour; and remove aws kernel flavour, reboot.
   * Observe in the console log

   1. There should be message about attempting initrdless boot
   2. kernel panic
   3. message about initrdless boot failing and attempting to boot with initrd

  [Regression Potential]

   * This change adds a few more user visible message, without
  translations. The actual behaviour that is happening is unchanged.
  This simply better notifies users about what is happening, and can be
  inspected interactively, statically, and from boot logs.

  [Other Info]

   * CPC requested these UX improvements, as there have been concerns
  that users are failing to discover why initrdless boot is happening;
  or failing; and how to effect it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1901553/+subscriptions



More information about the foundations-bugs mailing list