Improve documentation around initrdless boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
In Progress
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
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:/
- boot without graphical terminal, i.e. -nographics qemu option
* Upgrade to new grub package
* Uncomment GRUB_TERMINAL=
1. Call `sudo update-grub`, a message should be emitted that initrdless boot will be attempted.
2. Inspecting /boot/grub/
* 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.
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 30150 lines (+20897/-1697)129 files modifieddebian/build-efi-images (+14/-9)
debian/canonical-uefi-ca.crt (+25/-0)
debian/changelog (+1325/-0)
debian/control (+17/-14)
debian/dirs.in (+1/-0)
debian/grub-check-signatures (+129/-0)
debian/grub-common.dirs (+1/-0)
debian/grub-common.install.in (+4/-0)
debian/grub-common.service (+15/-0)
debian/grub-common.templates (+53/-0)
debian/grub-efi-amd64-bin.maintscript.in (+1/-0)
debian/grub-efi-arm64-bin.maintscript.in (+1/-0)
debian/grub-multi-install (+417/-0)
debian/patches/0076-ubuntu-Make-the-linux-command-in-EFI-grub-always-try.patch (+117/-0)
debian/patches/0241-Call-hwmatch-only-on-the-grub-pc-platform.patch (+47/-0)
debian/patches/cherrypick-efi-grub_efi_close_protocol.patch (+79/-0)
debian/patches/cherrypick-efinet-correct-closing-snp-protocol.patch (+106/-0)
debian/patches/efi-variable-storage-minimise-writes.patch (+3/-3)
debian/patches/gfxpayload-dynamic.patch (+1/-1)
debian/patches/grub-install-pvxen-paths.patch (+3/-3)
debian/patches/install-efi-adjust-distributor.patch (+1/-1)
debian/patches/install-powerpc-machtypes.patch (+1/-1)
debian/patches/no-insmod-on-sb.patch (+45/-0)
debian/patches/pc-verifiers-module.patch (+1/-1)
debian/patches/rhboot-f34-dont-use-int-for-efi-status.patch (+23/-0)
debian/patches/rhboot-f34-efinet-also-use-the-firmware-acceleration-for-http.patch (+26/-0)
debian/patches/rhboot-f34-make-exit-take-a-return-code.patch (+268/-0)
debian/patches/rhboot-f34-make-pmtimer-tsc-calibration-fast.patch (+213/-0)
debian/patches/series (+47/-5)
debian/patches/suse-AUDIT-0-http-boot-tracker-bug.patch (+68/-0)
debian/patches/suse-add-support-for-UEFI-network-protocols.patch (+4941/-0)
debian/patches/suse-grub.texi-add-net_bootp6-document.patch (+49/-0)
debian/patches/ubuntu-add-devicetree-command-support.patch (+51/-0)
debian/patches/ubuntu-add-initrd-less-boot-fallback.patch (+214/-0)
debian/patches/ubuntu-add-initrd-less-boot-messages.patch (+68/-0)
debian/patches/ubuntu-boot-from-multipath-dependent-symlink.patch (+68/-0)
debian/patches/ubuntu-dont-verify-loopback-images.patch (+36/-0)
debian/patches/ubuntu-efi-allow-loopmount-chainload.patch (+126/-0)
debian/patches/ubuntu-fix-lzma-decompressor-objcopy.patch (+29/-0)
debian/patches/ubuntu-fix-reproducible-squashfs-test.patch (+30/-0)
debian/patches/ubuntu-flavour-order.patch (+60/-0)
debian/patches/ubuntu-grub-install-extra-removable.patch (+64/-38)
debian/patches/ubuntu-install-signed.patch (+33/-30)
debian/patches/ubuntu-linuxefi-arm64-set-base-addr.patch (+68/-0)
debian/patches/ubuntu-linuxefi-arm64.patch (+184/-0)
debian/patches/ubuntu-linuxefi.patch (+2579/-0)
debian/patches/ubuntu-mkconfig-leave-breadcrumbs.patch (+28/-0)
debian/patches/ubuntu-recovery-dis_ucode_ldr.patch (+83/-0)
debian/patches/ubuntu-resilient-boot-boot-order.patch (+230/-0)
debian/patches/ubuntu-resilient-boot-ignore-alternative-esps.patch (+207/-0)
debian/patches/ubuntu-shorter-version-info.patch (+40/-0)
debian/patches/ubuntu-skip-disk-by-id-lvm-pvm-uuid-entries.patch (+58/-0)
debian/patches/ubuntu-speed-zsys-history.patch (+157/-0)
debian/patches/ubuntu-support-initrd-less-boot.patch (+81/-0)
debian/patches/ubuntu-temp-keep-auto-nvram.patch (+38/-0)
debian/patches/ubuntu-zfs-enhance-support.patch (+1047/-0)
debian/patches/ubuntu-zfs-gfxpayload-dynamic.patch (+95/-0)
debian/patches/ubuntu-zfs-gfxpayload-keep-default.patch (+38/-0)
debian/patches/ubuntu-zfs-insmod-xzio-and-lzopio-on-xen.patch (+32/-0)
debian/patches/ubuntu-zfs-maybe-quiet.patch (+72/-0)
debian/patches/ubuntu-zfs-mkconfig-recovery-title.patch (+49/-0)
debian/patches/ubuntu-zfs-mkconfig-signed-kernel.patch (+51/-0)
debian/patches/ubuntu-zfs-mkconfig-ubuntu-distributor.patch (+36/-0)
debian/patches/ubuntu-zfs-mkconfig-ubuntu-recovery.patch (+66/-0)
debian/patches/ubuntu-zfs-quick-boot.patch (+50/-0)
debian/patches/ubuntu-zfs-vt-handoff.patch (+77/-0)
debian/patches/uefi-secure-boot-cryptomount.patch (+2/-2)
debian/patches/zstd-require-8-byte-buffer.patch (+63/-0)
debian/po/ar.po (+99/-18)
debian/po/ast.po (+107/-18)
debian/po/be.po (+118/-18)
debian/po/bg.po (+119/-18)
debian/po/ca.po (+120/-18)
debian/po/cs.po (+118/-18)
debian/po/cy.po (+109/-18)
debian/po/da.po (+119/-18)
debian/po/de.po (+122/-18)
debian/po/dz.po (+107/-18)
debian/po/el.po (+120/-18)
debian/po/eo.po (+118/-18)
debian/po/es.po (+119/-18)
debian/po/eu.po (+118/-18)
debian/po/fa.po (+108/-18)
debian/po/fi.po (+118/-18)
debian/po/fr.po (+120/-18)
debian/po/gl.po (+108/-18)
debian/po/gu.po (+106/-18)
debian/po/he.po (+117/-18)
debian/po/hr.po (+118/-18)
debian/po/hu.po (+109/-18)
debian/po/id.po (+107/-18)
debian/po/is.po (+119/-18)
debian/po/it.po (+120/-18)
debian/po/ja.po (+119/-18)
debian/po/ka.po (+87/-18)
debian/po/kk.po (+119/-18)
debian/po/km.po (+106/-18)
debian/po/ko.po (+118/-18)
debian/po/lt.po (+118/-18)
debian/po/lv.po (+118/-18)
debian/po/mr.po (+117/-18)
debian/po/nb.po (+119/-18)
debian/po/nl.po (+120/-18)
debian/po/pl.po (+120/-18)
debian/po/pt.po (+120/-18)
debian/po/pt_BR.po (+120/-18)
debian/po/ro.po (+119/-18)
debian/po/ru.po (+118/-18)
debian/po/si.po (+106/-18)
debian/po/sk.po (+107/-18)
debian/po/sl.po (+118/-18)
debian/po/sq.po (+105/-18)
debian/po/sr.po (+107/-18)
debian/po/sr@latin.po (+107/-18)
debian/po/sv.po (+119/-18)
debian/po/ta.po (+106/-18)
debian/po/templates.pot (+87/-18)
debian/po/th.po (+117/-18)
debian/po/tr.po (+118/-18)
debian/po/ug.po (+119/-18)
debian/po/uk.po (+118/-18)
debian/po/vi.po (+119/-18)
debian/po/zh_CN.po (+105/-18)
debian/po/zh_TW.po (+116/-18)
debian/postinst.in (+96/-12)
debian/rules (+93/-10)
debian/sbat.ubuntu.csv.in (+3/-0)
debian/templates.in (+78/-8)
dev/null (+0/-551)
- Ubuntu Core Development Team: Pending requested
-
Diff: 368 lines (+323/-1)6 files modifieddebian/changelog (+30/-0)
debian/grub-common.service (+15/-0)
debian/patches/series (+2/-0)
debian/patches/ubuntu-add-initrd-less-boot-fallback.patch (+209/-0)
debian/patches/ubuntu-add-initrd-less-boot-messages.patch (+66/-0)
debian/rules (+1/-1)
- Dimitri John Ledkov: Pending requested
-
Diff: 176 lines (+110/-5)5 files modifieddebian/changelog (+22/-0)
debian/grub-common.service (+15/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu-add-initrd-less-boot-fallback.patch (+6/-5)
debian/patches/ubuntu-add-initrd-less-boot-messages.patch (+66/-0)
- David Krauser (community): Approve
- Steve Langasek: Pending requested
- Ubuntu Core Development Team: Pending requested
-
Diff: 164 lines (+92/-2)6 files modifieddebian/.git-dpm (+2/-2)
debian/changelog (+9/-0)
debian/grub-common.service (+14/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu-add-initrd-less-boot-messages.patch (+56/-0)
util/grub.d/10_linux.in (+10/-0)
- Ubuntu Core Development Team: Pending requested
-
Diff: 43648 lines (+27070/-3040)374 files modifiedINSTALL (+2/-20)
Makefile.am (+3/-0)
Makefile.util.def (+7/-0)
configure.ac (+12/-2)
debian/.git-dpm (+2/-2)
debian/build-efi-images (+9/-4)
debian/canonical-uefi-ca.crt (+25/-0)
debian/changelog (+1029/-0)
debian/control (+10/-6)
debian/gettext-patches/0001-Support-POTFILES-shell.patch (+54/-0)
debian/gettext-patches/0002-Handle-gettext_printf-shell-function.patch (+46/-0)
debian/gettext-patches/0003-Make-msgfmt-output-in-little-endian.patch (+34/-0)
debian/gettext-patches/0004-Use-SHELL-rather-than-bin-sh.patch (+26/-0)
debian/grub-check-signatures (+129/-0)
debian/grub-common.dirs (+1/-0)
debian/grub-common.install.in (+4/-0)
debian/grub-common.service (+14/-0)
debian/grub-common.templates (+53/-0)
debian/grub-multi-install (+417/-0)
debian/patches/0074-uefi-firmware-rename-fwsetup-menuentry-to-UEFI-Firmw.patch (+26/-0)
debian/patches/0075-smbios-Add-a-linux-argument-to-apply-linux-modalias-.patch (+86/-0)
debian/patches/0076-ubuntu-Make-the-linux-command-in-EFI-grub-always-try.patch (+118/-0)
debian/patches/0077-ubuntu-Update-the-linux-boot-protocol-version-check.patch (+25/-0)
debian/patches/0081-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch (+66/-0)
debian/patches/0082-safemath-Add-some-arithmetic-primitives-that-check-f.patch (+120/-0)
debian/patches/0083-calloc-Make-sure-we-always-have-an-overflow-checking.patch (+239/-0)
debian/patches/0084-calloc-Use-calloc-at-most-places.patch (+1833/-0)
debian/patches/0085-malloc-Use-overflow-checking-primitives-where-we-do-.patch (+1319/-0)
debian/patches/0086-iso9660-Don-t-leak-memory-on-realloc-failures.patch (+65/-0)
debian/patches/0087-font-Do-not-load-more-than-one-NAME-section.patch (+34/-0)
debian/patches/0088-gfxmenu-Fix-double-free-in-load_image.patch (+32/-0)
debian/patches/0089-lzma-Make-sure-we-don-t-dereference-past-array.patch (+48/-0)
debian/patches/0090-tftp-Do-not-use-priority-queue.patch (+279/-0)
debian/patches/0091-script-Remove-unused-fields-from-grub_script_functio.patch (+29/-0)
debian/patches/0092-script-Avoid-a-use-after-free-when-redefining-a-func.patch (+104/-0)
debian/patches/0093-hfsplus-fix-two-more-overflows.patch (+53/-0)
debian/patches/0094-lvm-fix-two-more-potential-data-dependent-alloc-over.patch (+98/-0)
debian/patches/0095-efi-fix-some-malformed-device-path-arithmetic-errors.patch (+247/-0)
debian/patches/0096-linuxefi-fail-kernel-validation-without-shim-protoco.patch (+90/-0)
debian/patches/0097-Fix-a-regression-caused-by-efi-fix-some-malformed-de.patch (+84/-0)
debian/patches/0098-efi-Fix-use-after-free-in-halt-reboot-path.patch (+175/-0)
debian/patches/0099-chainloader-Avoid-a-double-free-when-validation-fail.patch (+42/-0)
debian/patches/0100-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch (+146/-0)
debian/patches/0101-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch (+334/-0)
debian/patches/0102-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch (+42/-0)
debian/patches/0103-linux-loader-avoid-overflow-on-initrd-size-calculati.patch (+25/-0)
debian/patches/0104-linux-Fix-integer-overflows-in-initrd-size-handling.patch (+165/-0)
debian/patches/0105-efilinux-Fix-integer-overflows-in-grub_cmd_initrd.patch (+50/-0)
debian/patches/at_keyboard-module-init.patch (+2/-2)
debian/patches/bash-completion-drop-have-checks.patch (+2/-2)
debian/patches/blacklist-1440x900x32.patch (+2/-2)
debian/patches/bootp-new-net_bootp6-command.patch (+4/-4)
debian/patches/bootp-process-dhcpack-http-boot.patch (+3/-3)
debian/patches/cherrypick-lsefisystab-define-smbios3.patch (+45/-0)
debian/patches/cherrypick-lsefisystab-show-dtb.patch (+40/-0)
debian/patches/cherrypick-smbios-module.patch (+771/-0)
debian/patches/core-in-fs.patch (+1/-1)
debian/patches/default-grub-d.patch (+3/-3)
debian/patches/disable-floppies.patch (+1/-1)
debian/patches/dpkg-version-comparison.patch (+1/-1)
debian/patches/efi-variable-storage-minimise-writes.patch (+19/-19)
debian/patches/efinet-set-dns-from-uefi-proto.patch (+3/-3)
debian/patches/efinet-set-network-from-uefi-devpath.patch (+3/-3)
debian/patches/efinet-uefi-ipv6-pxe-support.patch (+3/-3)
debian/patches/gettext-quiet.patch (+2/-2)
debian/patches/gfxpayload-dynamic.patch (+88/-9)
debian/patches/gfxpayload-keep-default.patch (+23/-7)
debian/patches/grub-install-backup-and-restore.patch (+175/-0)
debian/patches/grub-install-pvxen-paths.patch (+4/-4)
debian/patches/grub-legacy-0-based-partitions.patch (+1/-1)
debian/patches/grub.cfg-400.patch (+1/-1)
debian/patches/ieee1275-clear-reset.patch (+2/-2)
debian/patches/ignore-grub_func_test-failures.patch (+2/-2)
debian/patches/insmod-xzio-and-lzopio-on-xen.patch (+18/-5)
debian/patches/install-efi-fallback.patch (+2/-2)
debian/patches/install-efi-ubuntu-flavours.patch (+2/-2)
debian/patches/install-locale-langpack.patch (+2/-2)
debian/patches/install-powerpc-machtypes.patch (+7/-7)
debian/patches/install-stage2-confusion.patch (+2/-2)
debian/patches/maybe-quiet.patch (+50/-15)
debian/patches/mkconfig-loopback.patch (+4/-4)
debian/patches/mkconfig-mid-upgrade.patch (+2/-2)
debian/patches/mkconfig-nonexistent-loopback.patch (+3/-3)
debian/patches/mkconfig-other-inits.patch (+5/-5)
debian/patches/mkconfig-recovery-title.patch (+45/-10)
debian/patches/mkconfig-signed-kernel.patch (+48/-8)
debian/patches/mkconfig-ubuntu-distributor.patch (+25/-4)
debian/patches/mkconfig-ubuntu-recovery.patch (+58/-10)
debian/patches/mkrescue-efi-modules.patch (+2/-2)
debian/patches/net-read-bracketed-ipv6-addr.patch (+5/-5)
debian/patches/no-devicetree-if-secure-boot.patch (+3/-3)
debian/patches/no-insmod-on-sb.patch (+4/-4)
debian/patches/olpc-prefix-hack.patch (+1/-1)
debian/patches/ppc64el-disable-vsx.patch (+2/-2)
debian/patches/probe-fusionio.patch (+3/-3)
debian/patches/quick-boot-lvm.patch (+2/-2)
debian/patches/quick-boot.patch (+34/-10)
debian/patches/restore-mkdevicemap.patch (+7/-7)
debian/patches/series (+58/-5)
debian/patches/skip-grub_cmd_set_date.patch (+2/-2)
debian/patches/sleep-shift.patch (+3/-3)
debian/patches/ubuntu-add-devicetree-command-support.patch (+52/-0)
debian/patches/ubuntu-add-initrd-less-boot-fallback.patch (+213/-0)
debian/patches/ubuntu-add-initrd-less-boot-messages.patch (+56/-0)
debian/patches/ubuntu-boot-from-multipath-dependent-symlink.patch (+69/-0)
debian/patches/ubuntu-dejavu-font-path.patch (+25/-0)
debian/patches/ubuntu-dont-verify-loopback-images.patch (+37/-0)
debian/patches/ubuntu-efi-allow-loopmount-chainload.patch (+127/-0)
debian/patches/ubuntu-efi-console-set-text-mode-as-needed.patch (+197/-0)
debian/patches/ubuntu-fix-lzma-decompressor-objcopy.patch (+30/-0)
debian/patches/ubuntu-flavour-order.patch (+61/-0)
debian/patches/ubuntu-grub-install-extra-removable.patch (+64/-38)
debian/patches/ubuntu-install-signed.patch (+33/-30)
debian/patches/ubuntu-linuxefi-arm64.patch (+185/-0)
debian/patches/ubuntu-linuxefi.patch (+2795/-0)
debian/patches/ubuntu-mkconfig-leave-breadcrumbs.patch (+29/-0)
debian/patches/ubuntu-recovery-dis_ucode_ldr.patch (+84/-0)
debian/patches/ubuntu-resilient-boot-boot-order.patch (+231/-0)
debian/patches/ubuntu-resilient-boot-ignore-alternative-esps.patch (+208/-0)
debian/patches/ubuntu-shorter-version-info.patch (+41/-0)
debian/patches/ubuntu-skip-disk-by-id-lvm-pvm-uuid-entries.patch (+59/-0)
debian/patches/ubuntu-speed-zsys-history.patch (+158/-0)
debian/patches/ubuntu-support-initrd-less-boot.patch (+107/-0)
debian/patches/ubuntu-temp-keep-auto-nvram.patch (+39/-0)
debian/patches/ubuntu-tpm-unknown-error-non-fatal.patch (+56/-0)
debian/patches/ubuntu-zfs-enhance-support.patch (+1031/-0)
debian/patches/uefi-firmware-setup.patch (+4/-4)
debian/patches/uefi-secure-boot-cryptomount.patch (+3/-3)
debian/patches/vsnprintf-upper-case-hex.patch (+2/-2)
debian/patches/vt-handoff.patch (+70/-9)
debian/patches/wubi-no-windows.patch (+2/-2)
debian/patches/zpool-full-device-name.patch (+2/-2)
debian/po/ar.po (+99/-18)
debian/po/ast.po (+107/-18)
debian/po/be.po (+118/-18)
debian/po/bg.po (+119/-18)
debian/po/ca.po (+120/-18)
debian/po/cs.po (+118/-18)
debian/po/cy.po (+109/-18)
debian/po/da.po (+119/-18)
debian/po/de.po (+122/-18)
debian/po/dz.po (+107/-18)
debian/po/el.po (+120/-18)
debian/po/eo.po (+118/-18)
debian/po/es.po (+119/-18)
debian/po/eu.po (+118/-18)
debian/po/fa.po (+108/-18)
debian/po/fi.po (+118/-18)
debian/po/fr.po (+120/-18)
debian/po/gl.po (+108/-18)
debian/po/gu.po (+106/-18)
debian/po/he.po (+117/-18)
debian/po/hr.po (+118/-18)
debian/po/hu.po (+109/-18)
debian/po/id.po (+107/-18)
debian/po/is.po (+119/-18)
debian/po/it.po (+120/-18)
debian/po/ja.po (+119/-18)
debian/po/ka.po (+87/-18)
debian/po/kk.po (+119/-18)
debian/po/km.po (+106/-18)
debian/po/ko.po (+118/-18)
debian/po/lt.po (+118/-18)
debian/po/lv.po (+118/-18)
debian/po/mr.po (+117/-18)
debian/po/nb.po (+119/-18)
debian/po/nl.po (+120/-18)
debian/po/pl.po (+120/-18)
debian/po/pt.po (+120/-18)
debian/po/pt_BR.po (+120/-18)
debian/po/ro.po (+119/-18)
debian/po/ru.po (+118/-18)
debian/po/si.po (+106/-18)
debian/po/sk.po (+107/-18)
debian/po/sl.po (+118/-18)
debian/po/sq.po (+105/-18)
debian/po/sr.po (+107/-18)
debian/po/sr@latin.po (+107/-18)
debian/po/sv.po (+119/-18)
debian/po/ta.po (+106/-18)
debian/po/templates.pot (+87/-18)
debian/po/th.po (+117/-18)
debian/po/tr.po (+118/-18)
debian/po/ug.po (+119/-18)
debian/po/uk.po (+118/-18)
debian/po/vi.po (+119/-18)
debian/po/zh_CN.po (+105/-18)
debian/po/zh_TW.po (+116/-18)
debian/postinst.in (+80/-14)
debian/rules (+21/-6)
debian/signing-template.json.in (+0/-1)
debian/templates.in (+78/-8)
dev/null (+0/-550)
docs/grub.info (+13/-0)
docs/grub.texi (+88/-0)
grub-core/Makefile.am (+1/-0)
grub-core/Makefile.core.def (+24/-2)
grub-core/bus/usb/usbhub.c (+4/-4)
grub-core/commands/efi/lsefisystab.c (+4/-1)
grub-core/commands/efi/smbios.c (+61/-0)
grub-core/commands/efi/tpm.c (+8/-4)
grub-core/commands/i386/pc/smbios.c (+52/-0)
grub-core/commands/iorw.c (+7/-0)
grub-core/commands/legacycfg.c (+27/-8)
grub-core/commands/memrw.c (+7/-0)
grub-core/commands/menuentry.c (+1/-1)
grub-core/commands/nativedisk.c (+1/-1)
grub-core/commands/parttool.c (+9/-3)
grub-core/commands/regexp.c (+1/-1)
grub-core/commands/search_wrap.c (+1/-1)
grub-core/commands/smbios.c (+398/-0)
grub-core/commands/wildcard.c (+31/-5)
grub-core/disk/diskfilter.c (+2/-2)
grub-core/disk/ieee1275/ofdisk.c (+1/-1)
grub-core/disk/ldm.c (+30/-16)
grub-core/disk/loopback.c (+3/-9)
grub-core/disk/luks.c (+1/-1)
grub-core/disk/lvm.c (+35/-12)
grub-core/disk/xen/xendisk.c (+1/-1)
grub-core/efiemu/i386/pc/cfgtables.c (+4/-11)
grub-core/efiemu/loadcore.c (+1/-1)
grub-core/efiemu/mm.c (+3/-3)
grub-core/font/font.c (+13/-3)
grub-core/fs/affs.c (+3/-3)
grub-core/fs/btrfs.c (+22/-12)
grub-core/fs/ext2.c (+9/-1)
grub-core/fs/hfs.c (+1/-1)
grub-core/fs/hfsplus.c (+11/-6)
grub-core/fs/iso9660.c (+55/-18)
grub-core/fs/ntfs.c (+2/-2)
grub-core/fs/sfs.c (+23/-6)
grub-core/fs/squash4.c (+34/-11)
grub-core/fs/tar.c (+1/-1)
grub-core/fs/udf.c (+29/-16)
grub-core/fs/xfs.c (+7/-4)
grub-core/fs/zfs/zfs.c (+17/-9)
grub-core/fs/zfs/zfscrypt.c (+6/-1)
grub-core/gfxmenu/gui_image.c (+4/-1)
grub-core/gfxmenu/gui_string_util.c (+1/-1)
grub-core/gfxmenu/widget-box.c (+2/-2)
grub-core/io/gzio.c (+1/-1)
grub-core/kern/arm/coreboot/coreboot.S (+6/-0)
grub-core/kern/arm/efi/init.c (+3/-0)
grub-core/kern/arm64/efi/init.c (+3/-0)
grub-core/kern/dl.c (+1/-0)
grub-core/kern/efi/efi.c (+62/-42)
grub-core/kern/efi/init.c (+0/-1)
grub-core/kern/efi/sb.c (+66/-0)
grub-core/kern/emu/hostdisk.c (+1/-1)
grub-core/kern/emu/misc.c (+12/-0)
grub-core/kern/emu/mm.c (+10/-0)
grub-core/kern/fs.c (+1/-1)
grub-core/kern/i386/efi/init.c (+7/-2)
grub-core/kern/ia64/efi/init.c (+7/-2)
grub-core/kern/misc.c (+1/-1)
grub-core/kern/mm.c (+40/-0)
grub-core/kern/parser.c (+1/-1)
grub-core/kern/riscv/efi/init.c (+3/-0)
grub-core/kern/uboot/uboot.c (+1/-1)
grub-core/lib/LzmaEnc.c (+8/-2)
grub-core/lib/arg.c (+18/-2)
grub-core/lib/efi/halt.c (+2/-1)
grub-core/lib/i386/relocator.c (+11/-17)
grub-core/lib/libgcrypt/cipher/ac.c (+4/-4)
grub-core/lib/libgcrypt/cipher/primegen.c (+2/-2)
grub-core/lib/libgcrypt/cipher/pubkey.c (+2/-2)
grub-core/lib/libgcrypt_wrap/mem.c (+9/-2)
grub-core/lib/mips/relocator.c (+2/-4)
grub-core/lib/posix_wrap/stdlib.h (+7/-1)
grub-core/lib/powerpc/relocator.c (+2/-4)
grub-core/lib/priority_queue.c (+1/-1)
grub-core/lib/reed_solomon.c (+3/-4)
grub-core/lib/relocator.c (+7/-7)
grub-core/lib/x86_64/efi/relocator.c (+3/-4)
grub-core/lib/zstd/fse_decompress.c (+1/-1)
grub-core/loader/arm/linux.c (+1/-1)
grub-core/loader/arm64/linux.c (+77/-50)
grub-core/loader/efi/appleloader.c (+7/-0)
grub-core/loader/efi/chainloader.c (+796/-78)
grub-core/loader/efi/fdt.c (+1/-0)
grub-core/loader/efi/linux.c (+87/-0)
grub-core/loader/i386/bsd.c (+14/-1)
grub-core/loader/i386/bsdXX.c (+1/-1)
grub-core/loader/i386/efi/linux.c (+154/-150)
grub-core/loader/i386/linux.c (+59/-39)
grub-core/loader/i386/multiboot_mbi.c (+3/-4)
grub-core/loader/i386/pc/linux.c (+37/-18)
grub-core/loader/i386/xen.c (+10/-2)
grub-core/loader/i386/xnu.c (+7/-6)
grub-core/loader/linux.c (+56/-22)
grub-core/loader/macho.c (+1/-1)
grub-core/loader/mips/linux.c (+3/-6)
grub-core/loader/multiboot.c (+8/-1)
grub-core/loader/multiboot_elfxx.c (+6/-6)
grub-core/loader/multiboot_mbi2.c (+5/-5)
grub-core/loader/xnu.c (+15/-5)
grub-core/loader/xnu_resume.c (+1/-1)
grub-core/mmap/mmap.c (+2/-2)
grub-core/net/bootp.c (+1/-1)
grub-core/net/dns.c (+13/-6)
grub-core/net/net.c (+2/-2)
grub-core/net/tftp.c (+53/-118)
grub-core/normal/charset.c (+13/-7)
grub-core/normal/cmdline.c (+19/-9)
grub-core/normal/main.c (+4/-1)
grub-core/normal/menu_entry.c (+18/-9)
grub-core/normal/menu_text.c (+2/-2)
grub-core/normal/term.c (+2/-2)
grub-core/osdep/basic/no_platform.c (+1/-1)
grub-core/osdep/linux/getroot.c (+3/-3)
grub-core/osdep/unix/config.c (+1/-1)
grub-core/osdep/unix/efivar.c (+167/-11)
grub-core/osdep/unix/platform.c (+3/-3)
grub-core/osdep/windows/getroot.c (+1/-1)
grub-core/osdep/windows/hostdisk.c (+2/-2)
grub-core/osdep/windows/init.c (+1/-1)
grub-core/osdep/windows/platform.c (+3/-3)
grub-core/osdep/windows/relpath.c (+1/-1)
grub-core/partmap/gpt.c (+1/-1)
grub-core/partmap/msdos.c (+1/-1)
grub-core/script/argv.c (+14/-2)
grub-core/script/execute.c (+3/-1)
grub-core/script/function.c (+13/-3)
grub-core/script/lexer.c (+18/-3)
grub-core/script/parser.y (+2/-1)
grub-core/script/yylex.l (+2/-2)
grub-core/term/efi/console.c (+45/-23)
grub-core/tests/fake_input.c (+1/-1)
grub-core/tests/video_checksum.c (+3/-3)
grub-core/video/bitmap.c (+16/-9)
grub-core/video/capture.c (+1/-1)
grub-core/video/emu/sdl.c (+1/-1)
grub-core/video/i386/pc/vga.c (+1/-1)
grub-core/video/readers/png.c (+12/-3)
grub-initrd-fallback.service (+12/-0)
include/grub/arm64/linux.h (+2/-0)
include/grub/compiler.h (+8/-0)
include/grub/efi/api.h (+14/-5)
include/grub/efi/efi.h (+0/-1)
include/grub/efi/linux.h (+31/-0)
include/grub/efi/pe32.h (+47/-5)
include/grub/efi/sb.h (+29/-0)
include/grub/emu/misc.h (+1/-0)
include/grub/i386/linux.h (+6/-1)
include/grub/ia64/linux.h (+0/-0)
include/grub/loader.h (+1/-0)
include/grub/loopback.h (+30/-0)
include/grub/mips/linux.h (+0/-0)
include/grub/mm.h (+6/-0)
include/grub/powerpc/linux.h (+0/-0)
include/grub/relocator.h (+29/-0)
include/grub/safemath.h (+37/-0)
include/grub/script_sh.h (+1/-4)
include/grub/smbios.h (+69/-0)
include/grub/sparc64/linux.h (+0/-0)
include/grub/unicode.h (+2/-2)
include/grub/util/install.h (+8/-9)
util/deviceiter.c (+3/-0)
util/getroot.c (+1/-1)
util/grub-file.c (+1/-1)
util/grub-fstest.c (+2/-2)
util/grub-install-common.c (+91/-16)
util/grub-install.c (+90/-109)
util/grub-mkconfig.in (+6/-1)
util/grub-mkconfig_lib.in (+15/-0)
util/grub-mkimagexx.c (+2/-4)
util/grub-mkrescue.c (+2/-2)
util/grub-mkstandalone.c (+1/-1)
util/grub-pe2elf.c (+5/-7)
util/grub-probe.c (+2/-2)
util/grub.d/00_header.in (+27/-0)
util/grub.d/10_linux.in (+133/-13)
util/grub.d/10_linux_zfs.in (+1117/-0)
util/grub.d/30_uefi-firmware.in (+2/-2)
description: | updated |
description: | updated |
Changed in grub2 (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.3 |
description: | updated |
description: | updated |
┌───── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─┐ ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─┘
│*Ubuntu │
│ Advanced options for Ubuntu │
│ Ubuntu 20.10 (20.10) (on /dev/sda1) │
│ Advanced options for Ubuntu 20.10 (20.10) (on /dev/sda1) │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└─────
Use the ↑ and ↓ keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
The highlighted entry will be executed automatically in 0s.
GRUB_FORCE_PARTUUID set, attempting initrdless boot. lcy01-amd64- 016) (gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU) /boot/vmlinuz- 5.8.0-1008- kvm root=PARTUUID= f6bea054- a6e1-4734- 91e2-eb6425be90 5b1 000-0x000000000 009fbff] usable c00-0x000000000 009ffff] reserved 000-0x000000000 00fffff] reserved 000-0x000000007 ffdffff] usable
Linux version 5.8.0-1008-kvm (buildd@
Command line: BOOT_IMAGE=
x86/fpu: x87 FPU will use FXSAVE
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000
BIOS-e820: [mem 0x000000000009f
BIOS-e820: [mem 0x00000000000f0
BIOS-e820: [mem 0x0000000000100
So it is not obvious if grub output will be visible in the console log, because GRUB_TERMINAL= console might not be set.
Also, previously the first message from the boot was from kernel. But my patch introduced 'GRUB_FORCE_ PARTUUID' option.
Also, somehow on the minimal cloud image 'Ubuntu 20.10' was detected on /dev/sda1 - aka the only Ubuntu that there is..... and somehow I'm getting 10s grub menu prompt.
It almost feels like maybe kernel should be emitting dmesg message that it performing initrdless boot. rather that just:
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
Run /sbin/init as init process