[Bug 1901553] Re: Improve documentation around initrdless boot

Łukasz Zemczak 1901553 at bugs.launchpad.net
Fri Aug 13 10:27:09 UTC 2021


Hello Dimitri, or anyone else affected,

Accepted grub2 into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu26.13 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: grub2 (Ubuntu Focal)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
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:
  Fix Released
Status in grub2 source package in Focal:
  Fix Committed

Bug description:
  [Impact]
  (sort of prerequisite of bug 1929860 to avoid having to edit the patches and possibly introduce bugs that way, because these changes port the service to systemd unit)

   * 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
     - for example minimal cloud image from https://cloud-images.ubuntu.com/minimal/releases/
     - boot without graphical terminal, i.e. -nographics qemu option
   * Upgrade to new grub package
   * Uncomment GRUB_TERMINAL=console in /etc/default/grub

   1. Call `sudo update-grub`, a message should be emitted that
  initrdless boot will be attempted.

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

   * Reboot

   * Observe the following:

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

   * Install linux-generic kernel flavour; and remove kvm 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